Mike, that would be a realy great thing! Far as I know there are a few server sided pdf librarys for java. Integrating this in Magnolia would be a killer feature. If anybody makes some effort in implementing this:
Please let is know! :-) Sandor > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 15. September 2005 09:36 > An: [email protected] > Betreff: Re: [magnolia-user] Printable version > > Has anyone gone a step further and tried to produce a hard copy of the > contents of a tree of nodes - perhaps a pdf document of the pages as > they would be rendered? > > Cheers > > Mike > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: 14 September 2005 21:41 > To: [email protected] > Subject: Re: [magnolia-user] Printable version > > > François-Léonard, > > You could also use JavaScript to print a page. Here is the code. Hope > it helps: > > <SCRIPT Language="Java-script">function printit(){ > if (window.print) { > window.print() ; > } else { > var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 > CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; > document.body.insertAdjacentHTML('beforeEnd', WebBrowser); > WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog > box WebBrowser1.outerHTML = ""; > } > } > > <input name="Print" onClick="window.print();return false" type="button" > value="Print this page"> > > Monir > > ----- Original Message ----- > From: François-Léonard Gilbert <[email protected]> > Date: Wednesday, September 14, 2005 10:15 am > Subject: [magnolia-user] Printable version > > > Hi! > > > > I am trying to implement a "Print version" of my pages. As I have > > seen it done on www.basilea.com, it seems to be possible. > > > > My question is: how should I go about doing this? Are there many > > ways, and which are best? > > > > Thanks, > > François-Léonard Gilbert > > > > ---------------------------------------------------------------- > > for list details see > > http://www.magnolia.info/en/magnolia/developer.html > > ---------------------------------------------------------------- > > > > > ---------------------------------------------------------------- > for list details see http://www.magnolia.info/en/magnolia/developer.html > ---------------------------------------------------------------- > > > > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/magnolia/developer.html > ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
