Chapter 3 Programming Samples
Programming Samples
This chapter describes the following information for the programming of a TM printer that is
installed the UB‐E03.
Method of printing to a TM printer
(page
47)
Direct printing by PORT9100
(page
48)
Commands sent to a TM printer when the power is on
(page
50)
Monitoring of the ASB status
(page
50)
The rights of printing
(page
50)
Time-out for connection
(page
50)
Method of Printing to a TM Printer
3
The UB‐E03 is equipped with lpr protocols as general print protocols. It is easy to print by using
lpr because the printing is also supported by the operating system.
However, the command statuses sent by the printer are ignored because the printing by
protocols applies only to output of the printer.
The UB‐E03 supports direct printing by TCP PORT9100. It is possible to control the printer
directly by an application with the ESC/POS commands through writing and reading to the TCP
PORT9100.
LPR
UB-E03
TM printer
Host
TCP Port 9100
47