Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'example:': 0.03; 'url:pypi': 0.03; 'url:sourceforge': 0.03; 'rfc': 0.09; 'martin': 0.11; '(cups)': 0.16; '[and': 0.16; 'adam': 0.16; 'from:addr:awilliam': 0.16; 'from:addr:whitemice.org': 0.16; 'from:name:adam tauno williams': 0.16; 'ipp': 0.16; 'option].': 0.16; 'pkipplib': 0.16; 'popen....lp': 0.16; 'queue?': 0.16; 'queuing': 0.16; 'received:72.14.190': 0.16; 'received:72.14.190.87': 0.16; 'received:mail.wmmi.net': 0.16; 'received:wmmi.net': 0.16; 'reply-to:addr:awilliam': 0.16; 'reply- to:addr:whitemice.org': 0.16; 'subject:?)': 0.16; 'subject:IPP': 0.16; 'subject:Print': 0.16; 'subject:pkipplib': 0.16; 'subject:printer': 0.16; 'url:py': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'module': 0.19; 'url:default': 0.19; 'seems': 0.21; 'print': 0.22; 'williams': 0.24; 'server.': 0.24; "i've": 0.25; 'header:In- Reply-To:1': 0.27; 'url:code': 0.29; 'file': 0.32; 'url:python': 0.33; 'fri,': 0.33; 'received:72.14': 0.33; 'subject: (': 0.35; 'knows': 0.35; 'no,': 0.35; 'but': 0.35; 'there': 0.35; 'possible': 0.36; 'url:org': 0.36; 'received:10': 0.37; 'architecture': 0.38; 'remote': 0.38; 'server': 0.38; 'handle': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'url:p': 0.64; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'url:actions': 0.84 Subject: Re: Print to an IPP printer (pkipplib?) From: Adam Tauno Williams To: python-list@python.org Date: Wed, 10 Apr 2013 17:34:45 -0400 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: awilliam@whitemice.org List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365631088 news.xs4all.nl 2698 [2001:888:2000:d::a6]:60165 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43295 On Wed, 2010-10-20 at 14:45 +0000, Martin Gregorie wrote: > On Fri, 15 Oct 2010 15:28:10 -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. > See RFC 2910. Queuing a file directly to an IPP server is possible using pycups. Example: