Star Micronics CBM-820 This command sends the status of the paper sensor when it is executed

Models: CBM-820

1 132
Download 132 pages 45.64 Kb
Page 79
Image 79
This command sends the status of the paper sensor when it is executed.

ESC v

[Function]

Sends Paper Sensor Status

[Code]

ASCII

ESC

v

 

Hexadecimal

1B

76

 

Decimal

27

118

[Outline]

This command sends the status of the paper sensor when it is executed.

[Caution]

The following table describes 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 only 1 byte without confirming the DSR signal status.

If printing is under way, the printer will sends the then status after printing that line and feeding the paper (the status sending timing differs from ESC u and GS I).

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.

 

 

Bit

 

Description

 

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

 

 

 

 

 

 

 

 

[See Also]

DLE EOT,

GS a, 2.3 Paper Specifications and Print Area,

6. Interface

 

– 68 –

Page 79
Image 79
Star Micronics CBM-820 manual This command sends the status of the paper sensor when it is executed