31
Chapter 4 Programming Samples
4
Programming Samples
This chapter describes information related to programming a TM printer on which the wireless LAN system
is set up.
Printing to a TM printer (
Direct printing by PORT9100 (
)
Monitoring of the ASB status (
)
Multiple connection requests (
)
Printing to a TM printer
The UB-E04 is equipped with LPR protocol as a general printing protocol. 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-E04 supports direct printing via the 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-E04
Host
TCP PORT9100
TM printer