Microcom 814M Programming Manual User Manual

Page 62

Advertising
background image

58

[Notes]

When the LSB of n = 0, the ASB function is disabled.

When the LSB of n = 1, the ASB function is enabled.

Only the LSB of n is valid.

ƒ

If the ASB function is enabled, the printer automatically transmits a four byte data

status. After this, a four byte data status is returned automatically when the printer

status changes.

ƒ

Transmit data status only via serial and/or USB interface. If printer has serial and USB

interface, data is returned to the serial and USB interfaces at the same time.

ƒ

The four byte status is defined as follows.

First byte (printer information)

Bit

Off/On

Hex.

Status for ASB

0

0/1

00

Paper adequate/ Paper near end

1

0/1

02

Top cover closed / Top cover open

2

0/1

00/04

Paper adequate/ Paper end

3 0/1

00/08

Print head temperature normal/ Print head

overheated

4

0/1

00/10

Cutter normal/ Cutter error

5 0/1 00

Reserve

6 0/1 00

Reserve

7

0

00

Fixed to 0

Second byte (printer information)

Bit

Off/On

Hex.

Description

0

0/1

00/01

PRST without paper / PRST with paper

1

0/1

00/02

Normal/Paper jam on printing part

2

0/1

00/04

Normal/Paper jam on PRST

3 0/1 00/08

Normal/Black

mark

missing

4

0/1

00/10

Normal/Auto paper loading error

5

0/1

00/20

Buffer not full/buffer full

6 0/1 00/40

System

normal/error

7

0

00

Fixed to 0

Third byte (printer information)

Bit

Off/On

Hex.

Description

Possible error*

00000/10000 00/10

Printer idle status

Normal/Error

Top cover open,

Print head overheated, paper end/

near end

00001/10001 01/11

Printing status

Normal/ Error

Top cover open, Print head

overheated, paper end/ near

end ,Paper jam

00010/10010 02/12

Cutting paper status

Normal/ Error

Top cover open, Print head

overheated, paper end / near end ,

cutter error

Paper jam

00011/10011 03/13

PRST feeding paper

status Normal/ Error

Top cover open, Print head

overheated, paper end / near end ,

paper jam

0-4

00100/10100 04/14

PRST waiting status

Normal/Error

Top cover open, Print head

overheated, paper end / near end

Advertising