ML790/791 Printer Handbook 109
Print Barcode
Print Features
Select LQ Typeface
Select Font
ASCII: ESC [ f Ln Hn DATA
16-digit: 1B 5B 70 Ln Hn DATA
10-digit: 27 91 112 Ln Hn DATA
ASCII: ESC k n
Dec: 27 107 n
Hex: 1B 6B n
ASCII: ESC [I j h H
fid
L
fid
H
fwd
L
fwd
fa
Nul Hc Lc
Dec: 27 91 73 j h H
fid
L
fid
H
fwd
L
fwd
fa
Nul Hc Lc
Hex: 1B 5B 49 j h H
fid
L
fid
H
fwd
L
fwd
fa
Nul Hc Lc
IBM
Function
Commands
(ASCII, Decimal, Hexadecimal)
Pc: specifies the control information.
Pc Description
bit0sets the check digit.
0: does not add check digit.
1: add check digit.
bit1sets the human-readable character.
0: performs print.
1: does not perform print.
bit2(reserved)
bit3(reserved)
bit4(reserved)
bit5(reserved)
bit6(reserved)
bit7(reserved)
Prints the barcode.
Ln Hn: indicates the byte number (=
Ln+Hn x 256) of the parameter located
after Ln Hn
DATA: Barcode data
OKI unique command. Selects typeface
according to value of n:
n=0: Roman
n=1: Swiss
n=2: Courier
n=3: Prestige
n=4: Script
n=5: OCR-B
n=6: OCR-A
n=7: Orator
n=8: Orator-S
n=122: Swiss Bold
n=124: Gothic
Sets the font typeface, character width
and spacing attributes.
j, h: set number of parameters to follow,
calculated as j + (h x 256) bytes
j, h=0 or1: command invalid
j, h=2, 3: fid setting valid, other modes
unchanged
j, h=4: fid, fwd settings valid; fa un-
changed
j, h=5: all settings valid
j, h=6 or more: all settings and parame-
ter data beyond 6 bytes will be ignored
Notes