PHP Classes
Icontem

Class: Print Anything


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vagharshak Tozalakyan  >  Print Anything  >  Download  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Print Anything Support forum
Base name: print_anything
Description: Make a browser print a given HTML document
Related top rated classes: , ,
Version: 0.1.1
Required PHP version: 4
License: MIT/X Consortium License
All time users: 2284 users
All time rank: 1126
Week users: 20 users
Week rank: 257
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <e-mail contact>
Published packages: 27 Browse this author's classes Browse this author's classes
Country: Armenia Armenia - PHP jobs in Armenia
Home page: http://www.tozalakyan.com/
Age: 29
All time rank: 8
Week rank: 17

Innovation Award

PHP Programming Innovation award nominee
March 2008
Number 8
Often users want to print contents of Web pages. A page can easily be printed using a button attached with some Javascript code. However, usually not everything displayed on a Web page is intended to be sent to the printer.

This class implements a clever solution that makes use of Javascript and CSS to send to the printer only the relevant parts of the page content.

Manuel Lemos

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

Detailed description

This class can be used to make a browser print a given HTML document.

It generates HTML with special Javascript code and CSS style sheet that includes the whole page in a non-printable section and adds a new page section with given HTML that you want to print, but it is not displayed in the browser.

The class can also generate links of form buttons that when clicked trigger the execution of the generated Javascript code making the browser printing dialog open to print the HTML document section that it is intended to be printed.

Each page may have multiple print links or form buttons to print distinct HTML documents.

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

File Role Description
Plain text file class.PrintAnything.php Class Class Source
Plain text file example.php Example Sample
Plain text file howto.txt Doc. Help
Plain text file test.php Aux. Example of external output (used by example.php)
Download all files: print_anything.tar.gz print_anything.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products