Chapter 3 Programming Samples
47
3
Programming Samples
ThischapterdescribesthefollowinginformationfortheprogrammingofaTMprinterthatis
installedtheUB‐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
TheUB‐E03isequippedwithlprprotocolsasgeneralprintprotocols.Itiseasytoprintbyusing
lprbecausetheprintingisalsosupportedbytheoperatingsystem.
However,thecommandstatusessentbytheprinterareignoredbecausetheprintingby
protocolsappliesonlytooutputofthe
printer.
TheUB‐E03supportsdirectprintingbyTCPPORT9100.Itispossibletocontroltheprinter
directlybyanapplicationwiththeESC/POScommandsthroughwritingandreadingtotheTCP
PORT9100.
LPR
UB-E03
Host
TCP Port 9100
TM printer