perl::api2 pdf problem...

From: michael vernersen (michael_at_webactor.dk)
Date: 02/29/04


Date: 29 Feb 2004 09:26:38 -0800

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.



Relevant Pages

  • Re: Docs2Go v9
    ... the speed of the PDF module has been improved. ... It is painfully slow to ... Doug Hoffman ... PDF files open faster in v.9. ...
    (comp.sys.palmtops.pilot)
  • Perl::API2 PDF problem.
    ... I have a thing i want to do with perl::api2 pdf module. ... Regards, Michael. ...
    (comp.lang.perl.misc)
  • Re: [PHP] auto generated PDF
    ... is there a PDF module under PEAR or directly under PHP? ...
    (php.general)
  • Re: Sandman correct about Snits forgeries
    ... Snit has established a history of forgeries and has no credibility: ... you can even post a few PDF files and blurry JPGs if you ... Steve Mackay: "Naah. ... This time the subject is Michael who has bombarded the group ...
    (comp.sys.mac.advocacy)
  • Sandman correct about Snits forgeries
    ... Snit continues to be rampantly on the loose in COLA, ... Steve Mackay: "Naah. ... Michael is questioning the PDF of the screenshot of the mail that Steve ...
    (comp.sys.mac.advocacy)