print card landscape

Ken Ray kray at sonsothunder.com
Sun Jul 30 12:22:02 EDT 2006


On 7/30/06 9:56 AM, "Robert Mann" <robmann at gp-racing.com> wrote:

> 
> would like to change the print card script found in samples to print the
> card landscape any one know what I need to change
> 
> on printThisCard thePaperSize,theMargin
>   if thePaperSize is empty then put 612,792 into thePaperSize
>   if theMargin is empty then put 72 into theMargin
>   -- get the page area
>   set the printMargins to \
>      theMargin,theMargin,theMargin,theMargin
>   put theMargin,theMargin, \
>     item 1 of thePaperSize - theMargin, \
>     item 2 of thePaperSize - theMargin \
>     into destinationRect
>   -- print into that rectangle
>   print this card into destinationRect
> end printThisCard

I believe it is the "printRotated" that you need to change - see the docs
for more info...


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list