This PDF is encrypted. Likely that is the reason for the blank output. I generally get the same results when I try to do anything with encrypted PDFs in PDF Box. Not sure if there is any solution though.
-Steve On Wed, Feb 15, 2012 at 1:30 PM, Joshua Nankin <[email protected]> wrote: > I realize that attachments are probably not sent out. The file can now be > found at http://joshnankin.com/in.pdf > > On Wed, Feb 15, 2012 at 3:28 PM, Joshua Nankin <[email protected]> wrote: > > > I have a file (attached) that when loaded with PDocument.load and then > > saved to another location simply saves as a blank PDF. The number of > pages > > is correct, but when opened in Acrobat, all the page names are corrupted > > and the pages are blank. > > > > Here's the code: > > > > PDDocument doc = PDDocument.load("/home/jnankin/Desktop/in.pdf"); > > doc.save("/home/jnankin/Desktop/out.pdf"); > > doc.close(); > > > > Please advise. > > > -- Steve Hannah Web Lite Solutions Corp.

