This kind of exception can happen in several circumstances. Have you opened the connection? Is the printer on? Please verify.
Hi, Robin. Thank you for the contact.
The printer is turned on.
In the line of code: connection.open (); The connection is open and tested.
I do not know what to check.
Would you help me?