I do not believe that there are any parameters to the window.print() method. I think it's goal is to trigger the Browser and OS dependant behavior of printing (eg. hitting CTRL-P on Windows)
It would generally be considered an over-reach of JavaScript to do anything more than open the print dialog. I think the best you can do is configure your workstations so that the default print settings are close to what you want. Robert From: Fogelson, Steve [mailto:[email protected]] Sent: Monday, June 28, 2010 2:20 PM To: [email protected] Subject: Witango-Talk: Print a page automatically Hi, I found that I can use the following javascript in the Body tag to open the print window when a web page loads <body style="background-color: white" onload="window.print(); window.close()" > Is there a way in Witango I can I pass the printer name to print to and select "Print" to save some clicks? Thanks Steve Fogelson Internet Commerce Solutions ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
