display print preview dialog, not print dialog

display print preview dialog, not print dialog

Post by jrefactor » Sun, 21 Nov 2004 10:10:42


If I do the following, it will pop up print dialog. But i want to produce
"File->Print Preview" Screen. Is it possible to do that?

<input type="button" value='Print Preview' onClick='window.print();'>


thanks!!
 
 
 

display print preview dialog, not print dialog

Post by Randy Web » Sun, 21 Nov 2004 10:18:06


Not in a default security, non-ActiveX environment.

--
Randy
comp.lang.javascript FAQ - http://www.yqcomputer.com/
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?