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.
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.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad: