Perl::API2 PDF problem.

M

michael vernersen

I have a thing i want to do with perl::api2 pdf module.

Having search for days but i can't figure out this simple thing...

I want to create a new pdf document ( could by many pages ) where each
side should have the logo, from another pdf file ( 1 page )

The problem comes when the new pdf has more than a single page , then i
can't put the logo on the following pages.

So the best i have , and i doesn't work is :

$pdf=PDF::API2->new;
$pdf=PDF::API2->open('/pdf/1.pdf');

$pages=10; $t=0;

while ($t<$pages) {
$page=$pdf->page();
$page=$pdf->openpage(1);
$t++;
}

$pdf->saveas($filename);
$pdf->end;

Any suggestions ???????????????????

Thanks in advance...

Regards , Michael.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top