aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Changing the header and footer while taking print outs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Changing the header and footer while taking print outs" Watch "Changing the header and footer while taking print outs" New topic
Author

Changing the header and footer while taking print outs

Aravind Prasad
Ranch Hand

Joined: Dec 28, 2005
Posts: 263
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can not change these browser efaults with JavaScript.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing the header and footer while taking print outs