PHP Classes

JetDirect: Show a message in a printer LCD display

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 1,232 This week: 1All time: 3,100 This week: 560Up
Version License PHP version Categories
jetdirect 1.0GNU General Publi...5Networking, PHP 5, Printing
Description 

Author

This is a simple class that can be used to show a message in the LCD display of an HP printer.

It establishes a TCP socket connection to an HP printer with JetDirect support, and sends a control message that instructs the printer to show a given text in the LCD display.

Innovation Award
PHP Programming Innovation award nominee
February 2007
Number 5


Prize: One book of choice by O'Reilly
Hewlett-Packard printers are very popular. Some models have an LCD display to show important messages to the printer users.

This class can communicate with an HP printer to update the messages presented in the LCD display.

With some creativity, it can be used in applications that display other useful message to the printer users, besides those related to the actual printing process.

Manuel Lemos
Picture of Zafar Iqbal
Name: Zafar Iqbal is available for providing paid consulting. Contact Zafar Iqbal .
Classes: 8 packages by
Country: Greece Greece
Age: 50
All time rank: 2572 in Greece Greece
Week rank: 411 Down4 in Greece Greece Down
Innovation award
Innovation award
Nominee: 2x

Details

[Conversion of original C Code from 'Printer Hack 12/8/97 sili@l0pht.com'] This class provides a method to send a message string to HP printers LCD on the network which support JetDirect. Maybe it works on other printers on the network, maybe not. Very easy to use - see example code for usage. Tested on Linux - good luck on other platforms! Have Fun ;) 2007-01-16 ultrasine@gmail.com

  Files folder image Files  
File Role Description
Plain text file class-jetdirect.php Class Main Class File
Accessible without login Plain text file example.php Example Example Code
Accessible without login Plain text file readme.txt Data Readme File

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,232
This week:1
All time:3,100
This week:560Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1875