Connection and Disconnection of session
Following is the procedure for connection and disconnection of Port 1 (for print data) and Port 2 (for
status return) and Port 3 or Port 1 (for send/return port) in socket server functions.
1) Print data port (Port1), Status return port (Port2)
Host
CONNECT
(Port1, Port2)
CONNECT success
Print data
( Port1 )
Status request
(Port1)
Print data
(Port1)
CLOSE
(Port1,Port2)
CONNECT
end
693
This product
LISTEN
ACCEPT
Print by printer
Printer Status
(Port2)
Print by printer
CLOSE
LISTEN