Gs k n [ d ] k nul – Citizen Systems CBM-270 User Manual
Page 69
CBM-270 User’s Manual
GS k n [ d ] k NUL
[Function]
Printing the bar code
[Code]
<1D> H <6B> H
[Range]
0
≤
n
≤
7
[Outline]
Specifying a type of bar code and printing bar codes.
•
The beginning of line is considered as the next printing start position.
•
Depending on the value of n, the following bar code can be selected.
d indicates a character code to be printed and k indicates the number of character to be
printed.
n
Bar Code System
Maximum Columns
0
UPC-A
−
1
UPC-E
−
2
JAN13 (EAN)
−
3
JAN 8 (EAN)
−
4
CODE 39
13
5
ITF
22
6
CODABAR (NW-7)
17
7
CODE 128
16
[Caution]
•
When data being held in the print buffer, this command is ignored.
•
Regardless of the specified feed pitch, this command feeds the paper to be required to
print a bar code.
•
If the character code d cannot be printed in the respective bar code system, the bar code so
far will be printed, processing the subsequent data as normal data.
•
When a bar code whose number of characters to be printed is fixed has been selected, the
number of characters k have to be always made equal to the number of characters to be
printed. (The bar code is not printed when not matching.)
•
When the horizontal direction exceeds one line length, the excess part is not printed.
[Default]
•
The initial value is not specified.
[Description of Bar Codes]
UPC-A
This bar code, consisting of numerals only, has a fixed length of 12 columns; a 11-column
number entered from the host or application software plus a check column(12th column)
automatically calculated inside the printer. If the 12th-column numeral is sent from the host,
the entire bar code will be printed as it is.
UPC-E
This bar code, consisting of numerals only, has a fixed length of 8 columns; the first number
system character is "0" stationary. A 12-column numeral entered from the host or application
software is compressed to 8 columns with a check column and printed. The 12th-column
check column is automatically calculated inside the printer and sent from the host, the entire
bar code will be printed, compressed to 8 columns.
JAN-13(EAN) This bar code, consisting of numerals only, has a fixed length of 13 columns; a 12-column
number entered from the host or application software plus a check column(13th column)
automatically calculated inside the printer. If the 13th-column numeral is sent from the host,