[Zope-dev] Print a document !!

Morten W. Petersen morten@src.no
Fri, 14 Apr 2000 16:40:10 +0200


Oleg Broytmann wrote:
> 
> On Fri, 14 Apr 2000, Juan Javier Carrera Obrero wrote:
> > <script language="javascript">
> > window.print();
> > </script>

I think you want to inlude type="text/javascript" in the <SCRIPT> tag,
to make it forwards compatible.

> >
> > But, it only is valid for Netscape and it is not valid for Microsoft
> > Internet Explorer.
> 
>    Few days ago I saw it worked in M$ IE 5.0 (I am working on a site where
> there will be Print button, and I tested few browsers - work in Linux and
> Windows, in Netscape and Exploder...)
> 

I think it's possible to include vbscript as an alternate IE solution.
I've seen
fairly old IE's printing automagically, don't remember what version.

Regards,

	Morten