CITIZEN 41
(30) Bar Code Printing (GS k n Dn NUL)
Code : [1D]h + [6B]h + n + Dn + [00]h
* {0 ≤ n ≤ 7} Data are described in Hex code.
Specifying a type of bar code and printing bar codes.
l The beginning of line is considered as the next printing start position.
l Depending on the value of n, the following bar code can be selected.
l Dn indicates a character code to be printed.
n (Hex) Bar Code System Maximum Columns
0 UPC-A ---
1 UPC-E ---
2 JAN13 (EAN) ---
3 JAN 8 (EAN) ---
4 CODE 39 14
5 ITF 24
6 CODABAR (NW-7) 18
7 CODE 128 15
l When data being held in the print buffer, this command is ignored.
l Regardless of the specified feed pitch, this command feeds the paper to be required to print
a bar code.
l When the character code Dn cannot be printed, the data following after this is printed as ordinary
print data.
l When a bar code whose number of characters to be printed is fixed has been selected,
the number of characters have to be always made equal to the number of characters to be printed.
l When the horizontal direction exceeds one line length, the excess part is not printed.
(31) Selecting Bar Code width (GS w n)
Code : [1d]H + [77]H + N
* {2 ≤ n ≤ 4} Data is described in Hex code.
Selecting bar code width.
l The initial value of this width is "3".
(32) Selecting Bar Code Height (GS h n)
Code : [1d]H + [68]H + N
* {1 ≤ n ≤ FF} Data is described in Hex code.
Selecting bar code height.
l "n" indicates the number of dots in vertical direction.
l The initial value of n is "162".
(33) Selecting Printing Position of HRI Characters (GS H n)
Code : [1d]H + [48]H + N
* {0 ≤ n ≤ 3} Data is described in Hex code.
Selecting printing position of HRI characters in printing bar codes.
l "n" means the followings.
n (Hex) Printing Position
0 No printing
1 Above the bar code
2 Below the bar code
3 Both above and below the bar code
l The initial value of n is "0".