5.9.2 C9 - PRINT BARCODE
This command is used to print barcode.
5.9.2.1 Command Format
-----------------------------------------------------------------------
BYTE BIT CONTENT
0-1
1B66 - Cmd Prefix
2
C9 - Print Barcode
3
Cmd. Extension
Reserved (always = ' 0 ' )
7
6
HRI font
1 = 12 CPI
0 = 15 CPI
5-4 HRI location
11 = Both above and below the barcode
10 = Below the barcode
01 = Above the barcode
00 = Not printed
3-0 Barcode Type
1111 = Reserved
1110 = Reserved
1101 = Reserved
1100 = Reserved
1011 = Reserved
1010 = Reserved
1001 = Reserved
1000 = CODE93
0111 = CODE128
0110 = CODABAR
0101 = ITF
0100 = CODE39
0011 = JAN8 (EAN-8)
0010 = JAN13 (EAN-13)
0001 = UPC_E
0000 = UPC_A
4-n
Barcode Data
-----------------------------------------------------------------------
Notes:
1. The Human Readable Characters font, if it must be printed
2. Printing Position of the Human Readable Characters
3. Data to be encoded in the barcode. The data must be null terminated and each barcode type has
it' s own rules.
5.9.2.2 Print Barcode Rules
In barcode types CODE39 and CODE93, if the width is ≥ 3, the barcode might not fit in the sheet. In
•
this case, it will be truncated.
•
The barcode will be printed in the station selected thru C8 cmd.
•
The barcodes can be printed:
− Inside Sale Period
— Inside of fiscal vouchers.
TYPE
LENGTH
hex
2
hex
1
hex
1
(Note 1)
(Note 2)
ASCII
n (Note 3)
Command Set Reference — Page 109 of 183