RD-KT247 thermal printers
45 / 61
[Default]
n=48
[Example]
unsigned char str[4];
str[0] = 0x1D;
str[1] = 0x68;
str[2] = 30;
SendDataToPrinter(str,3);//Set the bar code height to 30 vertical dot pitch
GS w n
[Name]
Select bar code width
[Type]
ASCII:
GS w
n
Decimal:
29 119
n
Hex:
1D 77
n
[Scope]
1≤ n ≤ 4
[Explanation]
Set the horizontal width of the bar code.
And n specifies the bar code width as follows:
n
Module width for
multi-level bar
code
(
mm
)
Binary-level bar code
Thin element width
(
mm
)
Thick element width
(
mm
)
1
0.125
0.125
0.25
2
0.25
0.25
0.50
3
0.375
0.375
0.75
4
0.50
0.50
1.0
[Example]
unsigned char str[4];
str[0] = 0x1D;
str[1] = 0x77;
str[2] = 3;
SendDataToPrinter(str,3);//Set the bar code width
GS H n
[Name]
Select the printing position for bar code character
[Type]
ASCII:
GS H
n