Print to an IPP printer (pkipplib?)

  • Thread starter Adam Tauno Williams
  • Start date
A

Adam Tauno Williams

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 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.

Isn't IPP based on HTTP?
I think you just need a HTTP POST or PUT to send the print job

--
дамјан ((( http://damjan.softver.org.mk/ )))

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
 
M

Martin Gregorie

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.

See RFC 2910.
 
A

Adam Tauno Williams

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.
See RFC 2910.

Queuing a file directly to an IPP server is possible using pycups.

<https://pypi.python.org/pypi/pycups>

Example:

<https://sourceforge.net/p/coils/code/ci/default/tree/coils/logic/workflow/actions/doc/ipp_print.py>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top