wood burning stoves 2.0*
The moose likes JSP and the fly likes Printing using Javascript 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 » Java » JSP
Bookmark "Printing using Javascript" Watch "Printing using Javascript" New topic

Printing using Javascript

sajeev JS

Joined: May 06, 2003
Posts: 6
Dear Friends
Hi. I am in need of taking a printout in IE.
In javascript I used 'window.print()', It gave me printout but with it's own
header and footer. I can disable it in IE settings.
I want to know whether it is possible by using Javascript to set headers and footers , also I want to know How to disable the print
dialog which appears soon after I click the button which prompts me
to specify the no. of pages and all.
Any suggessions from your side will be greatly appreciated.
Sajeev Jaladharan
Sudharsan Govindarajan
Ranch Hand

Joined: Jul 03, 2002
Posts: 319
JavaScript is not designed for doing these kind of things. If you need more control over your printer settings, try an Active-X control or signed Applet.
I agree. Here's the link: http://aspose.com/file-tools
subject: Printing using Javascript
Similar Threads
Disable a link when it clicks once, using javascript
javascript for disable back button
logically disaple the browser back button
Printing using Javascript
The Most Annoying Web Page In the World