Printing question

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


--- Yves COPPE <yvescoppe at skynet.be> 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
> BUT
> 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
http://antispam.yahoo.com/whatsnewfree


More information about the use-livecode mailing list