[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 10.36.11.11 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
line.

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 ?


János



More information about the Tutor mailing list