Login   Register  
PHP Classes
elePHPant
Icontem

PHP Print

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

  Author  
Picture of Mick Sear
Name: Mick Sear is available for providing paid consulting. Contact Mick Sear .
Packages: 8 Browse all classes by Mick Sear Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 40
All time rank: 392 in United Kingdom United Kingdom
Week rank: 77 Down1 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
This package provides an abstract interface for printing documents.

Currently the package includes one implemented class that allows printing of basic text or preformatted (.prn) document files using the LPR protocol

The data to be sent to the printer can be either a filename or a string.

The driver interface provides hooks in the code to allow development of printer filters (drivers). Other driver classes can be developed to implement custom printer filtering like for instance to send documents to Postscript printers.

  Classes of Mick Sear  >  PHP Print  >  Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Print
Base name: php_print_lpr
Description: Abstraction for printing documents
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 11978 users
All time rank: 82
Week users: 14 users
Week rank: 119 Down
 
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Trackback   Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Printing Document generation and preparation for printing View top rated classes

  Files folder image Screenshots  
Screen grab of sample output
File Role Description
Accessible without login Image file example.gif Screen Screen grab of sample output


  Innovation Award  
PHP Programming Innovation award nominee
September 2005
Number 5

Prize: One copy of DWeb Pro Lifetime License
Many Web applications need to provide means to print documents that they generate.

Printing documents is a task that can be implemented in ways that depend on the device into which the documents are printed, and also on the operating system in use.

This class provides an abstract interface that separates the generation of document printing data from the actual printing process. Many drivers can be developed to support different types of printing processes.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (85.4%)
Good (81.2%)
-
Good (89.6%)
-
-
Not sure (59.8%)
861
Month:
Not yet rated by the users

  Trackback links  
Link Description
Generate and print barcode (Spanish) In PHP LPR tenes 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.

  Related links  
Link Description
RFC 1179 LPR specification

  Files folder image Files  
File Role Description
Plain text file lpr_example.php Example Example of use
Plain text file PrintSend.php Class Abstract Class
Plain text file PrintSendLPR.php Class LPR class
Plain text file test.txt Data Test data file

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