[Perl-pdf-devel] PDF::Create and page rotation
Status: Beta
Brought to you by:
ftassin
From: Ewan L. <ej...@ma...> - 2001-07-23 12:31:10
|
I have just started using the PDF::Create module, and am trying to get the page to rotate 90 degrees (or print in landscape if there's a better way to do it. I am currently trying to do this with: my $root = $pdf->new_page('MediaBox' => $pdf->get_page_size("a4"),'Rotate'=>90) ; which seems to be correct in the documentation but get the error: Can't use string ("90") as an ARRAY ref while "strict refs" in use at /usr/opt/p erl5/lib/site_perl/5.005/PDF/Create.pm line 194. Any ideas? I am running 5.005_03 on AIX4.3 with PDF::Create 0.06 downloaded from Sourceforge. Thanks in advance, Ewan Leith FWL Technologies Ltd Tel: 0161 283 4040 Fax: 0161 283 4051 Web: http://www.fwltech.com/logistics Mailto:ej...@ma... |