IFBD-HE0708 BE07 User’s Manual
3-8
Communication Procedures
(1) Establish a TCP connection between the host and printer.
(2) When the NSB feature (*) is valid:
The PC sends and reads the status (NSB) sent by the printer. (Required)If the status data is not sent here, it is
possible that the printer is not ready to receive the print data, so always do this.
(3) Send Print Data
(4) When the ASB feature (*1) is valid, receive the status because the printer sends the status to the PC when its
status changes.
When the PC sends a status request command, receive because the status is returned for that command.
→ Repeat steps (3) and (4) until print data ends.
(5) Disconnect TCP connection from the host (Client) to the Printer (server).
Note: Before disconnecting the TCP connection with the printer, the PC must receive all of the status data
sent from the printer.
Note: NSB feature: Sends status to PC when TCP#9100 is connected to the port
ASB feature: Sends automatic status to PC each time there is a change on the printer
See each printer’s specifications manual and command specifications manuals for information related to
valid/invalid settings of the NSB and ASB features.
SYN
SYN ACK
<NSB Status>
<Print data>
FIN
FIN ACK
PC
Printer (TCP#9100)
<ASB Status>
ACK
ACK
Communication Chart Example (When NSB/ASB are valid)
(1) Receive TCP Connection
(2) Send Status (NSB)
(4) Send Status (ASB)
(5) Disconnect TCP Response
Printer Status
Change
Start sending
print data after
receiving NSB.
(1) TCP Connection Request
(2) Receive Status
(3) Send Print Data
(4) Receive Status
(5) TCP Disconnection Request
Note: In the drawing, description of the <ACK> packet has been omitted.