Specifications

Programming Guide/Tips 4-5
TM-H6000/H6000P Developer’s Guide
Confidential
Command Usage Example
Adding “Waiting for insertion of a single sheet” status
Send the following command (in decimal numbers):
GS ( B 3 0 97 49 44
If the value of bit 1 of the third byte is 0 when this status is added, the printer is not “Waiting for
insertion of a single sheet,” and if the value of bit 1 is 1, the printer is “Waiting for insertion of a
single sheet.”
Adding “Waiting for removal of a single sheet” status
Send the following command (in decimal numbers):
GS ( B 3 0 97 51 45
If the value of bit 3 of the third byte is 0 when this status is added, the printer is not “Waiting for
removal of a single sheet,” and if the value of bit 3 is 1, the printer is “Waiting for insertion of a
single sheet.”
Customize two bits simultaneously
You can customize two bits simultaneously by sending the following command (in decimal
numbers):
GS ( B 5 0 97 49 44 51 45
Return to initial settings with a command other than the initialization command
You can send the
ESC @
initialization command to return changed settings to their initial status,
but they can also be returned with a different command. Send the following command (in
decimal numbers):
GS ( B 2 0 97 0
Usage of GS ( B (ASB Status Bit Customization Command)
The ASB status bit customization command can specify a variety of parameters, allowing for
future expansion. The rules for specification of the basic parameters with this command are
described briefly in this section.
GS ( B
pL
pH
m
[
a1
b1
] ¨¨¨¨ [
ak
dk
]
Parameters
pL
,
pH
specify
the number of data bytes following parameter
m
. The maximum
value that
pL
,
pH
can handle is FFh (255). The number of bytes is calculated with the following
formula:
pL
+
pH
x 256. You can specify a value between a minimum of 3 bytes and maximum of
65,535 bytes.
The value of
m
is fixed at 97. There is no parameter
b1
for initialization of customization only.