IBM￿

Commands￿

 

 

￿

 

 

 

Notes

 

 

Function

(ASCII, Decimal, Hexadecimal)

 

 

 

 

 

 

 

 

 

 

 

 

￿

￿

Pc: specifies the control information.￿

 

 

￿

 

 

￿

￿

 

Pc￿

Description￿

 

 

 

￿

￿

 

bit0￿sets the check digit.￿

 

 

 

 

￿

￿

 

￿ 0: does not add check digit.￿

 

 

 

￿

￿

 

￿ 1: add check digit.￿

￿

 

 

￿

￿

 

bit1￿sets the human-readable character.

 

 

 

￿

￿

 

￿ 0: performs print.￿

 

 

 

￿

￿

 

￿ 1: does not perform print.￿

 

 

 

￿

￿

 

bit2￿(reserved)￿

 

 

 

 

￿

￿

 

bit3￿(reserved)￿

 

 

 

 

￿

￿

 

bit4￿(reserved)￿

 

 

 

 

￿

￿

 

bit5￿(reserved)￿

 

 

 

 

￿

￿

 

bit6￿(reserved)￿

 

 

 

 

￿

￿

 

bit7￿(reserved)￿

 

 

 

 

￿

￿

 

￿

 

 

 

Print Barcode￿

ASCII: ESC [ f Ln Hn DATA￿

Prints the barcode.￿

 

 

￿

16-digit: 1B 5B 70 Ln Hn DATA ￿

Ln Hn: indicates the byte number (=

 

 

￿

10-digit: 27 91 112 Ln Hn DATA￿

Ln+Hn x 256) of the parameter located

 

 

￿

￿

after Ln Hn ￿

 

 

￿

￿

DATA: Barcode data￿

 

 

￿

￿

￿

 

 

Print Features￿

￿

￿

 

 

￿

￿

￿

 

 

Select LQ Typeface￿

ASCII: ESC k n￿

OKI unique command. Selects typeface

 

 

￿

Dec: 27 107 n￿

according to value of n:￿

 

 

￿

Hex: 1B 6B 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￿

 

 

￿

￿

￿

 

 

Select Font￿

ASCII: ESC [I j h Hfid Lfid Hfwd Lfwd fa

Sets the font typeface, character width

 

 

￿

Nul Hc Lc￿

and spacing attributes.￿

 

 

 

Dec: 27 91 73 j h Hfid Lfid Hfwd Lfwd fa

j, h: set number of parameters to follow,

 

 

 

Nul Hc Lc￿

calculated as j + (h x 256) bytes￿

 

 

 

Hex: 1B 5B 49 j h Hfid Lfid Hfwd Lfwd fa

j, h=0 or1: command invalid￿

 

 

 

Nul Hc Lc￿

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ML790/791 Printer Handbook

109