Error ZC300 Link OS


Audience
Tags

Hello

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

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.