jQuery in Action, 2nd edition
The moose likes JSP and the fly likes Printing using Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Printing using Javascript" Watch "Printing using Javascript" New topic
Author

Printing using Javascript

sajeev JS
Greenhorn

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.
regards
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.
Sudharsan
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Printing using Javascript
 
Similar Threads
javascript for disable back button
Printing using Javascript
logically disaple the browser back button
Disable a link when it clicks once, using javascript
The Most Annoying Web Page In the World