Read tallies –14 – Unisys E-@CTION EFP9800 User Manual

Page 202

Advertising
background image

NCR 5021 Printer Emulation Commands

8–14

3255

4073–002

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,
yy

H, zzH, 70H

Value

Indicates

ww 30H

31H

Offline
Online

xx

30H
31H
32H

Idle
Busy
Jam

yy

30H
31H

Buffer Empty
Buffer Not Empty

zz

30H
31H

Forms Compensation Assembly
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,
xx

H, 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).

Advertising