Error ZC300 Link OS



We are getting an SDK: Unexpected error when try to open a tcp connnection it happen after printing some cards
printerConnection = new TcpConnection("", TcpConnection.DEFAULT_ZPL_TCP_PORT);
catch (ConnectionException cex)
description_error = cex.Message.ToString();

Submitted by stephen.troup@… on September 27, 2022 Permalink

I've had a similar issue, I seem to recall I had to reset the network connection to allow it to clear and build a new one. Telling the printer to reset it's ethernet interface should allow it clear the error and continue to work.

I believe I called the ResetNetwork from a DeviceUtilZmotif object, this would also reset the encode over ethernet interface as well. I'd have to check my test code to confirm it though.