Jonathan: For a different purpose, we generate multiple PDFs in separate files and then merge them before delivery to the client. We use Apache pdfbox and so far it has been working like a dream. The only issue you will probably have is that it treats each PDF separately - you get a page break between each PDF and the page numbering restarts (for us this is OK since the user knows it is multiple reports packages into one file). I believe iText can re-paginate when you merge multiple files, btu I'm not sure about the page breaks or empty space between files.
-Lou ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LOG-NET, Inc. The Logistics Network Management System ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 230 Half Mile Road Third Floor Red Bank, NJ 07701 PH: 732-758-6800 FAX: 732-747-7497 http://www.LOG-NET.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CONFIDENTIAL & PRIVILEGED Unless otherwise indicated or if obvious from the nature of the content, the information contained herein is privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. If the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone (732-758-6800) or by electronic mail ([email protected]), and destroy any copies, electronic, paper or otherwise, which you may have of this communication. Thank you. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jonathan Levinson <[email protected]> 03/01/2010 02:46 PM Please respond to [email protected] To "[email protected]" <[email protected]> cc Subject RE: Rendering 12,000 pages This is a good idea but the customer has been unwilling to split the job. They want to format 12,000 pages all at once. Thanks for your suggestion, which should prove valuable to other customers! Pdftk seems very useful! Best Regards, Jonathan Levinson -----Original Message----- From: Peter Hopfgartner [mailto:[email protected]] Sent: Monday, March 01, 2010 2:25 PM To: [email protected] Subject: Re: Rendering 12,000 pages Jonathan Levinson wrote: > > We have a customer who would like to format and print a 12,000 page > document. > > > > If we have enough virtual memory on the machine can we give Java a > large enough heap space to render to PDF a 12,000 page document? > > > > Best Regards, > > Jonathan Levinson > > > Can you split the job? In a similar situation we print different "sections" and merge the pdf files afterwards with pdftk. Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: [email protected] Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
