Open printing to PDF bug?
J. Landman Gay
jacque at hyperactivesw.com
Thu Sep 23 14:45:59 EDT 2010
On 9/22/10 11:09 PM, Dar Scott wrote:
> William,
>
> I tried this:
>
> on mouseUp
> reset printing
> set the printPaperSize to 595,842
> set the printPaperOrientation to "landscape"
> set the printmargins to 72,36,0,0
> set the printscale to 1.1
> open printing to pdf "test.pdf"
> -- add error check here
> print this card from 193,90 to 833,570
> -- add error check here
> close printing
> end mouseUp
>
> And I get the right part of my images, rectangles and fields cut off. It
> cuts off at the unrotated paper width.
This works for me:
set the printpapersize to "595,842"
set the printPaperOrientation to "landscape"
set the printmargins to 18,18,18,18
set the printScale to 0.85
open printing to pdf "test.pdf"
print this card from the topleft of fld 1 to the bottomright of fld 1
close printing
I got the cutoff until I scaled the printout down to 0.85; this likely
needs to be adjusted for each layout. The printmargins will also play a
role in how much it needs to be scaled. If the scaling is too large,
then it prints right off the edge of the page.
If William's original intention is to make the text larger for the
printout, then probably I'd increase the textsize of the field before
printing, then change it back afterward.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list