Print to an IPP printer (pkipplib?)

Adam Tauno Williams awilliam at whitemice.org
Wed Mar 16 15:09:11 EDT 2011


On Fri, 2010-10-15 at 15:28 -0400, Adam Tauno Williams wrote:
> I've found the module pkipplib which seems to work well for things like
> interrogating an IPP (CUPS) server.  But is there a way to send a print
> job to an IPP print queue? [and no, the local system knows nothing about
> the print architecture so popen....lp is not an option].  I just want to
> send the data from a file handle to a remote IPP queue as a print job.

I've never achieved printing to an IPP queue;  but printing to an
LPR/LPD queue (which CUPS also supports) turned out to be pretty easy.

<http://coils.hg.sourceforge.net/hgweb/coils/coils/file/0e940b13adad/src/coils/core/api/print/lpr.py>

Printing without any subprocess thunkery.





More information about the Python-list mailing list