Printing options from answer printer

Joe Lewis Wilkins pepetoo at cox.net
Tue Nov 11 02:54:09 EST 2008


Bill,

As Jan pointed out you need to define the pageRect like: 0,0,612,792   
or some such. Not just a point.

I didn't know about the "as sheet" part of the statement. Thanks for  
point the out.

Joe Wilkins

On Nov 10, 2008, at 11:18 PM, Bill Vlahos wrote:

> Joe,
>
> I can't get that to work. I must have the syntax wrong but I'm not  
> seeing how it is wrong.
>
> Make a new mainstack and put the following script in a button.
>
> on mouseUp
>   answer printer as sheet
>   if the result is not "Cancel" then print this card from topLeft to  
> rightBottom into 72,72,72,72
> end mouseUp
>
> The script editor doesn't complain about anything until you run it.  
> The it generates the following error.
> execution error at line 8 (print: coordinate not a point) near  
> "topLeft", char 1
>
> Bill








More information about the use-livecode mailing list