ksublondie has asked for the wisdom of the Perl Monks concerning the following question:
I'm using PDF::API2 to create documents that are non-letter sized. Even though the pages are the correct size, when I go into the print dialog box of the open document, the paper size/type/etc is still set to letter and the printer can't automatically pick the correct printer tray.
Is there a way to programatically set these fields?
update
Here's my current code:
foreach (@data){ $line=144; $page= $pdf->page(); $page->mediabox('Legal'); $page->trimbox('Legal'); ... }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: PDF::API2 page setup
by Perlbotics (Archbishop) on Aug 17, 2011 at 23:12 UTC | |
by ksublondie (Friar) on Aug 18, 2011 at 04:12 UTC | |
by snoopy (Curate) on Aug 18, 2011 at 05:05 UTC | |
by ksublondie (Friar) on Aug 18, 2011 at 16:27 UTC | |
Re: PDF::API2 page setup
by Neighbour (Friar) on Aug 18, 2011 at 10:24 UTC | |
by ksublondie (Friar) on Aug 18, 2011 at 17:34 UTC |
Back to
Seekers of Perl Wisdom