NCR 5021 Printer Emulation Commands

If a paper jam has occurred, the print mechanism must be cleared. If more printable data than the print data buffer can accommodate is sent, the printer discards all data after the data buffer is filled.

This command is executed immediately, regardless of the state of the printer.

Hexadecimal

Decimal

ASCII

1B 5B 31

27 91 49

ESC [ 1

The printer sends the following in reply to the message: 1BH, 5BH, wwH, xxH, yyH, zzH, 70H

 

Value

Indicates

ww

30H

Offline

 

31H

Online

 

 

 

xx

30H

Idle

 

31H

Busy

 

32H

Jam

 

 

 

yy

30H

Buffer Empty

 

31H

Buffer Not Empty

 

 

 

zz30H Forms Compensation Assembly

31H Closed

Forms Compensation Assembly Open

Read Tallies

Returns printer tallies for hours on and lines printed. The tallies are not cleared by the Reset (1B 5B 30) command.

Hexadecimal

Decimal

ASCII

1B 5B 34

1B 5B 52

ESC [ 4

The printer sends the following in reply to the message: 1BH, 5BH, xxH, xxH, xxH, xxH, xxH, xxH, xxH, xxH, 2CH, 30H, 30H, 30H, 30H, 2CH, 30H, 30H, 30H, 30H, 70H.

The value of xxxxxxxx is the count of lines printed (in unpacked ASCII).

8–14

3255 4073–002

Page 202
Image 202
Unisys EFP9800 manual Read Tallies, 1B 5B ESC