After upgrade new version (ZXP 9 Series) printer, Card printing logic didnt work

J Jayasudhan Rajiah 3 years 4 months ago
40 1 0

Hi Team,

Where does the error appear, is it from your application?
We are facing the below-described issues connect newer ZXP Series 9 Printers from 8 version. We didnt make any changes in the card printing. It was working good in the Series 8
SetCardType Failed (65008) -  SDK: Invalid argument.

SetCardType Failed (65008) - Invalid/Unknown card type.
   at ZMOTIFPRINTERLib.IJobControl.set_CardType(String pVal)
   at MichudaRemotePrintBadge.RemotePrintBadgeService.PrintBadge(Badge badge) in C:\inetpub\wwwroot\Michuda\RemotePrintBadge\MichudaRemotePrintBadge\RemotePrintBadgeService.cs:line 803
   at MichudaRemotePrintBadge.RemotePrintBadgeService.PollService() in C:\inetpub\wwwroot\Michuda\RemotePrintBadge\MichudaRemotePrintBadge\RemotePrintBadgeService.cs:line 429

Object reference not set to an instance of an object.
   at ZMTGraphics.ZMotifGraphics.DrawImage(Byte[]& imageData, Single x, Single y, Int32 imgWidth, Int32 imgHeight, Single opacity)
   at MichudaRemotePrintBadge.RemotePrintBadgeService.PrepareBadge(Badge badge, Byte[]& bmpFinalBadgeImage) in C:\inetpub\wwwroot\Michuda\RemotePrintBadge\MichudaRemotePrintBadge\RemotePrintBadgeService.cs:line 559
   at MichudaRemotePrintBadge.RemotePrintBadgeService.PrintBadge(Badge badge) in C:\inetpub\wwwroot\Michuda\RemotePrintBadge\MichudaRemotePrintBadge\RemotePrintBadgeService.cs:line 783
   at MichudaRemotePrintBadge.RemotePrintBadgeService.PollService() in C:\inetpub\wwwroot\Michuda\RemotePrintBadge\MichudaRemotePrintBadge\RemotePrintBadgeService.cs:line 429

Then, finally we reverted all the changes back to the same as it was for series 8 printer.

2. Printer serial number.

Z9J182600027

3. Type of card, thickness and size used (is it from Zebra, provide part number).

Part #104523-111 Premier PVC 30 MIL
        PVC,RE-XFER RDY

4. How the print job sent (USB/Ethernet).

Ethernet

5. How the print job done (driver/application/command) - Please state application name.

Windows application service

6. Were there any changes done before issue occur?

Only changed the Printer to ZXP series 9

7. What operating system you are on (Windows 7/8/10).

Windows Server 2012 R2 – x64 bit os

8. Please provide the card design file/script for our testing if possible.

Attached images

9. Attach screen shot that showing the driver and firmware version.

Attached images

10. Ribbon part number used.

This is the ribbon we were ordering for Series 8, it seems to be identical: RBN ZXP8 I Series 4 Panel YMCK. Note this was the old machine.  What’s installed in the new XP9, is the printer roll that came with it.

Please Register or Login to post a reply

1 Replies

S Stephen Troup

I think the issue is when the card type is set - the ZXP 8 has a set of predefined card types, and is set via string in the sdk

SetCardType Failed (65008) - Invalid/Unknown card type.
   at ZMOTIFPRINTERLib.IJobControl.set_CardType(String pVal)

The ZXP 9 has a new set of predefined types and the one your using is from the ZXP 8 so the printer is rejecting it and throwing the error.

I got around this by always using "Custom 1" and changing it to match my required settings as this setting is present on the 8 and 9.

CONTACT
Can’t find what you’re looking for?