I am developing an application in .Net(csharp 4.0) which detects if zebra printer is installed and then send a barcode to printer in zpl if zpl is suppported otherwise in EPL. How can I check If zebra printer is installed or is available on network(shared printer) and if so, it supports zpl or epl. I thought to check Device Id. but it looks device id is just display name and is changed when I change the printer name from printers and devices.
thanx
You don’t want to check on model-name. Instead, you check which drivers are controlling printers. After all– A ZPL capable printer is going to be using a Zebra printer driver. And you can check the drivername property as demonstrated below. There are, of course, many more properties available about the printer in question.