Invalid printer name

I am trying to print to a zebra ZP 450 using raw type, but I am getting an invalid printer name error returned when getting to the openPrinter() within the SendBytesToPrinter function. I can find Microsoft XPS writer printer just fine. The printer has been printing great from other software and I've triple checked the printer name. Any ideas what could be going wrong with the discovery? My code is based on this - SendToPrinter/RawPrinterHelper.cs at master · andyyou/SendToPrinter · GitHub

Hello,

Your code may have some issues on Windows 10. What is a version of your Windows OS?

Dmitry Prokhorov
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’