Print from TL to BR - doesn't

J. Landman Gay jacque at hyperactivesw.com
Wed Mar 1 01:16:23 EST 2006


Hershel Fisch wrote:

> On mouseUp
>   set the backgroundcolor of me to white
>   set the printmargins to 72,72,72,72
>   --answer printer
>   print me from  topLeft to bottomRight
> End mouseUp

There's the problem, in the last line. You need:

   print this cd from (the topLeft of this cd) to (the bottomRight of 
this cd)

I don't think you want to use "me" here, if this is a button script. You 
probably want to print the card, so you have to refer to "this card" 
specifically.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the Use-livecode mailing list