Dle Eot; Real-Time Status Transmission 10 04 - Samsung SRP-275 Operator's Manual

Pos impact dot matrix printer
Hide thumbs Also See for SRP-275:
Table of Contents

Advertisement

CHAPTER 5
CONTROL COMMANDS LIST

DLE EOT

[Name]
Real-time status transmission
[Format]
ASCII
DLE
Hex
10
Decimal
16
1 ≤ n ≤ 4
[Range]
[Description]
Transmits 1 byte of status data specified in real time, using n as follows:
n
1
Transmit printer status
2
Transmit offline status
3
Transmit error status
4
Transmit paper sensor status
[Notes]
This is a real-time command that the printer executes upon receiving it.
Take the following into consideration:
- If this command interrupts the code string of another command,
this command is processed as a parameter of the other command ;
therefore, the print result will not be correct.
- If a command such as bit-image or defined data has a code string that is
the same as a code string in a parameter, the printer processes and then
continues with the bit-image or other command.
With a serial interface model, this command is executed even when the
printer is offline, the receive buffer is full, or an error occurs.
With a parallel interface model, this command is not executed in the
following conditions, because the printer is busy and unable to receive data
from the host computer. The busy condition is set by DIP Switch (DSW1-4).
- Receive buffer is full when DIP Switch (DSW1-4) is set to On.
- Printer is offline, an error occurs, or receive buffer is full when
DIP Switch (DSW1-4) is set to Off.
This command can be used when the printer is disabled by ESC =.
Each status equals 1 byte.
5-8
EOT
n
04
n
4
n
Function
Printer status (n = 1) is as follows:
Bit
Binary
Hex
Decimal
0
0
00
0.
Not used. Fixed to Off
1
1
02
2
Not used. Fixed to On
0
00
0
Drawer kick-out connector pin 3 is LOW
2 2
1
04
4
Drawer kick-out connector pin 3 is HIGH
0
00
0
Online
3
1
08
8
Offline
4
1
10
16
Not used. Fixed to On
5
0
00
0
Not used. Fixed to Off
6
0
00
0
Not used. Fixed to Off
7
0
00
0
Not used. Fixed to Off
offline status (n = 2) is as follows:
Bit
Binary
Hex
Decimal
0
0
00
0.
Not used. Fixed to Off
1
1
02
2
Not used. Fixed to On
0
00
0
Cover is closed
2
1
04
4
Cover is open
0
00
0
Paper is not being fed by the paper feed button
3
1
08
8
Paper is being fed by the paper feed button
4
1
10
16
Not used. Fixed to On
0
00
0
No paper end stop
5
1
20
32
Printing stops due to a paper end
0
00
0
No error
6
1
04
4
Error occurred
7
0
00
0
Not used. Fixed to Off
Status
Status
5-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents