Error 2 on OPEN “[TCP]

Started by Danilo David, May 11, 2022, 11:04:23 PM

Previous topic - Next topic

Danilo David

Error 2 on OPEN "[TCP]....

We try to open a printer (GODEX G530) on the network: OPEN "[TCP]10.1.0.58;9100;NODELAY; KEEPALIVE"

The OPEN returns after several seconds an Error  #2 , then msg(-1) returns nothing.

What could be a possible reason ?

Thank you



Stéphane Devouard

David

An error 2 on a TCP channel generally means that the remote peer (the printer) closed the connection

Regards
Stéphane Devouard
Portfolio | Work