37
2) Protocol for driver (STATUS4) / ENQ response mode
When the printer received the status request command (ENQ) from the host computer, the latest printer status
is returned.
Port9100 is used for receiving the command and returning the status at the time of 1 port connection. Port
1024 is used for receiving the command, and Port1025 is used for returning the status at the time of 2-port
connection.
6.7 Notes
1) When opening and closing the same port, wait for 150 to 200ms from the closing to the opening of the port to
avoid establishing a double connection.
Double connection means that the connection request (CONNECT) is sent to the port already connected
(CONNECT (Socket OPEN)). In this case, this connection request will be rejected (Socket CLOSE).
2) Connecting and disconnecting LAN cable while the printer is on may result in communication failure. In case of
communication failure, restart the printer.
CONNECT
1 port connection: 9100
2-port connection: 1024, 1025
CONNECTED OK
Status request (ENQ)
1 port connection: 9100
2-port connection: 1024
CLOSE
1 port connection: 9100
2-port connection: 1024, 1025
DISCONNECTED