10-11-2017 06:53 AM
Hello,
I am currently using LabWindows to write a program which automates a printing process.
I have two Argox CP-3140L printers. One printer prints labels and the other prints barcodes, so in my program each printer gets sent a text file containing the template to be printed. For this reason, it is important that my program knows which printer is which in order to send the correct template.
The problem I am running into is distinguishing the printers. I am using a API library, and there are only two functions I can use to extract information from the printers, but there is nothing unique that is being pulled to be able to distinguish the two.
Has anyone ran into any issues like this before?
Thanks!
10-12-2017 03:04 AM
You can query the location and the comment of the printer with the PRINTER_INFO_1 struct from the Print Spooler API.
Maybe that will suffice.
10-12-2017 08:52 AM
Thanks for your response, I will give that a try.