Samsung STP-103PG Printer User Manual


 
30
CR
[Name] Print and carriage return.
[Format] ASCII HT
Hex 0D
Decimal 13
[Description] When automatic line feed is enabled, this command functions the
same as LF; when automatic line feed is disabled, this command
is ignored.
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.
n=1 : printers 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 Not used.
Off 00 0 On-line 3
On 08 8 Off-line
4 On 10 16 Not used. Fixed to On
5-6 - - - Undefined
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.
Off 00 0 Cover is closed. 2
On 04 4 Cover is open.
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. 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.
31
n=3 : Error 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 - - - Undefined.
3 Off 00 0 Not used. Fixed to Off.
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=4 : Continuous paper sensor 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,Off 00 0 Paper roll near-end sensor is Off. 2,3
On,On 0C 12 Paper roll near-end sensor is On.
4 On 10 16 Not used. Fixed to On.
Off 00 0 Paper roll sensor. Paper present. 5,6
On 60 96 Paper roll end detected by paper roll sensor
7 Off 00 0 Not used. Fixed to Off.
DLE ENQ n
[Name] Real time request to printer
[Format] ASCII DLE ENQ n
HEX 10 05 n
DECIMAL 16 5 n
[Range] 1 n 2
[Description] Respond to a request from the host computer. n specifies the
requests as follows
n Request
1
Recover from an error and restart printing from the line where the error occurred
2 Recover from an error after clearing the receive and print buffers
ESC SP n
[Name] Set right-side character spacing
[Format] ASCII ESC SP n
Hex 1B 20 n
Decimal 27 32 n
[Range] 0 n 255
[Description] Sets the character spacing for the right side of the character to
[n × horizontal or vertical motion units].