PPTII-A Programming Manual
www.hprt.com
35
[Dscription]
m
:
bar code type
n
:
bar code length
m
Bar code system
Number of
characters
Remarks
0,65
UPC-A
11,12
48-57
1,66
UPC-E
11,12
48-57
2,67
EAN13
12,13
48-57
3,68
EAN8
7,8
48-57
4,69
CODE39
>1
32,36,37,43,45-57,65-90
5,70
I25
>1 even number
48-57
6,71
CODEBAR
>1
36,43,45-58,65-68
7,72
CODE93
>1
0-127
8,73
CODE128
>1
0-127
If there are illegal characters in the data, the printer will not print the bar code
The bar code width that exceeds the print area cannot be specified.
This command feeds as much paper as is required to print the bar code, regardless of
the line spacing specified by line space setting commands.
GS r n
[Name]
Transmit status
[Format]
ASCII
GS
r
n
Hex
1D
72
n
Decimal
29
114
n
[Range]
n = 1, 49
[Dscription]
• This command is only available on serial port printer.
• Since this command is executed after the data is processed in the receive
buffer, there may be a time lag between data reception and status tansmission.
• transmit 1 byte of status data specified by n as follows:
Paper sensor status
(
n = 1
,
49
):
bit
0/1
Hex
Decimal
Status
0
,
1
0
00
0
Paper roll sensor: paper end
1
03
3
Paper roll sensor: paper adequate
2
,
3
0
00
0
Paper roll end sensor: paper present
1
0c
12
Paper roll end sensor: paper bot
present
4
0
00
0
Not used. Fixed to Off.
5
,
6
Undefined.
7
0f
00
0
Not used. Fixed to Off.