EasyManua.ls Logo

Star Micronics IFBD-HE07X - 3.1.4 Status Acquisition Feature

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-9
3.1.4 Status Acquisition Feature
This product supports the printer status acquisition feature using TCP communications port 9101.
SeethetablebelowforTCPcommunicationsportspecications.
Item Specications
Remarks
Communicatino Port
Number
TCP #9101
Number of Simultaneous
Connection Sessions
8
Data reception timeout 30 seconds
• When there is a timeout, forcible disconnects connection.
When the following command and parameters are received from the computer, the printer status information (ASB) is returned.
If a command outside of the range is received, the connection is disconnected.
Commands Hexadecimal Parameters
‘2’ 32H Any 50 bytes
Procedures:
1) PC to printer
After connecting to TCP #9101, send the command and parameters, and wait for the response from the printer.
(For the parameters, we recommend 00H for all.
Data sending example:
32H
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
(2) Response printer to PC:
After the printer returns its status (ASB), it disconnects the connection.
Whendisconnected,theresponsefromthecomputercannotbeconrmed.
Seeeachprinter’scommandspecicationsmanualfordetailsontheprinterstatusinformation(ASB).
Data response example:
STAR Mode: 23H 86H 00 00 00 00 00 00 00 00 00
The following shows an example communication chart.
SYN
SYN ACK
‘2’ + 50bytes
FIN
FIN ACK
ACK
ACK
<ASB Status>
PC
Printer (TCP#9101)
(1) Receive TCP Connection
(2) Send ASB Status
(3) Disconnect TCP
(1) TCP Connection Request
(2) Send Command
(3) Receive Status
(4) Disconnect TCP
Note: In the drawing, some portions such as the <ACK> packet have been omitted.

Table of Contents

Related product manuals