Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Print page without getting system print dialogbox...


Message #1 by STG@e... on Wed, 12 Dec 2001 22:55:30 +0100
I ment you can not.
sorry for misprint

-----Original Message-----
From: Oleg Kapeljushnik [mailto:c-oleg.kapeljushnik@w...]
Sent: December 12, 2001 5:14 PM
To: JavaScript HowTo
Subject: [javascript_howto] RE: Print page without getting system print
dialogbox...


You can print page from browser not using dialog box.
It one of the browser protection.
Otherwise people could finish your ink and paper when you will go to they
site..:):).
But, I guess you can configure user browser that way that it will trust
your site and let you print without Dialog box.

Oleg.

-----Original Message-----
From: STG@e... [mailto:STG@e...]
Sent: December 12, 2001 4:56 PM
To: JavaScript HowTo
Subject: [javascript_howto] Print page without getting system print
dialogbox...


Hi,

I need to print a number of choosen pages from a browser,
and I would like it to be in a way so that the user should not
click okay for every page that is send to the printer.

My plan is to open x-number of pages and for each of them
issue the window.print() - but I get a print dialog-box for each
of them... :-/

Another option is to load them all in one document, but because
they might have different stylesheets that seems hard to do, the
layout will be unpredicteble...

Any soloutions to this issue? :-)

Thanx in advance!

Sten Hougaard


$subst('Email.Unsub').


$subst('Email.Unsub').


  Return to Index