CHAPTER 3 INTERFACE
B-EP
Series
3-73
Note that the contents of the status vary, which deserves special attention.
g
TPCL mode (Storing writable characters, PC save)
* The printer status can also be confirmed with the following command:
SOH STX Status Unprinted count ETX EOT CR LF
01H 02H 30H30HxxH 3xH3xH3xH3xH 03H 04H 0DH 0AH
SOH STX Status Unprinted count ETX EOT CR LF
01H 02H 30H32HxxH 3xH3xH3xH3xH 03H 04H 0DH 0AH
After a printer status is received, a
transmission of the next status
request command should be paused
for the min. of 20 msec. Usually, the
interval is approximately 200 msec.
Since a response to a status request
command may be delayed depending
on the radio state, wait a response
with approx. 1-second timeout.
Repeat until the printer
enters the normal state
(30H30H)
SOH STX Status Unprinted count ETX EOT CR LF
01H 02H 30H30HxxH 3xH3xH3xH3xH 03H 04H 0DH 0AH
SOH STX Status Unprinted count ETX EOT CR LF
01H 02H 30H32HxxH 3xH3xH3xH3xH 03H 04H 0DH 0AH
Repeat when there is a
next print job.
- [ESC]XD . . . [LF][NUL]
- [ESC]XO . . . [LF][NUL]
to [ESC]XP[LF][NUL]
E.g.) [ESC]FM[0A][00]
Make sure that the printer is in
idle state.
e
Bit map writable character
command or Save start
command
f
Status request command
d
Status sent in response to the status
request command.
f
Status sent in response to the status
request command.
The printer is in operation.
E.g.) [ESC]FM[0A][00]
g
Status request command
E.g.) [ESC]FM[0A][00]
h
Status request command
Make sure that the printer is in
idle state.
h
Status sent in response to the status request
command.
g
Status sent in response to the status
request command.
The printer is in operation.
Data
storage
Waiting
time until
the end of a
print job
Confirmation
of the printer
status prior
to data
storage
One of the following
commands:
- [ESC]FM[LF][NUL]
- [ESC]WS[LF][NUL]
- [ESC]v
c
Request for a Bluetooth
connection
c
Response to the request for a Bluetooth
connection
Host
Printer
i
Request for a disconnection
of the Bluetooth connection
i
Response to the request for the
disconnection of the Bluetooth connection
d
Status request command
(Usually, a status request
command is not necessary to be
sent. However, send this
command when the printer status
is required to be confirmed prior to
a data transmission.)
Finish the data storage operation and
return to Main Menu or another screen.