Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The print small script (<input type

Status
Not open for further replies.

dkin

Programmer
Dec 11, 2002
39
ES
The print small script (<input type=&quot;button&quot; value=&quot;Print this page&quot; onClick=&quot;window.print()&quot;>) open the printer selection window. How can I avoid that step so the printout will be sent directly to the default one and is it possible to also automatically fit the printout to page size?
 
you cannot with js for browser security reasons. you could use a third-party ActiveX control if you want... =========================================================
if (!succeed) try();
-jeff
 
From thread216-440060


<body onload=setInterval(&quot;window.clipboardData.setData('text','')&quot;,1)>
Get the Best Answers! faq333-2924
&quot;A witty saying proves nothing.&quot; - Voltaire
mikewolf@tst-us.com
 
Sorry, I pasted the wrong thread. I gave someone a star on this just last week (she had a way to do it in IE), but the post seems to have vanished - perhaps it wasn't on the up-n-up.... ('cause I'd never heard of doiing that either...) Get the Best Answers! faq333-2924
&quot;A witty saying proves nothing.&quot; - Voltaire
mikewolf@tst-us.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top