LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IsOffline PrintQueue Not working

I am using an example called "Programmatically Purge All Print Jobs on Local Printers" from PFlores. In this VI there is a property node called PrinterQueue, and is set to retrieve all printers names availables on my PC. The names are all found successfully everytime. I tried to add another item on the same property node called IsOffline, to find what printers are offline and online. This function is always returning False values regardless of printers being off or on. Does anybody knows if I need to do something else? Regards,
0 Kudos
Message 1 of 2
(2,698 Views)
I have not seen that example, but it sounds like it is using the system.printing .NET namespace. My reccollection is that the offline status is only updated when a print job is actually sent, not in real time. Bit of a pain, perhaps it is printer dependent.
0 Kudos
Message 2 of 2
(2,690 Views)