Tally Genicom Matrix Printer User Manual

Page 329

Advertising
background image

Enquiry for Status

ENQ

Data Structure

ASCII

ENQ

enquiry for status

hex.

05

dec.

5

Description

With this code it is possible to get a status byte from the printer:

Status byte:

Bit 0

1

= BUSY

Bit 1

1

= offline

Bit 2

0

= paper end

Bit 3

1

= always 1

Bit 4

1

= cover open

Bit 5

1

= buffer overflow

Bit 6

1

= parity or framing error

Bit 7

0

= always 0

This code concerns only serial data transfer with ENQ/STX protocol.

Miscellaneous

93

Advertising