Real Time Printer Status Transmission

This command transmits one byte status of the printer in real time.

ION USB or RS232

ASCII

GS ENQ

Hexadecimal

1D 05

Decimal

29 5

Standard USB

ASCII

Since this command is used by Control transfer, the command strings are not defined.

Hexadecimal

05 05 (bRequest=0x05, wValue=0x05 0x00)

Decimal

05 05

Value of Byte

Bit

Status

Hex

Decimal

Function

0

Off
On

00
01

0
1

Receipt paper adequate

Receipt paper low

1

Off
On

00
02

0
2

Receipt paper adequate
Receipt paper low

2

Off
On

00
04

0
4

Both receipt and cassette doors closed
Receipt or cassette door open

3

Off
On

00
08

0
8

Not busy at the RS-232C interface.
Printer is busy at the RS-232C interface.

4

Off
On

00
1

0
16

One or both cash drawers open.
Both cash drawers closed.

5

Off
On

00
20

0
32

Paper present at both slip sensors
Paper not present at one or both slip sensors

6

Off
On

00
40

0
64

No error condition.
Error condition exists in the printer.

7

On

00

0

Fixed to on.

Example:   

MSComm1.Output = Chr$(&H1D) & Chr$(&H05)