Specifications

Confidential
EPSON
TITLE
SHEET
REVISION
NO.
SHEET
NEXT
E
DM-D110
Specification
(STANDARD)
41 40
ESC = n
[Name] Select peripheral device
[Format] ASCII ESC = n
Hex 1B 3D n
Decimal 27 61 n
[Range] 1 n 3
[Description] Selects the device(s) to which the host computer sends data, using the value(s) of n
from the following table:
Table 4.4.1 Bit table for select peripheral device
Bit Off/On Hex Decimal Function
Off(*) 00 0 Printer canceled. 0
On 01 1 Printer selected.
1 Off 00 0 Display canceled.
On(*) 02 2 Display selected.
2 to 7 -- -- -- Undefined.
(*):Default setting
[Notes] When the printer is selected by n = 1, all the data from the host computer is
transmitted to the printer via the display.
When the customer display is selected by n = 2, all the data from the host computer is
processed internally in the display, and no data is transmitted to the printer.
When both the printer and customer display are selected by n = 3, all the data from the
host computer is processed internally in the display and is simultaneously transmitted
to the printer.
If
ESC = 2
is received when the printer is selected by n = 1 or n = 3, this command
sends 1BH (27) 3DH (61) 02H (2) to the printer and stops transmitting data to the
printer.
If
ESC = 1
is received when the customer display is selected by n = 2, this command
sends 1BH (27) 3DH (61) 01H (1) to the printer and starts transmitting data to the
printer.
If
ESC = 3
is received when the customer display is selected by n = 2, this command
sends 1BH (27) 3DH (61) 03H (3) to the printer and starts transmitting data to the
printer.
If
ESC = 2
is received again after selecting the display by n = 2, the three-byte data is
executed only inside the display, and nothing is sent to the printer.
With the pass through connection, when the
ESC =
command is received while the
printer is selected with n = 1 or n = 3, if n following
ESC =
is not 1, 2, or 3, the display
unit sends the whole of the
ESC =
n to the printer directly.
[Default] n = 2 or the setting value by the memory switch 13
[Example] PRINT #1;CHR$(&H1B);CHR$(&H3D);CHR$(&H1);
PRINT #1,”SELECT PRINTER”;
PRINT #1,CHR&(&H1B);CHR$(&H3D);CHR$(&H2);
PRINT #1,”SELECT DISPLAY”;
Figure 5.4.1 Example Peripheral Device Selection Program
F