Technical Manual PRINTER CHD6800
22 © Computer Hardware Design
2.34 GS k Print bar code (v1.1.0)
[FORMAT] (1) <1D>H<6B>H<m><d1>…<dk><00>H
(2) <1D>H<6B>H<m><n><d1>…<dk>
[RANGE] (1) m = 2, 12 ≦ k ≦ 13
m = 4, 1 ≦ k ≦ 27
(2) m = 43H
m = 45H
[FUNCTION] Selects a bar code system and prints the bar code.
(1)
[CAUTION] [In case of (1)]
* This command ends with a NUL code.
* When the bar code system is JAN13 (EAN13), the printer prints the bar code at the time it
receives 12 bytes (without check digit) and <00>H or 13 bytes bar code data and <00>H.
* When the bar code system is Code 39, the printer prints the bar code at the time it
receives 1 – 27 bytes of barcode data and <00>H.
* When the bar code system is JAN13 (EAN13) and less than 12 bytes are received,
barcode is not printed.
* If barcode data exceeds max k value, k+1 byte, which had to be <00>H is dropped and
following data is processed as normal data.
[In case of (2)]
* n is the number of bar code data and the printer processes n bytes from the next data as
bar code data.
* If n is out of the defined range, the printer stops processing command and processes the
following data as normal data.
* After printing a bar code, this command specifies the print position to the beginning of the
line.