RE: [SMARTY] Smarty outputting to PDF

From: Date: Thu, 02 Jan 2003 15:50:57 +0000
Subject: RE: [SMARTY] Smarty outputting to PDF
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6989@lists.php.net to get a copy of this message
Thanks, but I understand and use CSS extensively, and am also very familiar with alistapart :-). This is not my issue. I just want to be able to output my web content to pdf, and figured why not use smarty to build the template for it before running a smarty function to output it to PDF using pdflib. I have concerns about how it will treat HTML tags and CSS, and how it will overflow into more than 1 page. I've never used pdflib before, nor am I a pdf or PHP expert. I did find a class on PHPCLASSES but it seemed very complicated...maybe it IS complicated anyway, I just haven't found a definitive guide as yet. Hopefully I'll find something to help in the struggle! Thanks again Simon H > -----Original Message----- > From: philippe.morange@ca-indosuez.com > [mailto:philippe.morange@ca-indosuez.com] > Sent: Thursday, January 02, 2003 3:08 PM > To: Smarty-General > Subject: [SMARTY] Réf. : [SMARTY] Smarty outputting to PDF > > > > Hi, > > If you want to make a printer-friendly version of your > document, I think it's best to use CSS > capabilities instead of creating another version of > your document. > > With CSS you can have a style for each media you want (screen > display, printer, ...). So with > exactly the same document, you have a presentation for > the screen, a presentation for > printing (without the banners and menus for example). > > See www.alistapart.com for more information on how to do it. > > > > I think this would be the cleanest way of doing it. > > But if you want to store the document, pdf would be a good solution... > > > > tschüss, > > Philippe. > > > > > > > > > > > "Simon H" <simon.hamilton@ntlworld.com> le 02/01/2003 14:32:46 > > Pour : "Smarty-General" <smarty-general@lists.php.net> > cc : (ccc : Philippe MORANGE/EST/DOSI/BANQUE_INDOSUEZ/FR) > Objet : [SMARTY] Smarty outputting to PDF > > > Has anyone tried to output to PDF using Smarty? > > Is it possible? > > Can anyone provide examples? > > I'd like to provide the option for users of my site to output > the page to PDF like in printer friendly mode, for which I > already have done a template. > > If anyone has done something like this I'd be very grateful > if you would share your experiences. > > Thanks > > Simon H > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.smarty.general (#6989) next »