Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7490 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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?

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.