NCR 5021 Printer Emulation Commands

Reset Character RAM

Reinitializes the character memory. The original dot patterns are copied from ROM into RAM, eliminating any changes made by the user.

This command is processed only when the printer is offline.

Hexadecimal

Decimal

ASCII

1B 5B 70

27 91 112

ESC [ p

Read Slip Sensor

Returns the state of the slip sensor in the forms compensation assembly of the printer.

This command is processed only when the printer is online.

Hexadecimal

Decimal

ASCII

 

1B 5B 77 01 11

27 91 119 01 17

ESC [ w 01 11

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

x = slip sensor status

30H

Form Present

31H

Form Not Present

 

 

32H

Forms Compensation

 

Assembly Closed

Open Forms Compensation Assembly

Opens the forms compensation assembly. This command is ignored when:

The printer is printing.

The printer holds a partially formed line.

The printer is processing data.

A paper jam has occurred.

The printer does not accept print data when the forms compensation assembly is open. Only commands are accepted and processed when the forms compensation assembly is open.

8–6

3255 4073–002

Page 194
Image 194
Unisys EFP9800 NCR 5021 Printer Emulation Commands Reset Character RAM, Read Slip Sensor, Open Forms Compensation Assembly