Printing question

Thomas J McGrath III 3mcgrath at adelphia.net
Mon Nov 10 13:19:05 EST 2003


on XXX
global gHistory
	open printing with dialog
	if it is cancel then
	else
		print card "XXX"
		put "XXX" into gHistory
	end if
	close printing
end XXX

Or something close to this should do it.

Tom

On Monday, November 10, 2003, at 01:08 PM, Yves COPPE 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
> yvescoppe at skynet.be
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J McGrath III
Advanced Media Group

220 Drake Rd.
Bethel Park, PA 15102
3mcgrath at adelphia.net




More information about the use-livecode mailing list