• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I get A Footer on the First Page of a PDF Document  RSS feed

 
Stanley Mungai
Ranch Hand
Posts: 155
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys Please I need urgent Help or I am going to miss my Christmas, I have a Disclaimer as a Footer of My PDF Document. The poblem is the Disclaimer is not Appearing on the First Page but it is showing in all the Other Pages.....This is the Code am Using....

fontfooter.setColor(Color.WHITE);
Phrase phrase1 = new Phrase("DISCLAIMER: I make no representation of Warranty, whether express or implied, as to the integrity, accuracy, completeness or reliability of any information contained herein." , fontfooter1 );
HeaderFooter footer = new HeaderFooter(phrase1, false);

output.setFooter(footer);



 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There’s no such thing as “urgent” here.
 
Stanley Mungai
Ranch Hand
Posts: 155
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:There’s no such thing as “urgent” here.


Thanks Richie for noting that. I actually resolved the Problem One just need to Add the footer Before Opening the Document and then Right Below the Output.setFooter(footer), you add
output.newPage();
and it Works like a miracle. No need for Urgency. You are right Sir.
 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!