PHP Classes
elePHPant
Icontem

PHP Print: Abstraction for printing documents

Recommend this page to a friend!

  Author Author  
Picture of Mick Sear
Name: Mick Sear <contact>
Classes: 8 packages by
Country: United Kingdom United Kingdom
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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 Download .zip .tar.gz  >  Support forum Support forum (6)  >  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: 1.0.0
PHP version: 5
License: GNU Lesser General Public License (LGPL)
 
  Groups   Screenshots Screenshots   Trackback  
  Applications   Related pages   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  
example.gif
File Role Description
Accessible without login Image file example.gif Screen Screen grab of sample output


  Recommendations  

Printing page setting dynamically
Need to print page setting options dynamically


  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

  Pages that reference this package  
Generate and print barcode (Spanish)
In PHP LPR tenes this class...

Latest pages that reference packages Latest pages that reference packages


  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  
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

Install with Composer Install with Composer - Download 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.