Invalid printer name

A Andrew Aspden 3 years 7 months ago
61 1 0

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

Please Register or Login to post a reply

1 Replies

D Dmitry Prokhorov

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

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