Gs a n – Citizen Systems CBM-820 Benutzerhandbuch

Seite 86

Advertising
background image

– 71 –

GS a n

[Function]

Enables/Disables Automatic Status Sending

[Code]

ASCII

GS

a

n

Hexadecimal

1D

61

n

Decimal

29

97

n

[Range]

0

Ϲ

n

Ϲ

255

[Outline]

This command selects which status should be the target of automatic status sending (ASB:
Automatic Status Back). Each bit has the following different meanings.

[Caution]

• If none of the status is selected, the ASB function will be invalid.
• If any one of the status is selected, the ASB function will be valid, and the printer will

automatically sends the 4-byte status every time the selected status changes.

• If ASB is valid when this command is handled, the current status will be sent unconditionally.
• See the tables on the following pages for the status to be sent.
• When sending the status, the printer sends 4 bytes without confirming the DSR signal status.

The 4-byte status to be sent must be always successive except the XOFF code.

• Since this command is executed at deployment of the reception buffer, there may be a delay

between command reception and status sending, depending on the reception buffer
condition.

• If Printer Disabled is selected by ESC = (Selects Peripheral Device), this command will be

invalid, but ASB will be always valid.

• When using DLE EOT, ESC u, ESC v, or GS I, it is necessary to distinguish the status of this

command and ASB from that by the respective commands. See “6. Interface” for how to
distinguish them.

Bit

ASB Target Status

Hexadecimal

Decimal

0

Drawer kick connector No. 3 pin status disabled

00

0

Drawer kick connector No. 3 pin status enabled

01

1

1

On-line/off-line status disabled

00

0

On-line/off-line status enabled

02

2

2

Error status disabled

00

0

Error status enabled

04

4

3

Undefined

4

Undefined

5

Single sheet sensor status disabled

00

0

Single sheet sensor status enabled

20

32

6

Undefined

7

Undefined

Advertising