wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes How to set page numbers to PDF document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to set page numbers to PDF document" Watch "How to set page numbers to PDF document" New topic
Author

How to set page numbers to PDF document

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
hi,

Anyone please tell me how to add page number to my generated PDF (itext)?


Thanks,
Kumar
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
Check out the iText example in the CodeBarn. It uses a footer that includes the page number.


Ping & DNS - my free Android networking tools app
Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
thank you Ulf ,

its working now.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to set page numbers to PDF document