Specifications
6-70
GS 'k' n {DATA} Print Bar Code
Code 1DH 6BH n {d1 d2•••dk}
0
n255
Function Selects a bar code system and prints a bar code.
n: Bar code system
n Function
0UPC-A
1UPC-E
2 JAN13(EAN)
3JAN8
4 CODE39
5 ITF
6 CODABAR
7 CODE128
Each bar code data is input as follows:
UPC-A :Input one of '0' to '9' 11 times, then input 00H.
UPC-E :Input one of '0' to '9' 11 times, then input 00H.
JAN13 :Input one of '0' to '9' 12 times, then input 00H.
JAN8 :Input one of '0' to '9' 7 times, then input 00H.
CODE39 :Input one of ' ' , '$', '%', '+', '-', '.', '/', '0' to '9', 'A' to 'Z' a given number of times,
then input 00H.
ITF :Input one of '0' to '9' a given even-number of times, then input 00H.
CODABAR :Input a start character 'A' to 'D', one of '0' to '9', '+', '.', '/', ':', '$', '-',
a given number of times, a stop character 'A' to 'D', then input 00H.
CODE128 :Input a start code as 103 to 105, and input arbitrary number as 0 to 102,
then input a stop code as 103 or larger.
If the line buffer contains data, it is printed, and then the bar code is printed.
Paper is fed at the bar code height (including the HRI character height when printing HRI
characters) regardless of the line feed set with ESC '2' and ESC '3' n.
If input data does not meet the code system, it is ignored and the subsequent data is accepted
as a character code. Therefore, no bar code is printed.
If the bar code length specified in input data exceeds the printable area, no bar code is printed.
The data is ignored.
Normal character printing settings, such as character decoration, are not reflected in barcode
printing.
Bar codes, including HRI characters, cannot be overwritten with ruled lines.
See the document for each bar code system for details on its specifications.