IBM HL-5250DN Printer User Manual


 
A. Appendix
112
Quick reference for bar code control commands
The printer can print bar codes in the HP LaserJet, EPSON FX-850, and IBM Proprinter XL emulation modes.
Print bar codes or expanded characters
Format: ESC i n ... n \
Creates bar codes or expanded characters according to the segment of parameters ‘n ... n’. For more
information about parameters, see the following Definition of Parameters. This command must end with the
‘ \ ’ code (5CH).
Definition of Parameters
This bar code command can have the following parameters in the parameter segment (n ... n). As parameters
are effective within the single command syntax ESC i n ... n \, they do not apply in the bar code commands.
If certain parameters are not given, they take the preset settings. The last parameter must be the bar code
data start (‘b’ or ‘B’) or the expanded character data start (‘l’ or ‘L’). Other parameters can be given in any
sequence. Each parameter can start with a lower-case or upper-case character, for example, ‘t0’ or ‘T0’, ‘s3’
or ‘S3’ and so one.
Bar code mode
Code ESC i
Dec 27 105
Hex 1B 69
n = t0 or T0
CODE 39 (default)
n =
t1 or T1
Interleaved 2 of 5
n =
t3 or T3
FIM (US-Post Net)
n =
t4 or T4
Post Net (US-Post Net)
n =
t5 or T5
EAN 8, EAN 13, or UPC A
n =
t6 or T6
UPC E
n =
t9 or T9
Codabar
n =
t12 or T12
Code 128 set A
n =
t13 or T13
Code 128 set B
n =
t14 or T14
Code 128 set C
n =
t130 or T130
ISBN (EAN)
n =
t131 or T131
ISBN (UPC-E)
n =
t132 or T132
EAN 128 set A
n =
t133 or T133
EAN 128 set B
n =
t134 or T134
EAN 128 set C