Control Codes
Page 140 100-88002 Rev B
Function Set bar code width
ASCII [ESC] [EM] W <n>
Hexadecimal 1BH 19H 57H <n>
Decimal <27> <25> <87> <n>
IPCL &%BW <m>
EPOS [GS] w <n>
Description The [ESC] [EM] w <n> command sets the minimum bar width. The value
may be between 1 and 8. The default is 3.
Note: A value of 1 may result in barcodes that are unreadable with some
readers.
Function Set bar code justification, human readable interpretation (HRI) character
print mode, and print direction
ASCII [ESC] [EM] J <n>
Hexadecimal 1BH 19H 4AH <n>
Decimal <27> <25> <74> <n>
IPCL &%BJ <m1> <m2>
EPOS none
The power on default is center justified with HRI characters not printed.
Description The [ESC] [EM] J <n> command selects the operation of the bar code
justification, HRI characters, and print direction.
Where n bits n IPCL 76543210
------xx Justified
0 00 ------00 Left
1 01 ------01 Center
2 02 ------10 Right
--xx---- HRI characters
0 00 --00---- Not printed
16 16 --01---- Printed above the bar code
32 32 --10---- Printed below the bar code
48 48 --11---- Printed above and below the bar code
-x------ Vertical print mode. (Page mode may
work better)
0 00 -0------ Bar code printed in horizontal
direction (default)
64 64 -100---- Bar code printed in vertical direction
Note 1: The [ESC] [EM] J <n> command only affects bar code printing.
Note 2: HRI is not available in vertical print mode. You may print normal
barcodes in page mode, which will provide for HRI and significantly longer
barcodes.