TS1700/TK18 PRINTERS OPERATION MANUAL
ton
and
toff
are the time the digital output is in on or off estate respectively. The time
unit is 0.01seg. The examples below shows how it look like different output signals with
the parameters on the right-side.
1s
m
= ?3
2s
ton
= 100
toff
= 200
1s 1s 1s
m
= ?3
ton
= 100
toff
= 0
0.5s
m
= ?7
ton
= 50
toff
= 50
[Notes]
In order to disable an output associated to an event, the same command must be sent
specifying the event in the
m
parameter but setting
ton
and
toff
to 0.
DLE
EOT
n
[Name]
Real-time status transmission
[Format]
ASCII
DLE
EOT
n
Hex
10
04
n
Decimal
16
4
n
[Range]
<01>H
≤
n
≤
<04>H
[Description]
Transmits the selected printer status specified by
n
in real-time, according to the
following parameters:
n
= <01>H: Transmit printer status
n
= <02>H: Transmit offline status
n
= <03>H: Transmit error status
n
= <04>H: Continuous paper sensor status
n
= <05>H: Paper sensor status
[Notes]
●
The status is transmitted whenever the data sequence <10>H<04>H<
n
>
( <01>H
≤
n
≤
<05>H) is received.
●
The printer transmits the current status. Each status item is represented by one byte.
●
The printer transmits the status without confirming whether the host computer can
receive data (in serial interface).
●
The printer executes this command upon receiving it.
●
This command is executed even when the printer is offline, the receiver buffer is full,
or there is an error status with a serial interface model.
n
= <01>H: Printer status
Bit OFF/ON Function
0
OFF
Not used. Fixed to OFF
1
ON
Not used. Fixed to ON
2
OFF
Not used. Fixed to OFF
3
OFF
Online
ON
Offline
4
ON
Not used. Fixed to ON
5
OFF
Does not wait for online error recovery
ON
Waits for online error recovery
6
*
ON/OFF Ticket completed
7
OFF
Not used. Fixed to OFF
(
*
) Bit 6 is toggled every time a cut command is executed
30/62