Dle Enq; Esc Sp N - Samsung SRP-500 Programmer's Manual

Inkjet receipt printer
Hide thumbs Also See for SRP-500:
Table of Contents

Advertisement

DLE ENQ

n
[Name]
[Format]
[Range]
[Description]
[Notes]

ESC SP n

[Name]
[Format]
[Range]
[Description]
[Notes]
[Default]
2002. 1. 8.
Real-time request to printer
ASCII
DLE ENQ n
Hex
10
05
Decimal
16
5
n = 0, n = 2
The printer responds to a request from the host specified by n.
n = 0: Recovers to on-line state.
n = 2: Recovers from an error after clearing the receive and print
buffers.
This command should not be used within the data sequence of
another command that consists of two or more bytes. For example,
If you attempt to transmit ESC 3 n to the printer, but DTR (DSR
for the host computer) goes to MARK before n is transmitted, and
DLE ENQ 2 interrupts before n is received, the code <10>H for
DLE ENQ 2 is processed as the code for ESC 3 <10>H.
This command n = 2 is valid only when a mechanical error or an
auto-cutter error has occurred.
DLE ENQ 2 enables the printer to recover from an error after
clearing the data in the receive buffer and the print buffer. The
printer retains the settings (by ESC !, ESC 3, etc.) in effect when
the error occurred. The printer can be initialized completely by
using this command and ESC @. This command is enabled only
for errors that have the possibility of recovery
Set right-side character spacing
ASCII
ESC SP n
Hex
1B
20 n
Decimal
27
32 n
0 ≤n ≤255
Sets the character spacing for the right side of the character to [ n
×0.122 mm {1/208 inches}] .
The right-side character spacing for double-width mode is twice the
normal value.
n = 0
Programmer's Guide
n
n
C
OMMANDS
22

Advertisement

Table of Contents
loading

Table of Contents