In the example, change the address to the one that the application shows in the notification area
$connector = new NetworkPrintConnector("192.168.101.245", 9100);
- The application ignores jobs shorter than 16 bytes. The text in the example needs to be made longer.
- Data exchange is one-way. Printer responses are not emulated.
- The connection is limited in time. You have 100 seconds to start data transfer.
- Since there is no sign of the end of a print job in the protocol, a 5 second channel idle timeout is used.