Specifications
Programmers Guide TH230/TH230+
68
ESC c 4
Function:
Select paper sensor(s) to stop printing
Code ASCII: ESC c 4 n
Code HEX: 0x1B 0x63 0x34 n
Range:
0 ≤ n ≤ 255
Default: n = 0
Description:
Selects whether to stop printing or not when the paper runs out using n as
follows:
Bit Function
Value
0 1
0
Paper roll near end
sensor
Disabled
Enabled
1 Paper roll near end
sensor
Disabled Enabled
2
Undefined
-
-
3 Undefined - -
4
Undefined
-
-
5 Undefined - -
6 Undefined - -
7
Undefined
-
-
Notes:
•
It is possible to select multiple sensors to stop printing. When any sensor
detects a paper-end, printing stops.
• The paper roll near-end sensor is enabled when either bit 0 or bit 1 is on
or both are on.
• To avoid false reports the paper near end sensor is monitored by a 0.2
m paper feed hysteresis. That means the printer does not 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.
• When a paper near-end is detected, printing stops after printing the
current line and feeding the paper.
• The printer goes offline and Paper LED comes on after printing stops. To
resume printing, cancel the “paper roll near-end” status by replacing the
paper roll.
• If the paper roll near-end sensor is disabled and a paper near-end is
detected, printing does not stop and the printer does not go offline, but
the Paper LED does come on.
• The paper roll end sensor is always enabled, and when it detects a
paper-end, the printer stops printing.
• When a paper roll near-end or a paper roll end is detected, the PAPER
OUT LED comes on. When a paper roll end is detected, the printer
performs the same operations as when a paper roll near-end is
detected.
• The settings of this command are effective until ESC @ is executed, the
printer is reset, or the power is turned off.