Rev. A
4-7
Programming Samples
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.
4.7.1 Commands Packets
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
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
Off-set
Size
Packet Transmission
Packet Reply
0
5
Character string “EPSON”
Character string “EPSON”
5
1
Packet type:
’Q’: Query
’C’: Command
Packet type reply:
’q’: Query reply
’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
Содержание UB-E02
Страница 1: ...UB E02 Technical Reference Guide 10Base T 100Base TX Ethernet Interface board EPSON English 404999001 ...
Страница 2: ......
Страница 4: ...ii Rev A Revision Information Revision Page Altered Items and Contents Rev A ...
Страница 14: ...xii Contents Rev A ...
Страница 26: ...2 10 Installation Rev A ...
Страница 58: ...3 32 Utilities Rev A 3 3 2 11 Advanced Item Explanation Physical Layer Setting Set the communication method ...
Страница 85: ......
Страница 86: ...EPSON SEIKO EPSON CORPORATION Printed in Japan ...