Re: Printing without dialog in XP SP2
- From: "Michael Harris \(MVP\)" <mikhar at mvps dot org>
- Date: Mon, 11 Apr 2005 15:58:24 -0700
AndersBj wrote:
> Hi!
> I use the following script to print a web-page on our intranet
> without a print dialog.
>
> function PagePrint()
> {
> self.focus();
> document.body.insertAdjacentHTML("beforeEnd", "<object
> id='idWBPrint' width=0 height=0
> classid='clsid:8856F961-340A-11D0-A96B-00C04FD705A2'></object>");
> idWBPrint.ExecWB(6, -1);
> idWBPrint.outerHTML = "";
> }
>
> This has worked without any problems until we upgraded our clients to
> Windows XP SP2. Suddenly the print dialog appears again.
>
> Does anyone know why this happens and how it can be solved?
Google Groups : microsoft.public.scripting.vbscript
http://groups-beta.google.com/group/microsoft.public.scripting.vbscript/browse_thread/thread/80994003973cde36
--
Michael Harris
Microsoft MVP Scripting
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please ask follow-up questions via the original newsgroup thread.
.
- Follow-Ups:
- Re: Printing without dialog in XP SP2
- From: AndersBj
- Re: Printing without dialog in XP SP2
- References:
- Printing without dialog in XP SP2
- From: AndersBj
- Printing without dialog in XP SP2
- Prev by Date: Re: get ip
- Next by Date: Re: how to setup readOnly which involved with history.back();
- Previous by thread: Printing without dialog in XP SP2
- Next by thread: Re: Printing without dialog in XP SP2
- Index(es):
Relevant Pages
|