handling print cancellation

Richard Gaskin ambassador at fourthworld.com
Wed May 28 17:08:01 EDT 2003


Yennie at aol.com wrote:

> I believe these will do the trick:
> 
> answer printer
> if (the result is "cancel") then
> ...
> end if
> 
> open printing with dialog
> if (the result is "cancel") then
> ...
> end if

Not on OS X, at least not reliably.   In OS X, the print dialog is not
actually triggered by the open printing commamd that specifies it;
accordingly the result for the open printing command will always be empty.

So instead of the behavior we've come to expect, it seems the print job
dialog open only when the print command is issued, but by that time you're
too far away from the open printing command to have any usefulness in
checking the result.

Hmmm....

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the metacard mailing list