GS W
n
Set bar code width.
S w n
n
n
Set the horizontal size of the bar code, using n as follows :
Multi-level bar codes are as follows :
- UPC-A, UPC-E, JAN13, HAN8, CODE93, CODE128
Binary-level bar codes are as follows :
-CODE39, ITF, CODABAR
ASCII G
Hex 1D 77
Decimal 29 119
2
n 6,n=3
[Name]
[Format]
[
]
Range
[Description]
[Notes]
n Multi-level Bar Code
Module Width (mm) Thin element width(mm) Thick element width (mm)
2 0.282 0.282 0.706
3 0.423 0.423 1.129
4 0.564 0.564 1.411
5 0.706 0.706 1.834
6 0.847 0.847 2.258
Binary-level Bar Code
USER'S MANUAL
USER'S MANUAL
GS r
n
Transmit status.
S r n
n
n
Transmits the normal status specified by n as follows :
ASCII G
Hex 1D 72
Decimal 29 114
n=1,2,49,50
[Name]
[Format]
[
]
Range
[Description]
For (2) :
m
67
68
73
Bar Code System
JAN13 (EAN13)
JAN 8 (EAN8)
CODE128
Range of k
12
k
13
7
k
8
2
k 255
Range of d
48
d
57
48
d
57
48
d 57, 65 d 90,
d=32, 36, 37, 43, 45, 46, 47
0
d
127
69
CODE39
1
k 255
[Notes]
User most consider the quiet zone of the bar code (left and right
spaces of the bar code)
n Function
1, 49 Transmits paper sensor status.
Paper sensor status (n=1, 49) :
- Bits 2 and 3 : This command cannot be executed since the printer becomes
offline when the paper roll end sensor detects the paper not present. Therefore, the
status of bit 2 (1) and bit 3 (1) is not transmitted.
Bit
0,1
2,3
4
5
6
7
Off/On
Off
Off
On
Off
Off
Off
Off
Hex
00
00
0C
00
00
00
00
Decimal
0
0
12
0
0
0
0
Paper roll near-end sensor : paper adequate.(Fixed)
Paper roll end sensor : paper present
Paper roll end sensor : paper not present
Fixed
Reserved
Reserved
Fixed
Function