[Tutor] Emulate jetdirect

János Juhász janos.juhasz at VELUX.com
Thu Sep 8 14:15:28 CEST 2005

Hi All,

I just would make some kind of printer filter for an HP printer, that is
connected to a jetdirect printserver.

The functionality is something like this:
netcat -l -p 9100 | filter.py | netcat 9100

I would like to make it as a simple socketserver in python for the port
9100, reading from the socket and sending it to the real jetdirect
printserver over another socket. So it is kind of printer proxy server.
The filter would make some text processing with regular expressions on each

Another wish to use it as an intelligent printer, that can send the
printout to the e-mail address, that is somewhere in the printout. To send
order response via a printing.

netcat -l -p 9100 | senditasemail.py

Can someone show me any example to start it ?


More information about the Tutor mailing list