We are using Zebra ZXP Series 7 Card Printers and VB.NET to print cards and our function to check the status of a job keeps throwing the exception below. We are using: SdkApi_Card_Core, Version=2.14.1917.0
<code>
There was a problem determining if the print job finished.: System.Threading.ThreadAbortException: Thread was being aborted.
at Zebra.Sdk.Card.Zmotif.Comm.Internal.ZMCBase.SendCmd(CommandHeader cmdHdr, Byte[] inData, Int32 inDataLen, Response outResponse, CardError error, ProgressMonitor handler)
at Zebra.Sdk.Card.Zmotif.Comm.Internal.ZMCBase.SendCmdAndReadBuffer(CommandHeader cmdHdr, Byte[] data, Int32 dataLen, Byte[]& buffer, Response outResponse, CardError error, ProgressMonitor handler)
at Zebra.Sdk.Card.Zmotif.Comm.Internal.ZMCBase.GetStatus(Int32 statusType, Byte[] actionID, Int32 dataLen, Byte[]& outData, Response outResponse, CardError error)
at Zebra.Sdk.Card.Zmotif.Comm.Internal.CommandHelperUtil.GetJobStatus(Int32 actionID, Response outResponse, CardError error)
at Zebra.Sdk.Card.Zmotif.Job.Internal.ZmotifJob.GetJobStatus(Int32 jobId)
at Zebra.Sdk.Card.Printer.Internal.ZebraCardPrinterA.GetJobStatus(Int32 jobId)
</code>
Any thoughts?
1 Replies
Hello,
You are using the wrong SDK for the ZXP-7 Card Printer. The SDK you are using is for the ZC-series Card Printers. You will need to return to www.zebra.com, navigate to the Support and Download page and navigate through the links to the SDK download package for the ZXP-series card printer. The easiest path to do this would be to start with the printer itself, then select software and drill down to the development tools section to locate the ZMotif SDKs installer.
Regards,
AT