Control Codes

[ESC] q Query marker

ASCII [ESC] q <n>

Hexadecimal 1BH 71H <n>

Decimal <27> <113> <n>

IPCL none

EPOS none

Description The [ESC] q <n> command returns a status to the host when it is processed.

Response [SOH] <n>

The [ESC] q <n> command may be placed in the print data and, when processed by the printer, will return a progress status marker. The value of <n> can be any 8-bit value. It is returned to the host unaltered. The intent is for it to be a sequence number. The command can be used to track the print progress of the printer or verify that data has been printed.

Note: The [ESC] q <n> command is a line terminator that causes the printer to print all previous data. If a normal line terminator like a [CR] is not supplied, right justify and auto-center do not function correctly. All data is left justified. [ESC] q does not perform a [CR] or [LF] function.

[ESC] v

Perform Auto Cut

ASCII

[ESC] v

Hexadecimal

1BH 76H <n>

Decimal

<27><118>

IPCL

&%FC

&%PC

EPOS

[ESC] i or [ESC] m

Description The [ESC] v command operated the auto cutter.

Note: The auto cutter is optional. If the auto cutter is not installed, this command will be ignored.

[ESC] @

Initialize the printer

ASCII

[ESC] @

Hexadecimal

1BH 40H

Decimal

<27> <64>

Description The [ESC] @ command initializes the printer. All settings, including character font and line spacing, are canceled.

100-88002 Rev B

Page 155

 

 

Page 167
Image 167
Epson 100-88002 ESC q Query marker, Hexadecimal 1BH 71H n, Response SOH n, ESC Perform Auto Cut, ESC i or ESC m, Esc @