dmho...@gundluth.org wrote:
> 
> I am following the watermarks example 
>  http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.php

These are some more recent examples:
http://1t3xt.be/?X000078
http://1t3xt.be/?X0001a4

> I am trying to generate  a pdf that has a header on each page, a body of 
> notes and a footer with the page numbers.  (page 1 of 5 , etc)
> I can get this to work when I hard code the name, date of birth, account 
> number.  However when I try to pull the demographics from a database I 
> can not get it to work.  Either my header, or footer breaks.

I browsed your code, but it's too long to detect a bug immediately. I 
see plenty of logging; how many times do you see the onEndPage logging?

Also: please try the examples mentioned above first. Maybe you'll see 
something you're doing differently. When in doubt, the keywords page can 
come to the rescue: http://1t3xt.be/?X0005d6
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to