echo to rtf format

From: Date: Sat, 25 Sep 2004 02:16:26 +0000
Subject: echo to rtf format
Groups: php.general 
Request: Send a blank email to php-general+get-197805@lists.php.net to get a copy of this message
I know there is a way to print to pdf. Wh«t about rtf? I'm getting real tired of doing it myself. Must be an easier answer? header("Content-type: text/rtf"); header("Content-Disposition: attachment; filename=directory.rtf"); echo "{\\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\fnil\fcharset0 Times New Roman;}} \viewkind4\uc1\pard\qc\lang4105\b\f0\fs24 The Grand Lodge of Qu\'e9bec A.F.&A.M.\b0\par \b La Grande Loge du Qu\'e9bec M.A.F.&A.\b0\par \par \b Qu\'e9bec Masonic Directory\b0\par \b Annuaire Ma\'e7onnique du Qu\'e9bec\b0\par \par \b Autumn / Automne 2005\b0\par \par \b Published by / Publi\'e9 par\b0\par \b The Grand Lodge of Qu\'e9bec Communications Committee\b0\par \b Le Comit\'e9 des communications de la Grande Loge du Qu\'e9bec\b0\par ";

« previous php.general (#197805) next »