PHP Classes
elePHPant
Icontem

PHP Printer Friendly Pages Generator: Generate HTML pages adjusted for printing

Recommend this page to a friend!

  Author Author  
Picture of Stefan Gabos
Name: Stefan Gabos <contact>
Classes: 11 packages by
Country: Romania Romania
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package can be used to generate HTML pages adjusted for printing.

It looks for certain tags in a page HTML template that delimit the page content that should be extracted from the normal page version to generate the printable version.

The class can also process links to display their URL near the link text in the printable version.

The images may also be removed from the content that is used to generate the printable version.

The printable version output is defined using a separate page template.

  Classes of Stefan Gabos  >  PHP Printer Friendly Pages Generator  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Printer Friendly Pages Generator
Base name: phpprinterfriendly
Description: Generate HTML pages adjusted for printing
Version: 1.0.0
PHP version: -
License: Free for non-commercial use
 
  Groups   Applications   Related pages   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Printing Document generation and preparation for printing View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
October 2006
Number 4


Prize: One copy of DWeb Pro Lifetime License
Many sites present alternative versions of their pages that are more suited for printing.

Usually, printable versions are made of the main page content taking out navigation bars, background images, advertising etc..

This class provides means to generate printable versions of site pages. It looks for specific tags in the pages that delimit the main page contents section. Then it uses a separate template to output the page printable version.

Manuel Lemos

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.


  Related pages  
Download the manual of this PHP class
Manual

  Files folder image Files  
File Role Description
Files folder imageexamples (1 file)
Files folder imageincludes (2 files)
Files folder imagetemplates (1 directory)
Accessible without login Plain text file ChangeLog Data change log file
Plain text file class.printer.php Class class source
Accessible without login Plain text file License Lic. license file
Accessible without login Plain text file print.php Example application script

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file example1.php Example example script

  Files folder image Files  /  includes  
File Role Description
  Plain text file class.xtemplate.php Class templating engine
  Accessible without login Plain text file license.txt Lic. license file for the templating engine

  Files folder image Files  /  templates  
File Role Description
Files folder imagedefault (2 files)

  Files folder image Files  /  templates  /  default  
File Role Description
  Accessible without login Plain text file style.css Data default template's stylesheet file
  Accessible without login Plain text file template.xtpl Data default template

Install with Composer Install with Composer - Download Download all files: phpprinterfriendly.tar.gz phpprinterfriendly.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.