Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printer Setup Utility, starting a stopped printer.



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Printer Setup Utility, starting a stopped printer. (From: Thomas Myers <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.