CHAPTER 3 INTERFACE
B-EP
Series
3-57
Method
(1): Disconnecting a Bluetooth connection between the host and the printer after the completion
of a print job is confirmed.
Basically, use the automatic status transmission function (this function is enabled as the factory default.)
to confirm the statuses sent from the printer after printing or storing data.
This method enables confirming whether a print job is properly performed on the application. Also, an
error, such as a paper end or a paper jam, on the printer can be detected by the application.
c
LABEL mode (Storing forms, writable characters, or graphics)
* The printer status can also be confirmed with the following command:
• [ESC] WB [LF] [NUL]
Note that the contents of the status vary, which deserves special attention.
- [ESC]XO;01,1[LF][NUL]
through
[ESC]XP[LF][NUL]
- [ESC]XD;. . . [LF][NUL]
- [ESC]SG;. . . [LF][NUL]
Confirmation
of the printer
status prior
to data
storage
One of the following
commands:
- [ESC]FM[LF][NUL]
- [ESC]WS[LF][NUL]
- [ESC]v
STX Printer ID Printer status Battery level
02H xxHxxH 00H xxH
Make sure that the printer is
in idle state.
c
Request for a Bluetooth
connection
c
Response to the request for a Bluetooth
connection
e
Save start command through
Save terminate command, Bit
map writable character
command, or Graphic command
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.)
d
Status sent in response to the status
request command.
f
Request for a disconnection
of the Bluetooth connection
f
Response to the request for the
disconnection of the Bluetooth connection
Host
Printer
e
Status indicating a normal termination of data
storage (when an automatic status transmission is
enabled.)
Normal termination
A status request
command does not
need to be sent.
Data
storage
STX Printer ID Printer status Battery level
02H xxHxxH 10H xxH
Note
: The automatic status transmission function
needs to be enabled in advance.
Regarding how to enable this function (enabled as the
factory default.), refer to the [ESC] X command.