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
03-0000
03-0010
03-0011
03-0012
03-0013
03-0016
4.7.1 Commands Packets
Off-set
Size
0
5
5
1
6
1
7
1
8
2
10
2
12
2
14
n
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
Packet
Q
Q
C
C
C
C
Packet Transmission
Character string "EPSON"
Packet type:
'Q': Query
'C': Command
Device type (0 × 03 fixed)
Device number (0 × 00 fixed)
Function number
0 × 00, 0 × 00 fixed
Length (n)
Command parameter
UB-E02 Technical Reference Guide
Function
Acquires basic information
Acquires status
Off-line forced transmission
Reset
Buffer flash
Clears connection time-out timer
Packet Reply
Character string "EPSON"
Packet type reply:
'q': Query reply
'c': Command reply
Device type (0 × 03 fixed)
Device number (0 × 00 fixed)
Function number
Result code
Length (n)
Reply data
4-7 Programming Samples