ESC/POS Command Manual
48
The ESC a (Select justification) setting is also effective on raster bit image.
When this command is received during macro definition, the printer ends
macro definition, and begins performing this command. The definition of
the command should be cleared.
d indicates the bit-image data. Set time a bit to 1 prints a dot and setting
it to 0 does not print a dot.
GS w
n
[Name]
Set bar code width
[Format]
ASCII
GS w
n
Hex 1D 77
n
Decimal 29
119
n
[Range]
2
≤
n
≤
6
[Description]
Set the horizontal size of the bar code.
n
specifies the bar code width as follows:
Binary-level Bar Code
n
Module width
(mm) for Mult-
level Bar code
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
Multi-level bar codes are as follows:
UPC-A, UPC-E, JAN13 (EAN13), JAN8 (EAN8), CODE93, CODE128
Binary-level bar codes are as follows:
CODE39, ITF, CODABAR
[Default]
n
= 3
[Reference] GS k