CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-27
8.10.15 PRINTER
SELECT/DESELECT COMMAND
[ESC] =
Function
Selects or deselects the printer.
While the printer is deselected, received data is discarded until it is selected by this
command again.
Format [ESC]
=n
Term
ASCII: ESC =
Hex: 1Bh 3Dh
[Parameter]
n: Selecting / deselecting printer 0
≤
n
≤
255 (00h
≤
n
≤
FFh)
b7
b0
-- -- -- -- -- -- --
Default value n: 1
Explanation
(1) n is valid only in the least significant bit.
(2) While being deselected, the printer is waiting only for this command. So please
note that if the same code arrangement as [ESC] =1 (1Bh, 3Dh, 01h) is contained in
the data such as writable characters or images transmitted while the printer is being
deselected, the printer will be returned to the “selected” state.
0: Deselecting printer
1: Selecting printer