Jon's Notes

December 01, 2004
Talking to a LaserJet with PHP I recently found this article on using C# to display messages on the LCD screens of LaserJet printers. The sample code compiled and ran cleanly with mono, even though the version of mono that I was using was nearly a year old.
So anyway, I was playing around with it and mentioned it to a few people. One of them, Kevin, decided to write an implementation in PHP. We hunted around with Google looking for a PCL refrence. This continued until we found a decent one. Thus equipped, Kevin quickly wrote a command line PHP script to send messages to the printer. Shortly after that, we turned it into a web form. I polished up the HTML and took some pictures. Then we went back and added some validation code to ensure that only the LCD message was updated.
You can see the result here.
Comments: Post a Comment


<< Home

Old Stuff

August 2002 September 2002 October 2002 November 2002 December 2002 January 2003 February 2003 March 2003 May 2003 June 2003 July 2003 August 2003 September 2003 October 2003 November 2003 December 2003 February 2004 March 2004 April 2004 May 2004 June 2004 July 2004 August 2004 September 2004 October 2004 November 2004 December 2004 January 2005 February 2005 March 2005 April 2005 May 2005 June 2005 July 2005 August 2005 September 2005 October 2005 November 2005 December 2005 January 2006 February 2006 May 2006 June 2006 July 2006 August 2006 October 2006 November 2006 December 2006 January 2007 March 2007 April 2007