I have a printer that sometimes stops. Since this is on a headless machine, I don't see it and users are upset..
Using Applescript I can see that the printer is stopped, but I can't figure out how to start it again without using "System Events".
Does anyone know how to do that.
I'm thinking it would be something like: set thePrinter's status description to idle
Thanks
Below is the result of my query of my "stopped" printer. tell application "Printer Setup Utility" get current printer --> printer "XeroxPhaser6300DN-192.168.44.103" get properties of printer "XeroxPhaser6300DN-192.168.44.103" --> { kind:"Xerox Phaser 6300DN", status description:"Stopped", name:"XeroxPhaser6300DN-192.168.44.103", class:printer, status:stopped } set status of printer "XeroxPhaser6300DN-192.168.44.103" to idle end tell
|