• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Headers and Footers are not appearing in saved PDF

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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




 
Ranch Hand
Posts: 495
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic