PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Error 2 on OPEN “[TCP]  (Read 762 times)

Danilo David

  • Member
  • **
  • Posts: 18
    • View Profile
Error 2 on OPEN “[TCP]
« on: May 11, 2022, 11:04:23 PM »
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

  • Diamond Member
  • *****
  • Posts: 122
  • PxPlus guru with skills in PHP, JS, C#, Java
    • View Profile
    • Stéphane's Web Resume
Re: Error 2 on OPEN “[TCP]
« Reply #1 on: May 12, 2022, 06:26:42 AM »
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