Printer Friendly Pages Generator PHP Class Description
Tuesday, October 03, 2006Printer Friendly Pages Generator PHP Class Description
All you need to do is to insert some custom tags in your pages, tags that will tell the script what needs to be printed from that specific page. An unlimited number of areas can be set for printing allowing you a flexible way of setting up the content to be printed
The output is template driven, meaning that you can customize the printer friendly versions of your pages by adding custom headers, footers, copyright information or whatever extra info that you find appropriate
The script can be instructed to transform links to a readable format (<a href="www.somesite.com">click here</a> will become click here [www.somesite.com]) or to remove img tags (<img src="pic.jpg" alt="picture" /> will become [image: picture] or just [image] if no alt attribute is specified)
The code is heavily documented so you can easily understand every aspect of it
See the manual for more info.
This script was inspired by PHPrint which can be found at http://www.tufts.edu/webcentral/phprint.