Re: Printer Setup Utility, starting a stopped printer.
Re: Printer Setup Utility, starting a stopped printer.
- Subject: Re: Printer Setup Utility, starting a stopped printer.
- From: Peter Baxter <email@hidden>
- Date: Fri, 30 Mar 2007 21:17:49 +1000
I've been a bit stumped with your problem, but this is the best I can do. I know it's a GUI solution but I got stuck on what should have been very simple as a UNIX script using lp and resume.
Anyway, here is a GUI method of resuming printing:
tell application "Printer Setup Utility" set app_name to (path to library folder from user domain as Unicode text) & "Printers:" & name of current printer & ".app" end tell tell application app_name activate end tell try tell application "System Events" tell process "iP4000" --app_name click the menu item "Start Jobs" of the menu "Printer" of menu bar 1 end tell end tell on error return false end try
Peter Baxter Director of Music Ararat Community College Barkly St West Ararat Victoria 3377 Ph: 0353524177
email: email@hidden
"If a child hears good music from the day of birth, the child develops sensitivity, discipline and endurance as well as a beautiful heart."
-- Shinichi Suzuki, music teacher |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden