Epson A794-D100 manual Request Alternate Status parallel printers only

Models: A794-D100

1 140
Download 140 pages 28.11 Kb
Page 94
Image 94

Chapter 6: Programming Information

A794 Owner’s Guide

Request Alternate Status (parallel printers only)

This command allows the printer to inform the host when the data in the buffer has been processed. When this command is sent to the printer, the printer goes “Busy” until all data which has been sent to the printer has been processed. The PAPER EXHAUST line shows the status for the cash drawer or receipt paper as shown in the table.

Status information is limited to what can be sent by the dedicated lines: BUSY, ACK, PAPER EXHAUST, and FAULT.

ASCII

ESC u n

 

Hexadecimal 1B 75 n

 

Decimal

27 117 n

 

Value and Range of n

 

Value of n

Function

Description

00

Drawer 1

High = Open

 

 

Low = Closed or Not Present

01

Drawer 2

High = Open

 

 

Low = Closed or Not Present

02

Paper Low (Not Implemented.

High = Paper Out

 

Interpreted as Paper Out.)

Low = Paper Present

03

Paper Out (Default)

High = Paper Out

 

 

Low = Paper Present

>03

Ignored, No Change

Printer Does Not Stay BUSY1

1PAPER EXHAUST LINE is valid to indicate previously requested status.

Transmit Peripheral Device Status (RS-232C printers only)

Transmits current status of the cash drawers on one byte. If a drawer is not connected, the status will indicate it is closed.

ASCII

ESC u 0

Hexadecimal

1B 75 0

Decimal

27 117 0

Value of returned byte

Bit

1 Signifies

0 Signifies

0

Drawer 1 & 2 Closed

Drawer 1 or 2 Open

1

Drawer 1 & 2 Closed

Drawer 1 or 2 Open

Bits 2-7 are not used.

88

March 1999

Page 94
Image 94
Epson A794-D100 Request Alternate Status parallel printers only, Transmit Peripheral Device Status RS-232C printers only