2
Below the bar code
[Default]
n=0
[Example]
unsigned char str[4];
str[0] = 0x1D;
str[1] = 0x48;
str[2] = 2;
SendDataToPrinter(str,3);// The HRI is printed below the bar code
GS Q n
[Name]
Set the printing position of the bar code on the horizontal direction
[Type]
ASCII:
GS Q
n
Decimal:
29 81
n
Hex:
1D 51
n
[Scope]
0≤ n ≤ 255
[Explanation]
Set the distance from the beginning of one line to the position of printing bar code
to N horizontal dot pitch.
[Default]
n=0
[Example]
unsigned char str[4];
str[0] = 0x1D;
str[1] = 0x51;
str[2] = 32;
SendDataToPrinter(str,3);//
GS k
[Name]
Print bar code
[Type]
ASCII:
① GS k m d1...dk NUL ② GS k m n d1... dn
Decimal:
29 107 m d1...dk 0 29 107 m n d1... dn
Hex:
1D 6B m d1...dk 00 1D 6B m n d1... dn
[Scope]
① 0 ≤ m ≤ 6 ② 65 ≤ m ≤ 73
The range of k and d are determined by the type of bar code used.
The range of n and d are determined by the type of bar code used.
The n is the data length of the bar code to be printed.
[Explanation]
Select a bar code system and print the bar code.
Use m to select a bar code system as follows:
m
Bar code system
length
scope
Forma
t1
0
UPC-A
11 k 12
48 d 57
1
UPC-E
K
48 d 57
2
JAN13 (EAN13)
12 k 13
48 d 57
3
JAN 8 (EAN8)
7 k 8
48 d 57
4
CODE39
1 k
48 d 57, 65 d 90, 32, 36, 37,
43, 45, 46, 47
5
ITF
1 k (even number)
48 d 57
6
CODABAR
1 k
48 d 57, 65 d 68 , 36, 43, 45,
46, 47, 58
Содержание RD-FH8C7
Страница 41: ...B character set 1 and 2 C International standard ASCII ...
Страница 43: ......