Real-Time Request To Printer - Epson TM-U200 Information Manual

Esc/pos
Hide thumbs Also See for TM-U200:
Table of Contents

Advertisement

ESC = n selects the device to which the host computer sends data, based on the value of n as follows:
Bit
Off/On
Hex
Decimal
Off
00
0
0
On
01
1
Off
00
0
1
On
02
2
2-7
The printer is enabled when n = 1 or n = 3. The printer is disabled when n = 2. The default setting is
n = 1 (the printer is enabled).
When the printer is disabled, it ignores all received data, with the exception of the DLE ENQ 0 and
DLE ENQ 2 commands. Also, if ASB is enabled by the GS a command, the printer transmits a 4-byte
status message whenever the status changes.
PRINT #1, CHR$(&H1B);"=";CHR$(1);←
PRINT #1, "AAAAA";
PRINT #1, CHR$(&H1B);"=";CHR$(0);←
PRINT #1, "
BBBBB";
PRINT #1, CHR$(&H1B);"=";CHR$(1);←
PRINT #1, " CCCCCC"; CHR$(&HA);
DLE ENQ n
[Name]

Real-time request to printer

[Format]
ASCII
Hex
Decimal
[Range]
n = 0, 2
DLE ENQ n responds to a request from the host computer specified by n as shown below. This
command is also executed when the printer is disabled. When the printer stops printing due to a
paper-end condition, n = 0 is effective only when the printer is waiting for on-line recovery from the
time the paper roll is inserted to the time the printer goes on-line.
1-34 Command Descriptions
Function
Printer disabled.
Printer enabled.
Customer display disabled.
Customer display enabled.
Undefined.
Program Example
Printer enabled
Printer disabled
Printer enabled
DLE
ENQ
10
05
16
5
AAAAA CCCCC
n
n
n
Print Sample
Rev. A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-u200p

Table of Contents