Samsung SRP-275CEPG Operation Manual - Page 39

DLE EOT

Page 39 highlights

CHAPTER 5 CONTROL COMMANDS LIST DLE EOT [Name] Real-time status transmission [Format] ASCII DLE Hex 10 EOT n 04 n [Range] [Description] Decimal 16 4 n 1 ≤n ≤4 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] 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 Printer status (n = 1) is as follows: Bit Binary Hex 0 0 00 1 1 02 2 0 00 1 04 3 0 00 1 08 4 1 10 5 0 00 6 0 00 7 0 00 Decimal 0. 2 0 4 0 8 16 0 0 0 Status Not used. Fixed to Off Not used. Fixed to On Drawer kick-out connector pin 3 is LOW Drawer kick-out connector pin 3 is HIGH Online Offline Not used. Fixed to On Not used. Fixed to Off Not used. Fixed to Off Not used. Fixed to Off offline status (n = 2) is as follows: Bit Binary Hex 0 0 00 1 1 02 2 0 00 1 04 3 0 00 1 08 4 1 10 5 0 00 1 20 6 0 00 1 04 7 0 00 Decimal 0. 2 0 4 0 8 16 0 32 0 4 0 Status Not used. Fixed to Off Not used. Fixed to On Cover is closed Cover is open Paper is not being fed by the paper feed button Paper is being fed by the paper feed button Not used. Fixed to On No paper end stop Printing stops due to a paper end No error Error occurred Not used. Fixed to Off 5-9

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110

5-9
5-8
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:
[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.
n
1
2
3
4
Function
Transmit printer status
Transmit offline status
Transmit error status
Transmit paper sensor status
Printer status (n = 1) is as follows:
Bit
Binary
Hex
Decimal
Status
0
1
4
5
6
7
0
1
0
1
0
1
1
0
0
0
00
02
00
04
00
08
10
00
00
00
0.
2
0
4
0
8
16
0
0
0
Not used. Fixed to Off
Not used. Fixed to On
Drawer kick-out connector pin 3 is LOW
Drawer kick-out connector pin 3 is HIGH
Online
Offline
Not used. Fixed to On
Not used. Fixed to Off
Not used. Fixed to Off
Not used. Fixed to Off
offline status (n = 2) is as follows:
Bit
Binary
Hex
Decimal
Status
0
1
4
7
0
1
0
1
0
1
1
0
1
0
1
0
00
02
00
04
00
08
10
00
20
00
04
00
0.
2
0
4
0
8
16
0
32
0
4
0
Not used. Fixed to Off
Not used. Fixed to On
Cover is closed
Cover is open
Paper is not being fed by the paper feed button
Paper is being fed by the paper feed button
Not used. Fixed to On
No paper end stop
Printing stops due to a paper end
No error
Error occurred
Not used. Fixed to Off
CONTROL COMMANDS LIST
CHAPTER 5
2
2
3
3
6
5