Login   Register  
PHP Classes
elePHPant
Icontem

PDF print

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Laurens Ramandt
Name: Laurens Ramandt is available for providing paid consulting. Contact Laurens Ramandt .
Packages: 2 Browse all classes by Laurens Ramandt Browse all classes by
Country: Belgium Belgium - PHP jobs in Belgium
Age: 21
All time rank: 13869 in Belgium Belgium
Week rank: 1094 Up7 in Belgium Belgium Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to alter a PDF document to make it print when opened.

It can open a given PDF file and regenerate it inserting special JavaScript code to make it open the print dialog when it is opened.

The altered PDF file may be saved to a given file or displayed as the current script output.

  Classes of Laurens Ramandt  >  PDF print  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PDF print
Base name: pdf-print
Description: Alter a PDF document to make it print when opened
Version: -
PHP version: 5.0
License: Q Public License (QPL)
All time users: 1304 users
All time rank: 2594
Week users: 2 users
Week rank: 1359 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
September 2010
Number 3

Prize: One downloadable copy of PhpED Professional
PDF is a format often used as a means to generate documents to be printed on paper of specific dimensions.

When a site serves a PDF document, the browser may open it but usually it is up to the user to tell explicitly the viewer program to print it.

This class provides a more user friendly solution for this problem by altering PDF documents in such way that they contain JavaScript code that makes the viewer program open the print dialog when the document is opened.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.pdffile.php Class Main class
Accessible without login Plain text file demo.class.pdffile.php Example Example use
Accessible without login Plain text file class.pdffile-loadContents.php Aux. Modified version of the script to allow direct input of PDF contents, instead of loading from a file.

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