IBM￿

Commands￿

￿

 

 

Notes

 

 

Function

(ASCII, Decimal, Hexadecimal)

 

 

 

 

 

 

 

 

 

ESC Y, and ESC Z commands. Ratio is

 

 

 

 

determined by value of variable n:

 

 

 

 

n=0 or 1: 5 horizontal/ 6 vertical

 

 

 

 

n=2: 1 horizontal/ 1 vertical

 

 

 

 

n=3: Command ignored

 

 

 

 

Invalid (trapped) in IBM AGM emula-

 

 

Graphics, 8 & 24-Pin

 

tion.

 

 

 

 

 

 

Mode

 

 

 

 

Graphics Select/ Print

ASCII: ESC * m l h [graphics data]

Selects 8-pin and 24-pin graphic modes

 

 

 

Dec: 27 42 m l h [graphics data]

and prints graphic data. Valid only for

 

 

 

Hex: 1B 2A m l h [graphics data]

IBM AGM.

 

 

 

 

m=0: Single density, 8-pin, 60 dpi

 

 

 

 

m=1: Double density, 8-pin, 120 dpi

 

 

 

 

m=2: Double speed, double density,

 

 

 

 

8-pin, quasi-120 dpi (dots can not be

 

 

 

 

printed directly adjacent to one another)

 

 

 

 

m=3: Quadruple density, 8-pin, quasi-

 

 

 

 

240 dpi (dots can not be printed directly

 

 

 

 

adjacent to one another)

 

 

 

 

m=4: CRT I, 8-pin, 80 dpi

 

 

 

 

m=6: CRT II, 8-pin, 90 dpi

 

 

 

 

m=32: Single density, 24-pin, 60 dpi

 

 

 

 

m=33: Double density, 24-pin, 120 dpi

 

 

 

 

m=38: CRT III, 24-pin, 90 dpi

 

 

 

 

m=39: Triple density, 24-pin, 180 dpi

 

 

 

 

m=40: Hex-density, 24-pin, quasi-360

 

 

 

 

dpi (dots can not be printed directly ad-

 

 

 

 

jacent to one another).

 

 

 

 

l, h=0 to 255: specifies amount of subse-

 

 

 

 

quent Bit Image bytes received,

 

 

 

 

calculated as l + (h x 256)

 

 

Graphics Select

ASCII: ESC [ g l h m [graphics data]

Selects graphics and prints

 

 

 

Dec: 27 91 103 l h m [graphics data]

m=0: Single density, 8-pin, 60 dpi

 

 

 

Hex: 1B 5B 67 l h m [graphics data]

[same as ESC * () ]

 

 

 

 

m=1: Double density, 8-pin, 120 dpi

 

 

 

 

[same as ESC * 1]

 

 

 

 

m=2: Double speed, double density, 8-p-

 

 

 

 

in, quasi-120 dpi [same as ESC * 2]

 

 

 

 

m=3: Quadruple density, 8-pin, quasi-

 

 

 

 

240 dpi [same as ESC * 3]

 

 

 

 

m=8: Single density, 24-pin, 60 dpi

 

 

 

 

[same as ESC * 32]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ML790/791 Printer Handbook

115