How to break printing in open printing with dialog

Mark Talluto mclist at canelasoftware.com
Mon Mar 20 13:54:28 CST 2006


On Mar 20, 2006, at 7:31 AM   Mar 20, 2006, Reinhold Venzl-Schubert  
wrote:

> Hi!
>
> When I use the "open printing with dialog" command, my Mac offers  
> me "Print" or "Cancel". When I choose "Cancel" metacard opens the  
> dialog again. The only way I have is to print.
>
> How can I change my script to break printing in case I choose  
> "Cancel"?
>
>   open printing with dialog
>   print marked cds
>   close printing

Hello,

I use the following script for my printing needs:

  if the platform is "MacOs" then
     open printing with dialogs
     if the result is not empty then
       exit to top
     else
       print this card
       close printing
     end if
   end if

   if the platform is "win32" then
     answer printer
     if the result is empty then
       print this card
     end if
   end if



More information about the metacard mailing list