104 Appendix D: Priner Commands
Print Postnet Bar Code
Data
Print Features
Select LQ Typeface
Select Font
Select font by pitch and
point
ASCII: ESC DLE C n [data]
Dec: 27 16 67 n [data]
Hex: 1B 10 43 n [data]
ASCII: ESC k n
Dec: 27 107 n
Hex: 1B 6B n
ASCII: ESC [I j h Hfid Lfid Hfwd Lfwd fa
Dec: 27 91 73 j h Hfid Lfid Hfwd Lfwd fa
Hex: 1B 5B 49 j h Hfid Lfid Hfwd Lfwd fa
ASCII: ESC DLE F Pn0 m n1 n2
Dec: 27 16 70 Pn0 m n1 n2
Hex: 1B 10 46 Pn0 m n1 n2
IBM
Function Commands
(ASCII, Decimal, Hexadecimal)
OKI unique command.
n: designates amount of data to follow
n=1 to 20
Data consists of single-digit numbers.
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
Hfid, Lfid: sets font typeface, calculated
as (Hfid.Lfid=(Hfid x 256) + Lfid
Hfwd, Lfwd: Sets character width (cpi),
calculated as
Hfwd, Lfwd=(Hfwd x 256) + Lfwd
fa: sets spacing attribute;
n=2: prints Proportional;
n=any other value, cpi set by Hfwd,
Lfwd
Sets the Multipoint (scalable font) mode.
Printable font is selected by character
pitch and point.
Notes