Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: How do i disable the Print Dailog box i.e. silent printing?


Message #1 by "sunil gandham" <sunilbabu@h...> on Tue, 6 Nov 2001 15:57:06
Yes but it won't work on a normal site, you'll still get the box.
Joe
----- Original Message -----
From: "DANIEL RADU" <radudanielro@y...>
To: "javascript" <javascript@p...>
Sent: Wednesday, November 07, 2001 3:50 PM
Subject: [javascript] Re: How do i disable the Print Dailog box i.e. silent
printing?


>
>  You can use document.execCommand("Print",false);
> Print is one of the command identifiers like (Print, InsertIFrame etc. -
there are many, many).
> "False" says to the browser to set the UI (user interface) to false (that
means to be invisible). Of course true displays the dialog box.
>   sunil gandham <sunilbabu@h...> wrote: Hello,
> How do i disable the print dailog box when i use print function (Print())
> of javascript. I dont want the dailog box to appear, i want the printing
> to be done in silent mode.
>
> Help me out this is urgent.
>
> Thanks!
>
>
>
> ---------------------------------
> Do You Yahoo!?
> Find a job, post your resume on Yahoo! Careers.
>
>
>


  Return to Index