Samsung SRP275APG Printer User Manual


 
CHAPTER 4
Control commands list
4-5
DLE EOT
[Name] Real-time status transmission
[Format] ASCII DLE EOT n
Hex 10 04 n
Decimal 16 4 n
[Range] 1 n 4
[Description] Transmits 1 byte of status data specified in real time, using n as follows:
n Function
1 Transmit printer status
2 Transmit offline status
3 Transmit error status
4 Transmit paper sensor status
[Notes] • Printer status (n = 1) is as follows:
Bit Binary Hex Decimal Status
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
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 Status
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
• Error status (n = 3) is as follows:
Bit Binary Hex Decimal Status
0 0 00 0 Not used. Fixed to Off
1 1 02 2 Not used. Fixed to On
0 00 0 No mechanical error
2
1 04 4 Mechanical error occurred
0 00 0 No auto cutter error
3
1 08 8 Auto cutter error occurred
4 1 10 16 Not used. Fixed to On
0 00 0 No unrecoverable error
5
1 20 32 Unrecoverable error occurred
0 00 0 No auto-recoverable error
6
1 04 4 Auto-recoverable error occurred
7 0 00 0 Not used. Fixed to Off
• Paper sensor status (n = 4) is as follows:
Bit Binary Hex Decimal Status
0 0 00 0 Not used. Fixed to Off
1 1 02 2 Not used. Fixed to On
00 00 0 Paper near end sensor: paper adequate
2,3
11 0C 12 Paper near end sensor: paper near end
4 1 10 16 Not used. Fixed to On
00 00 0 Paper end sensor: paper present
5,6
11 60 96 Paper end sensor: paper not present
7 0 00 0 Not used. Fixed to Off