C O N F I D E N T I A L
Paper roll
Bar code commands GS k
Ver. 4.0
p. 1264
[Notes for
➀
]
■
This command ends with a
NUL
code.
■
k
is not transmission data to the printer.
■
When the bar code system used is UPC-A, UPC-E, JAN13 (EAN13), or JAN8 (EAN8) bar code
system (
m
= 0, 1, 2, 3), if the number of the bar code data is less than
k
, this command is
ignored.
■
When the bar code system used is UPC-A, UPC-E, JAN13 (EAN13), or JAN8 (EAN8) bar code
system (
m
= 0, 1, 2, 3), if the number of characters is more than
k
, the printer prints the bar
code data after receiving
k
-byte data and the excess data is processed as normal data.
■
For the bar code (CODE39 (
m
=4), the printer processes “
*
<ASCII code=42>” as follows:
•
When the first bar code (
d1
) is “
*
”, the printer processes the data as a start character. If
the first bar code (
d1
) is not “
*
”, the printer adds a start character (
*
) automatically.
•
When data (
dk
) just before NUL code is “
*
”, the printer processes “
*
” as a stop
character. If data just before NUL is not “
*
”, the printer adds a stop character (
*
)
automatically.
•
When “
*
” is processed during bar code data processing, the printer processes “
*
” as a
stop character. The printer prints data preceding “
*
” and finishes command processing.
Therefore, data following “
*
” are processed as normal data.
■
The number of data for ITF bar code system (
m
= 5) must be even numbers. When an odd
number of data is processed, the printer ignores the last received data.