Re: Problem with $pdf->page()
Alfred Reibenschuh <[email protected]> Thu, 15 Nov 2007 00:02:25 +0100
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Brendon Oliver wrote: > Hi there, > > Hopefully someone can shed some light on a problem I'm having adding pages to > a PDF file. > > We're generating a PDF report and don't know ahead of time how many pages are > going to be in the report. So in the past, the code has simply called > $pdf->page() to append each new page to the report. When we're done, we then > generate a contents page and call $pdf->page(1) to prepend the contents; then > finally generate a cover page, again calling $pdf->page(1) to prepend the > cover before the table of contents. So we basically get: > > p1 = cover > p2 = contents > p3+ = report pages > > That has been working fine on our production system which is PDF:API2 v0.0.57. > However, the same code when run on machines which have been upgraded to > v0.0.66 produce the following output: > > p1 = 1st 'report' page > p2 = cover > p2 = contents > p3+ = remaining report pages > can you try the cvs version ? fredo - -- Schonmal davon gehoert, dass nicht jeder linux user gleich ein programmierer ist, der alles, was er selber braucht, auch selber programmiert, installiert, patched, hacked oder portiert? Urks? Das ist doch nur eine Legende..... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHO36BjKJMaHhpyr4RCDKMAJwK3RT2AC394FhhDdBzuzawTBE44gCdGmQi LxRf0WEvjqQ7kY9K9Ms7Cb8= =CmQQ -----END PGP SIGNATURE-----