EasyManua.ls Logo

Star Micronics IFBD-HE07X - Page 20

Star Micronics IFBD-HE07X
89 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IFBD-HE0708 BE07 Users Manual
3-11
3.1.5.2. Setting Information Acquisition Command
Code <GS> ‘0’ <NUL>
Hexadecimal 1D 30 00
Function This command will get the printer’s NIC setting information (discovery data).
This command is used by Star Micronics drivers and tools.
Procedures:
1) PC to printer
After connecting to TCP #22222, send the command, and wait for the response from the printer.
(2) Response printer to PC:
After the printer returns the NIC discovery data using the next response data format, it disconnects the connection.
Whendisconnected,theresponsefromthecomputercannotbeconrmed.
Format <GS> ‘0’ <NUL> n1 n2 [Discovery data]
Hexadecimal 1D 30 00 n1 n2 [Discovery data]
Parameter n1,n2:Discoverydatadatalength(n1*256+n2)
The following shows an example communication chart.
PC
SYN
SYN ACK
ACK
<GS> ‘0’ <NUL>
<GS> ‘0’ <NUL> n1 n2 [Discovery Data]
FIN
FIN ACK
ACK
Printer (TCP #22222)
(1) TCP Connection Request
(2) Send Command
(3) Receive Request
(4) TCP Disconnection Respons
e
(1) Receive TCP Connection
(2) Return Discovery Data
(3) Disconnect TCP
Note: In the drawing, some portions such as the <ACK> packet have been omitted.

Table of Contents

Related product manuals