Gs r n – Citizen Systems CBM-820 Benutzerhandbuch

Seite 89

Advertising
background image

– 74 –

GS r n

n = 1, 49 : Paper sensor status

[Function]

Sends Status

[Code]

ASCII

GS

r

n

Hexadecimal

1D

72

n

Decimal

29

114

n

[Range]

1

Ϲ

n

Ϲ 2, 49

Ϲ

n

Ϲ

50

[Outline]

This command sends the status, depending on setting of n.

[Caution]

• The following tables describe the status sent.
• If DTR/DSR control is selected and the memory switch 4-5 is set to 0, the printer sends only

1 byte after confirming that the host is ready to receive (the DSR signal status is Space).
If the host is not ready (the DSR signal status is Mark), the printer will wait until it will be
ready to receive. If XON/XOFF control is selected or the memory switch 4-5 is set to 1, the
printer will send 1 byte without confirming the DSR signal status.

• 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 ASB is enabled by GS a, it is necessary to distinguish the status by this command from that

of ASB. See “6. Interface” for how to distinguish them.

• If n goes beyond the range, this command will be ignored.

Bit

Status

Hexadecimal

Decimal

0

BOF sensor with paper

00

0

BOF sensor without paper

01

1

1

TOF sensor with paper

00

0

TOF sensor without paper

02

2

2

Undefined

3

Undefined

4

Unused

00

0

5

Undefined

6

Undefined

7

Unused 00

0

n

Description

1, 49

Sends the paper sensor status. (Same as ESC v)

2, 50

Sends the status of the drawer kick connector. (Same as ESC u 0)

Advertising