...

View Full Version : modding this script to output two pages



bazz
06-16-2008, 10:45 AM
Hi,

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" />
</form>



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

Any ideas?

bazz

Philip M
06-16-2008, 12: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.

bazz
06-17-2008, 01: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.

bazz



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum