File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes how to eliminate header and footer while printing(using javascript) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to eliminate header and footer while printing(using javascript)" Watch "how to eliminate header and footer while printing(using javascript)" New topic
Author

how to eliminate header and footer while printing(using javascript)

Praveen palukuri
Ranch Hand

Joined: Feb 10, 2005
Posts: 65
hi,
if any one knows about the elimination of header and footer while printing(using javascript) please tell me.

Thank You,
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
Those kinds of options are configured in the browser; they're not accessible by JavaScript.


Ping & DNS - updated with new look and Ping home screen widget
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If you are talking about a header and footer on your HTML code, then you can look at CSS print media.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to eliminate header and footer while printing(using javascript)
 
Similar Threads
change printing margin using CSS
Print functionality
Hide the Header and Footer
how to remove the footer and header from a web page while printing
Changing the header and footer while taking print outs