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;
}
2 Replies
Hello,
Please contact Zebra Technical Support to open a support case for this issue.
https://www.zebra.com/us/en/about-zebra/contact-zebra/contact-tech-supp…
Regards,
AT
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.