Printing question

Jan Schenkel janschenkel at
Mon Nov 10 13:13:43 EST 2003

--- Yves COPPE <yvescoppe at> wrote:
> Hello,
> I have such a script :
>      open printing with dialog
>      print card "xxx"
>      close printing
> So when the user has done, I add a little line after
> an historic
> if the user has Canceled the print in the dialog, I
> don't have to add 
> the line in the historic
> So how can I know if the print has happened or has
> been canceled ?????
> Or how can I know if the user has clicked "Print "in
> the dialogBox of 
> his printer or has canceled the Dialog
> Greetings.
> Yves COPPE

Bonsoir Yves,

Maybe I can actually help you this time ; a copy from
the Transcript Dictionary entry for 'open printing' :
"If the open printing with dialog form is used, and
the user cancels the print dialog box, the result is
set to 'Cancel'."

Best regards,

Jan Schenkel.

"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

More information about the Use-livecode mailing list