• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing the header and footer while taking print outs

 
Aravind Prasad
Ranch Hand
Posts: 265
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Java Ranchers...
How can i remove the header and footer of a html page while giving a print command..

for egs.. the default value for header and footer will be like this
header : &w&bPage &p of &P
footer : &u&b&d

the header will be showing the page title in one end and page number in other end.. the footer will be showing the URL in one end and date in the other end..

Here instead of the URL in the footer i would like to give the name of the person who is printing the document from the session..

How can i put that value.. there? please help me.. ranchers..

Thanks in advance..
regards
Aravind
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not change these browser efaults with JavaScript.

Eric
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic