zpl.tools
CommandsNetwork

^HV - Host Verification

Returns field data to host for verification purposes

^HV - Host Verification

Overview

The ^HV command returns data from specified fields to the host computer, with optional ASCII header text. Used to verify field content and retrieve variable data for validation or record-keeping purposes.

Syntax

^

Parameters

  • # = Field number (0-9999, default: 0)
  • c = Character count (0-256, or 0-3072 in newer firmware)
  • ASCII = Optional header text

Description

  • Retrieves field data back to host
  • Allows data verification
  • Includes optional header text
  • Field must have ^FN number assigned
  • Returns variable data for quality control

Examples

Verify Serial Number Field

^XA ^FO50,50^A0N,30,30^FN1^FDSERIAL123^FS ^ ^XZ

Returns field 1 with "SERIAL:" header.

Quality Control Verification

^

Returns first 20 characters of field 2.

Usage Notes

  • Can only verify numbered fields (must have ^FN)
  • Character count limit varies by firmware
  • Firmware v14.4.0+ supports extended ranges
  • Header text helps identify returned data
  • Useful for:
    • Quality assurance
    • Data validation
    • Record-keeping
    • Print verification
  • ^FN - Field Number
  • ^FD - Field Data
  • ~HS - Host Status Return

See Also