Epson E02 manual Commands Sent to a TM Printer When the Power is On, Monitoring of the ASB status

Page 64

4.3 Commands Sent to a TM Printer When the Power is On

When the power is turned on, the UB-E02 transmits the following commands to the TM printer and maintains the statuses. The UB-E02 acquires printer information by GS I and monitors the printer status through the TMNet WebConfig using the GS a 255 command.

ESC/POC command descriptions:

GS I 1: printer ID

GS I 2: printer type ID

GS I 3: printer ROM version ID

GS a FFh: Enables ASB status

Note:

When the power is turned off or the printer is off-line, the commands above are not transmitted.

4.4 Monitoring of the ASB status

The UB-E02 monitors the ASB statuses transmitted from TM printers to control the printer statuses from host computers. The printer can know the statuses by remote using the TMNet WinConfig or the TMNet WebConfig.

If the printing data includes commands that disable the ASB such as ESC @ and GS a 00h, the ASB status from the TM printer will not be transmitted afterward when the printer status is changed and the UB-E02 cannot monitor the status of the TM printer.

To monitor the printer status, when there is a command that disables the ASB in a data string sent by an application to the TM printer, transmit a command that enables the ASB.

4.5 The Priorities of Printing

The UB-E02 permits up to 3 requests of connecting regardless of the lpr/port9100 protocol. Printing by the TM printer is given the first priority. Data transmission is blocked for other requests until the first connection is closed (explicit close or close by time-out).

4.6 Time-out for Connection

If there is no data transmitted from the host for 5 minutes, regardless of the protocol, lpr/ port9100, the UB-E02 closes the connection. To continue the connection, the host needs to send the UDP command explicitly.

4-6Programming Samples

Rev. A

Image 64
Contents UB-E02 Technical Reference Guide Page Rev. a Revision Information About This Guide Contents of the GuideRelated Documents EMC and Safety Standards Applied CE MarkingFCC Compliance Statement For American Users For Canadian UsersKey to Symbols GereäuschpegelProduct Servicing Safety PrecautionsLabel Environments for Setup Utility IntroductionOperating Environments Supported Operating SystemsSupported TM Printers How to Use this Guide Installation OverviewProgramming AppendixContents Rev. a Contents Xii Contents Rev. a Supported Operating Systems Supported Network ProtocolsOther Limitations Installation Installation PrecautionsSwitch UnpackingPart Names FunctionsUB-E02 Installation 4Installation Rev. a Page 6Installation Rev. a Initializing UB-E02 UB-E02 Status Sheet Printing2 Q2. The self test does not operate correctly FAQ3 Q3. Starting up the printer takes a long time UB-E02 Technical Reference Guide 10Installation Rev. a Setting the IP Address using Epson TMNet WinConfig Setting the IP AddressSetting the TCP/IP protocol in Your Operating System Windows UB-E02 Technical Reference Guide Windows NT Windows Installing Epson TMNet WinConfig Installation EnvironmentsInstallation with Windows Setting with the Epson TMNet WinConfig UB-E02 Technical Reference Guide Page Setting the IP Address Using the arp/ping Command Example ping Epson TMNet WinConfig Functions Tool Menu Time-out setting Menu BarSearch Options Settings Printer Print server TCP/IP Password Epson TMNet WebConfig Functions Opening ScreenTCP/IP Protocol Information and Settings General Information2.2 TCP/IP Information ApipaSnmp Information 2.4 TCP/IP Setting Snmp Communication Setting Snmp IP Trap 1 Setting Snmp IP Trap 2 Setting Administrator Setting Password Setting Reset Advanced Programming Samples Method of Printing to the UB-E02 Buffer of the UB-E02Direct Printing by PORT9100 For Windows Console4Programming Samples For Linux Commands Sent to a TM Printer When the Power is On Monitoring of the ASB statusPriorities of Printing Time-out for ConnectionPrinter Operation by the UDP Commands Commands Packets3 03-0010 Retrieving Status 2 03-0000 Retrieving Basic InformationReply data 4 03-0011 Forced Transmission 5 03-0012 ResetSet-up data 7 03-0016 Clearing Connection Time-Out Timer 6 03-0013 Buffer FlashProgramming Sample For Windows Console12Programming Samples For Linux Rev. a 13Programming Samples14Programming Samples Features Printer ConnectionLine Display Connection OverviewHardware Specifications Software Specifications External appearance and connector locationsBasic Communications Protocols Printing Communications ProtocolsHttp Status Inquiry and Setting ProtocolsSnmp MIB Enpc Automatic IP Address Assignment ProtocolsIP Address Acquisition by Dhcp Manual Setting IP Address Assignment by ApipaInternal Settings Item ListInternal Parameter Setting Methods Setting with Exclusive utilitySetting with Browser Setting the IP Address with arp + pingUpgrade Methods InitializingVersion Upgrading Supported protocolEnvironmental Specifications Storage ConditionsDefinitions 2Definitions Rev. a Page Epson