Specifications
Programmers Guide TH230/TH230+
162
• Third byte (paper sensor information)
Bit Function
Value
0 1
0
Paper roll near-end
sensor
Paper present No paper
1
Paper roll near-end
sensor
Paper present No paper
2 Paper roll end sensor Paper present No paper
3
Paper roll end sensor
Paper present
No paper
4
Not used
Fixed to 0
5 Undefined
6 Undefined
7
Not used
Fixed to 0
Bit 0 and Bit 1: To avoid false reports the paper near end sensor is
monitored by a 0.2 m paper feed hysteresis. That means the printer
doesn’t report paper near end to the host until 0.2 m paper is feed and all
the time the paper near end sensor detects no paper! If the linefeed
button is pressed within the hysteresis, the printer reports paper near
end immediately.
• Fourth byte (paper sensor information)
Bit Function
Value
0
1
0
Sleep Mode status
Normal-Mode
Sleep Mode
1 Undefined
2 Undefined
3 Undefined
4
Not used
Fixed to 0
5 Undefined
6 Undefined
7 Not used Fixed to 0
• The printer transmits a 4-byte ASB status message without confirming
whether the host can receive data. ASB status, except for the XOFF code,
is always consecutive.
• ASB status can be differentiated by other transmission data by Bit 0, 1, 4,
and 7 of the first byte. Process the transmitted data from the printer as
ASB status which is consecutive 3 byte if it is “0xx1xx00” [x = 0 or 1].
However, the processing shown in the following is necessary in the
identifying processing of ASB status.
• When processing block data [Header ~ NUL], do not identify ASB status.
• When the host communicates with the printer by XON/XOFF control, the
host should process 4 bytes of data, except for the XOFF code, as ASB
status. ASB status configuration is different from that of the XOFF code.
• Third byte (paper sensor information): When the paper roll cover is open,
paper detection (detected by the paper roll end sensor) may be incorrect.