Samsung SRP-500 User Manual

Page 23

Advertising
background image

37

DLE EOT n

[Name]

Real-time status transmission

[Format]

ASCII

DLE EOT n

Hex

10

04

n

Decimal 16

4

n

[Range]

1 ≤ n ≤ 4

[Description]

Transmits the selected printer status specified by n in real
time, according to the following parameters:
n = 1: Transmit printer status
n = 2: Transmit off-line status
n = 3: Transmit error status
n = 4: Transmit paper roll sensor status

[Notes]
• This command should not be used within the data sequence of another

command that consists of 2 or more bytes. For example, If you attempt to
transmit ESC 3 n to the printer, but DTR (DSR for the host computer) goes
to MARK before n is transmitted and then DLE EOT 3 interrupts before n
is received, the code <10>H for DLE EOT 3 is processed as the code for
ESC 3
<10>H.




38




n = 1 : Printer status

Bit

Off/On

Hex

Decimal

Function

0

Off

00

0

Not used. Fixed to Off.

1

On

02

2

Not used. Fixed to On.

Off

00

0

Drawer kick-out signal is LOW (connector pin 3)

2

On

04

4

Drawer kick-out signal is HIGH (connector pin 3)

Off 00 0 On-line.

3

On 08 8 Off-line.

4

On

10

16

Not used. Fixed to On.

5

Off

00

0

Not used. Fixed to Off.

6

Off

00

0

Not used. Fixed to Off.

7

Off

00

0

Not used. Fixed to Off.











n = 2 : Off-line status

Bit

Off/On

Hex

Decimal

Function

0

Off

00

0

Not used. Fixed to Off.

1

On

02

2

Not used. Fixed to On.

2

Off

00

0

Cover is closed (front & rear)

On

04

4

Cover is open (front or rear)

Off

00

0

Paper is not being fed by using the paper feed button.

3

On

08

8

Paper is being fed by the paper feed button.

4 On 10 16 Not

used.

Off

00

0

Fixed to On.

5

On

20

32

No paper-end stop.

Off

00

0

Printing stops due to paper end.

6

On

40

64

No error. Error occurs.

7

Off

00

0

Not used. Fixed to Off.


Bit 5 : On (printing stops due to paper-end) when printing stops due to paper-

end detected by the paper-end sensor or the paper near-end enabled
by using the ESC c 4.


Advertising