This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41089
    
  44
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.
 
 
subject: How to set page numbers to PDF document
 
Similar Threads
Including fonts in PDFs using iText
Return a pdf and refresh the calling page
xsl:fo to PDF
Can a servlet convert a html page into pdf
opening a pdf from jsp page