PRINT Command Format
ASCII DC4 DC4 ESC ( GS Odata... GS O
+
data
+
EM
HEX 14 14 1B 28 1D Odata... 1D O
+
data
+
19
DECIMAL 20 20 27 40 29 Odata... 29 O
+
data
+
25
Multiple bar codes may be printed using multiple field sets: GS Odata,GSO
data,... GS O
+
data
+
. Terminatethe command with EM after the last data field to
be printed.
Note: Bar code symbols will print over any descenders in the previous character
box, if any text is present.
O...O
+
Bytes Othrough O
+
are used to offset the bar code from the beginning of the
line, left margin, last printed position (without carriage return), or as an offset
between bar code symbols, in multiples of 1/72 inch. For example, use a hex
value of 03 (or decimal value of 3) to start the bar code 3/72 inches from the
left margin. If this same value is used for subsequent O
+
data sets, the result
will have 3/72 inch spacing between the bar codes. (See the examples on the
next page.)
Notes:
vWhen the last column in the line is reached, all additional data will
be truncated, without an error message.
vThe maximum offset that can be specified is 255/72 (3.5+) inches.
For larger offset, you must print blanks ahead of the barcode.
data...data
+
This portion of the command represents the actual bar code data. Toprint the
data in a human readable form, the HR byte in the SELECT command must
be set to the “print human readable” option as described under the SELECT
Command Format.
Each bar code type has rules for the data
+
field that specify valid contents and
characters that may be used as start (first) and stop (last) characters. See
“Valid Bar Code Data”on page 177 for valid characters.
AppendixC. Native 4247 Commands 175