IBM￿

Commands￿

 

 

 

￿

 

 

Notes

 

 

 

 

 

 

Function

(ASCII, Decimal, Hexadecimal)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

￿

￿

 

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￿

 

￿

￿

 

￿

 

 

 

 

 

 

￿

￿

 

Hc Lc: Code page setting, ID=Hc x

 

￿

￿

 

256+Lc￿

 

 

 

 

 

 

￿

￿

 

￿

 

 

 

 

 

 

 

Code page ID (Hex)

Code page name￿

 

￿

￿

 

 

 

1B5￿￿

 

 

USA￿

 

 

￿

￿

 

 

 

 

 

352￿￿

 

 

Multilingual￿￿

 

 

￿

￿

 

 

 

 

 

35A￿￿

 

Multilingual 858￿

 

￿

￿

 

 

 

 

35C￿￿

 

Portugal￿

 

 

￿

￿

 

 

 

 

35F￿￿

 

 

Canada French￿

 

 

￿

￿

 

 

 

 

 

361￿￿

 

 

Norway￿

 

 

￿

￿

 

 

 

 

 

410￿￿

 

 

BRASCII￿

 

 

￿

￿

 

 

 

 

 

411￿￿

 

 

Abicomp￿

 

 

￿

￿

 

 

 

 

 

439￿￿

 

 

ISO 8859-15￿￿￿

 

￿

￿

 

 

 

 

 

￿

 

 

 

 

 

 

￿

￿

 

 

 

 

 

 

 

 

Specifies the Print Quality setting.￿

 

Select Print Quality ￿

ASCII: ESC [ d Ln Hn Pn￿

 

 

 

Ln Hn specifies the number of param-

 

￿

16-digit: 1B 5B 64 Ln Hn Pn￿

 

 

 

eter (Ln, Hn).￿

 

 

 

 

 

￿

10-digit: 27 91 100 Ln Hn Pn￿

 

 

 

 

 

 

￿

￿

 

Number of parameter= Ln+Hn x 256￿

 

 

Pn: Parameter Quality setting￿

 

￿

￿

 

 

 

￿

 

 

 

 

 

 

￿

￿

 

Pn￿

￿

 

 

 

 

 

￿

￿

 

00H ￿￿

 

invalid￿

 

 

￿

￿

 

01H-3FH

￿

HSD￿

 

 

￿

￿

 

40H-7FH

￿

Utility￿

 

 

￿

￿

 

80H-FEH

￿

LQ￿

 

 

￿

￿

 

FFH ￿

(depending on the menu settings)

￿

 

￿

￿

 

￿

 

 

 

 

 

 

Select font by pitch and

ASCII: ESC DLE F Pn0 m n1 n2 ￿

 

Sets the Multipoint (scalable font) mode.￿

 

point

Dec: 27 16 70 Pn0 m n1 n2 ￿

 

Printable font is selected by character

 

 

Hex: 1B 10 46 Pn0 m n1 n2

 

pitch and point.￿

 

 

 

 

 

 

 

 

Pn0=3: specifies the number of parame-

 

 

 

 

ters (in bytes) to follow￿

 

 

 

 

Character Pitch￿

 

 

 

 

 

 

 

 

m=0: unchanged￿

 

 

 

 

m=1: Proportional￿

 

 

 

 

m>5: m/360 inch￿

 

 

 

 

Point size=(n1 + [n2 x 256]) x 0.5 point￿

 

 

 

 

Point size can be selected between a

 

 

 

 

minimum of 8 point to a maximum of

 

 

 

 

64 point.￿

 

 

 

 

 

 

110

Appendix D: Printer Commands