Printer status

I have done a search for this topic and found nothing. Is there a way to check a printer status (available/ready/online) before sending a print job to the printer?


It looks like you’re going to need some native driver library to connect to the printer. Here’s an example for the Windows win32print:

Also check this stackoverflow link for the printer codes.

Looks lioke it might work but I cannot get win32print to import to my app module.

Yea, that’s because win32print is a Python 3rd party extension library and Python libraries aren’t easy to implement in Jython (that’s what Ignition uses).

I found this old forum posts which might work out well for ya: