This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Headers and Footers are not appearing in saved PDF  RSS feed

 
Jordan McNeil
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,


I'm having a problem getting the headers and footers to show up in a PDF that's generated and saved to disk. When the PDF is generated in the viewer, the headers/footers show up fine. The PDF (TempPDF.pdf) saves to the disk successfully. But, when TempPDF.pdf is opened back up, the content is there, and the headers/footers are gone. I don't know what I'm doing wrong. The code that's giving me problems is below. I'm using iText version 2 and JAVA 6.

Any help is greatly appreciated.

Thanks,
Jordan




 
john price
Ranch Hand
Posts: 495
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags. I'm not familiar with iText, so I cannot help you. By using code tags, you give yourself a way to show the community your code. It formats it for you, it's easier to read, you'll get more responses, you'll get faster responses, and it's generally accepted here.

Thanks,
John Price
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!