display print preview dialog, not print dialog

Discussion in 'Javascript' started by Matt, Nov 20, 2004.

  1. Matt

    Matt Guest

    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!!
    Matt, Nov 20, 2004
    #1
    1. Advertising

  2. Matt

    Randy Webb Guest

    Matt wrote:

    > 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?


    Not in a default security, non-ActiveX environment.

    --
    Randy
    comp.lang.javascript FAQ - http://jibbering.com/faq
    Answer:It destroys the order of the conversation
    Question: Why?
    Answer: Top-Posting.
    Question: Whats the most annoying thing on Usenet?
    Randy Webb, Nov 20, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Herfried K. Wagner [MVP]

    Re: Print Preview and images....

    Herfried K. Wagner [MVP], Aug 19, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,075
    Herfried K. Wagner [MVP]
    Aug 19, 2003
  2. Neo Geshel
    Replies:
    19
    Views:
    1,051
    Chris Beall
    Aug 2, 2005
  3. Replies:
    2
    Views:
    462
  4. Replies:
    0
    Views:
    981
  5. keto
    Replies:
    0
    Views:
    908
Loading...

Share This Page