Specifications
TH230/TH230+ Programmers Guide
9
Power off control by the host
The following is an example of the printer power off process when the printer is turned off
using DLE SO (fn = 2) command.
1) Transmits the following continuous procedure before the system is turned off.
- Execute the last print command such as LF, ESC d, etc.
- Execute GS (D pL pH m a b (pL=3, m = pH =0, m =20, a =2, b =1)
- Execute GS r n (n =1)
2) Waits for the paper sensor status from the printer by the GS r n command.
3) Transmits DLE SO n a b (n =2, a =1, b =8)
4) Waits for the power off status
• The power off status is transmitted by the power-off sequence within 10 seconds after
transmitting DLE SO n a b.
• If the power off status is not checked, waits for 10 seconds or more after transmitting
DLE SO (fn = 2).
• For the serial interface model, the printer status is transmitted regardless of the
condition of the host.
The behavior of the Power Button is described on page 7.
Page Mode Tips
The thermal printer TH230 supports two different print modes: standard mode and page
mode. The standard mode is supported by all banking printers and in this mode, the
printers print data in the print buffer by executing the print commands (such as LF, CR, and
ESC J) or when the buffer is full. The standard mode is the print mode which prints data
one line at a time.
The page mode executes batch printing with FF
or ESC FF for all data in the print buffer stored after the page mode is selected with ESC L.
In this mode, the print commands other than FF or ESC FF, such as LF, CR, or ESC J, only
move the printing position and do not execute actual printing. Executing ESC S or FF
returns to standard mode. The page mode is the print mode which prints data one page at
a time. The page mode print data can be deleted by CAN. There are generally four possible
print directions in page mode which can be adjusted by ESC T.
Standard
mode
Page mode
ESC L
ESC S, FF