Toshiba B-EP Series Interface Specification page 88

External equipment interface specification
Hide thumbs Also See for B-EP Series:
Table of Contents

Advertisement

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.
LABEL mode (Storing forms, writable characters, or graphics)
Request for a Bluetooth
connection
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.)
One of the following
commands:
- [ESC]FM[LF][NUL]
- [ESC]WS[LF][NUL]
- [ESC]v 
Save start command through
Save terminate command, Bit
map writable character
command, or Graphic command 
- [ESC]XO;01,1[LF][NUL]
through
[ESC]XP[LF][NUL]
- [ESC]XD;. . . [LF][NUL]
- [ESC]SG;. . . [LF][NUL]
A status request
command does not
need to be sent.
Request for a disconnection
of the Bluetooth connection 
* 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.
Host
Printer
STX Printer ID Printer status Battery level
02H xxHxxH
STX Printer ID Printer status Battery level
02H xxHxxH
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.
3-57
Response to the request for a Bluetooth
connection
Status sent in response to the status
request command.
00H
Make sure that the printer is
in idle state.
Status indicating a normal termination of data
storage (when an automatic status transmission is
enabled.)
10H
Normal termination
Response to the request for the
disconnection of the Bluetooth connection
CHAPTER 3 INTERFACE
B-EP Series
Confirmation
of the printer
status prior
to data
storage
xxH
Data
storage
xxH

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents