IBM￿

 

Commands￿

￿

 

 

 

Notes

 

 

Function

 

(ASCII, Decimal, Hexadecimal)

 

 

 

 

 

 

 

Automatic Line Feed

ASCII: ESC 5

n=Odd: Line feed automatically added

 

 

Control

 

Dec: 27 53 n

to each CR (carriage return)

 

 

 

 

 

Hex: 1B 35 n

n=Even: auto line feed turned Off

 

 

n/

-inch Line Feed

ASCII: ESC % 4 n

OKI unique command. Prints data in

 

 

360

 

Dec: 27 37 52 n

buffer and executes a single n/ -inch

 

 

 

 

 

 

 

 

 

 

Hex: 1B 25 34 n

360

 

 

 

 

 

line feed without changing line spac-

 

 

 

 

 

 

ing.

 

 

 

 

 

 

n=1 to 255

 

 

 

 

 

 

n=0: no line feed

 

 

n/

-inch or n/ -inch

ASCII: ESC J n

In PPR emulation, prints data in buffer

 

 

216

180

Dec: 27 74 n

and executes a single n/ -inch line

 

 

Line Feed

 

 

 

 

 

 

Hex: 1B 4A n

216

 

 

 

 

 

feed: in AGM emulaiton, executes a sin-

 

 

 

 

 

 

gle n/ -inch line feed, both without

 

 

 

 

 

 

180

 

 

 

 

 

 

changing line spacing. Carriage Return

 

 

 

 

 

 

determined by menu setting.

 

 

 

 

 

 

n=1 to 255

 

 

 

 

 

 

n=0: no line feed

 

 

Form Feed

 

ASCII: FF

Prints data in buffer and advances pa-

 

 

 

 

 

Dec: 12

per to next top of form. With Cut Sheet

 

 

 

 

 

Hex: 0C

Feeder installed, will eject or insert pa-

 

 

 

 

 

 

per depending on status of feeder.

 

 

Vertical Tab

 

ASCII: VT

Print buffer data and move to next ver-

 

 

 

 

 

Dec: 11

tical tab stop.

 

 

 

 

 

Hex: 0B

 

 

 

Set Vertical Tab Stops

ASCII: ESC B n1 n2 ··· nk NUL

Sets vertical tab stops at specified lines.

 

 

 

 

 

Dec: 27 66 n1 n2 ··· nk 0

k=1 to 64: number of tabs

 

 

 

 

 

Hex: 1B 42 n1 n2 ··· nk 00

n=1 to 255: line number where tabs is to

 

 

 

 

 

 

be set

 

 

Set Form Length in

ASCII: ESC C NUL n

Sets page length in inches.

 

 

Inches

 

Dec: 27 67 0 n

n=1 to 255 inches

 

 

 

 

 

Hex: 1B 43 00 n

n=0: Command ignored

 

 

 

 

 

 

This command cancels Skip Over Per-

 

 

 

 

 

 

foration setting.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

104

Appendix D: Printer Commands