Newbies Colin Partridge Posted May 25, 2004 Newbies Posted May 25, 2004 I have a bunch of scripts which allow the user to either print a record, or create a fax or email of it (Pagesender is king) which work very well. It does this with a combination of scriptmaker and applescript ( which polls the name of the real printer, stores it in a text field and reverts to it after the fax printer (pagesender) has done its stuff. My problem is that if the Pagesender Print dialog is cancelled then the pagesender print driver ends up being the default printer which then has to be reset manually to the real printer. Is there a way of detecting the fact that the cancel button has been pressed in the print requester window so that I can force the correct print driver to be recalled?
DykstrL Posted May 25, 2004 Posted May 25, 2004 In your print scripts, Set error capture [On] and Allow user abort [Off]. That way if the user cancels the print, your script will continue and reset the printer.
Recommended Posts
This topic is 7490 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now