On Friday, November 19, 2004, at 09:27 AM, Tim Turner wrote:
> Shawn,
> Thank you! I believe you had sent me this before but I never got
> around to
> trying it and my "PDF project" got put on hold... I got your code to
> work
> and have printed out the grid. Very cool. One quick question... I
> think
> you are controlling the margins by just setting where on the page the
> loop
> starts and end drawing... i.e. params passed to horizontal_lines...
> Instead
> of trying to do it with some sort of mediabox.
> SO if I wanted to change the margins I could simply change the params
> passed
> into the line drawing sub calls. If I am mistaken please advise.
>
> Thanks again.
> Regards,
> -Tim
PDF does not have any margins. The media box is the area on the paper
where the printer can physically print. If you do not specific the
media box, the PDF reader/viewer is free to choose whatever boundaries
it wants. Usually this is full page for LETTER or 8.5 x 11 inches but
don't rely on this; the PDF reader may be configured to the locale.
For more information see the Adobe PDF Reference at
http://partners.adobe.com/asn/acrobat/docs/File_Format_Specifications/
PDFReference.pdf
You can change any parameter in the program to your heart's content.
You may want to change the color to black for laser printers.
--- Shawn
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dpFolB/TM
--------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
perl-text-pdf-modules-unsubscribe-Km8ibD4bFueDmjp1MlKEbA@xxxxxxxxxxxxxxxx
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/perl-text-pdf-modules/
<*> To unsubscribe from this group, send an email to:
perl-text-pdf-modules-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|