Samsung SRP-250 Series Printer User Manual


 
36
ESC v
[Name] Transmit paper sensor status.
[Format] ASCII ESC v
Hex 1B 76
Decimal 27 118
[Description] Transmits the current paper sensor status.
When DTR/DSR control is selected, the printer transmits only 1 byte after
confirming that the host is ready to receive data (DSR signal is SPACE).
If the host computer is not ready to receive data (DSR signal is MARK),
the printer waits until the host is ready. When XON/XOFF control is selected ,
the printer transmits only 1 byte without checking the DSR signal.
This command is executed when the data is processed in the receive buffer.
Therefore, there may be a time lag between receiving the command and
transmitting the status, depending on the receive buffer status.
The status to be transmitted is shown in the table below.
This command is available only with a serial interface, and is ignored with
a parallel interface.
Bit Off/On Hex Decimal Function
Off 00 0 Paper roll end sensor. Paper is present.
0,1
On 03 3 Paper roll end sensor. Paper is not present.
Off 00 0 Paper roll end sensor. Paper is present.
2,3
On 0C 12 Paper roll end sensor. Paper is not present.
4 Off 00 0 Not used.
5,6 - - - Undefined.
7 Off 00 0 Not used.
GS I n
[Name] Transmit printer ID.
[Format] ASCII GS I n
Hex 1D 49 n
Decimal 29 73 n
[Range] 1 n 3, 49 n 51
[Description] Transmits the printer ID specified by n as follows:
n Printer ID Specification ID (hexadecimal)
1, 49 Printer model ID SRP-250/SRP-250P 0DH
2, 50 Type ID See table below.
3, 51 ROM version ID ROM version