Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing using Javascript

 
sajeev JS
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 319
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic