PHP Classes
elePHPant
Icontem

PHP Print: Abstraction for printing documents

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (8)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-08-23 (12 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 14,779 This week: 7All time: 61 This week: 74Down
Version License PHP version Categories
php_print_lpr 1.0.0GNU Lesser Genera...5PHP 5, Printing
Description Author

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.

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
Name: Mick Sear is available for providing paid consulting. Contact Mick Sear .
Classes: 8 packages by
Country: United Kingdom United Kingdom
Age: 44
All time rank: 372 in United Kingdom United Kingdom
Week rank: 86 Down4 in United Kingdom United Kingdom Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots  
  • example.gif
  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:14,779
This week:7
All time:61
This week:74Down
User Ratings User Comments (4)
 All time
Utility:87%StarStarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:-
Examples:90%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1183
 
nice
1 year ago (Infonet)
70%StarStarStarStar
good game
1 year ago (muabshir)
70%StarStarStarStar
This works very well and was very easy to implement
4 years ago (Billy Hallman)
70%StarStarStarStar
Lite code for good function
8 years ago (Serge IZOARD)
67%StarStarStarStar