Epson E02 manual Printer Operation by the UDP Commands, Commands Packets

Page 65

UB-E02 Technical Reference Guide

4.7 Printer Operation by the UDP Commands

By using the UDP commands, the following information can be received in order to recover from abnormal operations and errors.

Function Code

Packet

Function

 

 

 

03-0000

Q

Acquires basic information

 

 

 

03-0010

Q

Acquires status

 

 

 

03-0011

C

Off-line forced transmission

 

 

 

03-0012

C

Reset

 

 

 

03-0013

C

Buffer flash

 

 

 

03-0016

C

Clears connection time-out timer

 

 

 

4.7.1 Commands Packets

Off-set

Size

Packet Transmission

Packet Reply

 

 

 

 

0

5

Character string “EPSON”

Character string “EPSON”

 

 

 

 

5

1

Packet type:

Packet type reply:

 

 

’Q’: Query

’q’: Query reply

 

 

’C’: Command

’c’: Command reply

 

 

 

 

6

1

Device type (0 03 fixed)

Device type (0 03 fixed)

 

 

 

 

7

1

Device number (0 00 fixed)

Device number (0 00 fixed)

 

 

 

 

8

2

Function number

Function number

 

 

 

 

10

2

0 00, 0 00 fixed

Result code

 

 

 

 

12

2

Length (n)

Length (n)

 

 

 

 

14

n

Command parameter

Reply data

 

 

 

 

The following values are replied for the packet reply result codes. Check the results in an application.

0000h: Normal end

FFFEh: No device requested

FFFFh: Function requested are not supported

Rev. A

4-7Programming Samples

Image 65
Contents UB-E02 Technical Reference Guide Page Rev. a Revision Information Related Documents Contents of the GuideAbout This Guide CE Marking EMC and Safety Standards AppliedFCC Compliance Statement For American Users For Canadian UsersGereäuschpegel Key to SymbolsLabel Safety PrecautionsProduct Servicing Introduction Environments for Setup UtilityOperating Environments Supported Operating SystemsSupported TM Printers Installation Overview How to Use this GuideProgramming AppendixContents Rev. a Contents Xii Contents Rev. a Supported Network Protocols Supported Operating SystemsOther Limitations Installation Precautions InstallationUnpacking SwitchPart Names FunctionsUB-E02 Installation 4Installation Rev. a Page 6Installation Rev. a UB-E02 Status Sheet Printing Initializing UB-E023 Q3. Starting up the printer takes a long time FAQ2 Q2. The self test does not operate correctly UB-E02 Technical Reference Guide 10Installation Rev. a Setting the TCP/IP protocol in Your Operating System Setting the IP AddressSetting the IP Address using Epson TMNet WinConfig Windows UB-E02 Technical Reference Guide Windows NT Windows Installation Environments Installing Epson TMNet WinConfigInstallation 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 Menu Bar Tool Menu Time-out settingSearch Options Settings Printer Print server TCP/IP Password Opening Screen Epson TMNet WebConfig FunctionsTCP/IP General Information Protocol Information and SettingsApipa 2.2 TCP/IP InformationSnmp 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 Buffer of the UB-E02 Method of Printing to the UB-E02For Windows Console Direct Printing by PORT91004Programming Samples For Linux Monitoring of the ASB status Commands Sent to a TM Printer When the Power is OnPriorities of Printing Time-out for ConnectionCommands Packets Printer Operation by the UDP CommandsReply data 2 03-0000 Retrieving Basic Information3 03-0010 Retrieving Status Set-up data 5 03-0012 Reset4 03-0011 Forced Transmission 6 03-0013 Buffer Flash 7 03-0016 Clearing Connection Time-Out TimerFor Windows Console Programming Sample12Programming Samples Rev. a 13Programming Samples For Linux14Programming Samples Printer Connection FeaturesLine Display Connection OverviewHardware Specifications External appearance and connector locations Software SpecificationsBasic Communications Protocols Printing Communications ProtocolsSnmp MIB Status Inquiry and Setting ProtocolsHttp IP Address Acquisition by Dhcp Automatic IP Address Assignment ProtocolsEnpc IP Address Assignment by Apipa Manual SettingItem List Internal SettingsSetting with Exclusive utility Internal Parameter Setting MethodsSetting with Browser Setting the IP Address with arp + pingInitializing Upgrade MethodsVersion Upgrading Supported protocolStorage Conditions Environmental SpecificationsDefinitions 2Definitions Rev. a Page Epson