View Full Version : modding this script to output two pages

06-16-2008, 11:45 AM

Instead of printing just one page, I want it to print the same page twice.

I have tried adding the number, 2 to various places but it doesn't seem to do it for me.

<form action="javascript:print();" method="post">
<input type="submit" action="javascript:print();" name="button" value="print the page" />

if possible, I'd like it just to print woithout bringin up the 'print' window, where you choose number of copies etc.

Any ideas?


Philip M
06-16-2008, 01:36 PM
I don't think this is possible. Print is part of the operating system and the print window cannot be over-ridden. When I tried onclick = "print();print()" it locked up my browser.

06-17-2008, 02:33 AM
Thanks Philip.

I guess then that I need to find a M$ way of telling the OS to do it - which would likely make it not work for those on a different OS. :(

Hmmm, I thought I had advanced myself with the notion that everything was possible - it was just a matter of difficulty :) (some one's sig I think). It seems that it is still difficult :D

Ho Hum.