Réf. : [SMARTY] Smarty outputting to PDF

From: Date: Thu, 02 Jan 2003 15:07:32 +0000
Subject: Réf. : [SMARTY] Smarty outputting to PDF
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6987@lists.php.net to get a copy of this message
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

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