<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: pycups</title>
	<atom:link href="http://cyberelk.net/tim/software/pycups/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyberelk.net/tim</link>
	<description></description>
	<lastBuildDate>Wed, 23 May 2012 15:56:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: tim</title>
		<link>http://cyberelk.net/tim/software/pycups/comment-page-3/#comment-40835</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Fri, 06 Apr 2012 15:14:01 +0000</pubDate>
		<guid isPermaLink="false">http://cyberelk.net/tim/software/pycups/#comment-40835</guid>
		<description>cups.Connection.getDests() returns a dict whose values each have an is_default attribute.  That will reflect the user&#039;s personal default setting.

To find out which is the default printer for a given server, examine the &#039;printer-type&#039; attribute in the return value of cups.Connection.getPrinterAttributes(): it is a bitmap, and CUPS_PRINTER_DEFAULT is one of those bits.</description>
		<content:encoded><![CDATA[<p>cups.Connection.getDests() returns a dict whose values each have an is_default attribute.  That will reflect the user&#8217;s personal default setting.</p>
<p>To find out which is the default printer for a given server, examine the &#8216;printer-type&#8217; attribute in the return value of cups.Connection.getPrinterAttributes(): it is a bitmap, and CUPS_PRINTER_DEFAULT is one of those bits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zac</title>
		<link>http://cyberelk.net/tim/software/pycups/comment-page-3/#comment-40832</link>
		<dc:creator>zac</dc:creator>
		<pubDate>Fri, 06 Apr 2012 15:01:11 +0000</pubDate>
		<guid isPermaLink="false">http://cyberelk.net/tim/software/pycups/#comment-40832</guid>
		<description>Thank you for writing this wonderful module.  It defiantly will make my time working with printer abstractions in UNIX much easier for my program.

Question though:  is there any attribute or method to find what is marked as the default printer with?  All I could find in the documentation about it is CUPS_PRINTER_DEFAULT, but I&#039;m not sure where this is exposed in the actual printer attribute list.</description>
		<content:encoded><![CDATA[<p>Thank you for writing this wonderful module.  It defiantly will make my time working with printer abstractions in UNIX much easier for my program.</p>
<p>Question though:  is there any attribute or method to find what is marked as the default printer with?  All I could find in the documentation about it is CUPS_PRINTER_DEFAULT, but I&#8217;m not sure where this is exposed in the actual printer attribute list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://cyberelk.net/tim/software/pycups/comment-page-3/#comment-40148</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Mon, 26 Mar 2012 04:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://cyberelk.net/tim/software/pycups/#comment-40148</guid>
		<description>I left a comment about building this on FreeBSD: turns out its in the ports collection there.</description>
		<content:encoded><![CDATA[<p>I left a comment about building this on FreeBSD: turns out its in the ports collection there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://cyberelk.net/tim/software/pycups/comment-page-3/#comment-40146</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Mon, 26 Mar 2012 03:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://cyberelk.net/tim/software/pycups/#comment-40146</guid>
		<description>I seem to be missing some bits. This is on a FreeBSD 8.2 system with cups 1.5.2 installed. I&#039;ll reinstall it in a minute and see if that clears it up. Not sure about the python bindings for avahi which I guess I also need…

Running pycups-1.9.61/setup.py -q bdist_egg --dist-dir /tmp/easy_install-QdiX77/pycups-1.9.61/egg-dist-tmp-zYalnU
cupsmodule.c:23:23: error: cups/cups.h: No such file or directory
cupsmodule.c:24:27: error: cups/language.h: No such file or directory
In file included from cupsmodule.c:26:
cupsmodule.h:25:28: error: cups/adminutil.h: No such file or directory
cupsmodule.h:53:2: error: #error pycups requires CUPS 1.2.x
In file included from cupsmodule.c:33:
cupsconnection.h:24:23: error: cups/http.h: No such file or directory
In file included from cupsmodule.c:33:
cupsconnection.h:37: error: expected declaration specifiers or &#039;...&#039; before &#039;http_t&#039;</description>
		<content:encoded><![CDATA[<p>I seem to be missing some bits. This is on a FreeBSD 8.2 system with cups 1.5.2 installed. I&#8217;ll reinstall it in a minute and see if that clears it up. Not sure about the python bindings for avahi which I guess I also need…</p>
<p>Running pycups-1.9.61/setup.py -q bdist_egg &#8211;dist-dir /tmp/easy_install-QdiX77/pycups-1.9.61/egg-dist-tmp-zYalnU<br />
cupsmodule.c:23:23: error: cups/cups.h: No such file or directory<br />
cupsmodule.c:24:27: error: cups/language.h: No such file or directory<br />
In file included from cupsmodule.c:26:<br />
cupsmodule.h:25:28: error: cups/adminutil.h: No such file or directory<br />
cupsmodule.h:53:2: error: #error pycups requires CUPS 1.2.x<br />
In file included from cupsmodule.c:33:<br />
cupsconnection.h:24:23: error: cups/http.h: No such file or directory<br />
In file included from cupsmodule.c:33:<br />
cupsconnection.h:37: error: expected declaration specifiers or &#8216;&#8230;&#8217; before &#8216;http_t&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Linux User Group &#187; Як зібрати KDE 4.1.1</title>
		<link>http://cyberelk.net/tim/software/pycups/comment-page-3/#comment-34864</link>
		<dc:creator>Linux User Group &#187; Як зібрати KDE 4.1.1</dc:creator>
		<pubDate>Mon, 16 Jan 2012 00:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://cyberelk.net/tim/software/pycups/#comment-34864</guid>
		<description>[...] PyCups (http://cyberelk.net/tim/software/pycups/) [...]</description>
		<content:encoded><![CDATA[<p>[...] PyCups (<a href="http://cyberelk.net/tim/software/pycups/" rel="nofollow">http://cyberelk.net/tim/software/pycups/</a>) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CUPS on CentOS 5 For iOS, OSX, Win7</title>
		<link>http://cyberelk.net/tim/software/pycups/comment-page-3/#comment-34855</link>
		<dc:creator>CUPS on CentOS 5 For iOS, OSX, Win7</dc:creator>
		<pubDate>Sun, 15 Jan 2012 22:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://cyberelk.net/tim/software/pycups/#comment-34855</guid>
		<description>[...] pycups [...]</description>
		<content:encoded><![CDATA[<p>[...] pycups [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://cyberelk.net/tim/software/pycups/comment-page-3/#comment-25716</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Mon, 05 Sep 2011 09:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://cyberelk.net/tim/software/pycups/#comment-25716</guid>
		<description>cups is 1.4.4-6ubuntu2.3

I&#039;m using ubuntu 10.04.3 LTS.</description>
		<content:encoded><![CDATA[<p>cups is 1.4.4-6ubuntu2.3</p>
<p>I&#8217;m using ubuntu 10.04.3 LTS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://cyberelk.net/tim/software/pycups/comment-page-3/#comment-25656</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Sat, 03 Sep 2011 20:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://cyberelk.net/tim/software/pycups/#comment-25656</guid>
		<description>That&#039;s a pycups version number; what about CUPS?  pycups just returns whatever CUPS tells it to.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a pycups version number; what about CUPS?  pycups just returns whatever CUPS tells it to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://cyberelk.net/tim/software/pycups/comment-page-3/#comment-25620</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Fri, 02 Sep 2011 22:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://cyberelk.net/tim/software/pycups/#comment-25620</guid>
		<description>Sorry I forgot to mention: 1.9.51-0ubuntu2
If that&#039;s fixed in a newer version sorry for bothering, otherwise I&#039;ll open a ticket when I get back at the office on monday.</description>
		<content:encoded><![CDATA[<p>Sorry I forgot to mention: 1.9.51-0ubuntu2<br />
If that&#8217;s fixed in a newer version sorry for bothering, otherwise I&#8217;ll open a ticket when I get back at the office on monday.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://cyberelk.net/tim/software/pycups/comment-page-3/#comment-25605</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Fri, 02 Sep 2011 17:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://cyberelk.net/tim/software/pycups/#comment-25605</guid>
		<description>The registration is the &lt;a href=&quot;https://admin.fedoraproject.org/accounts/&quot; rel=&quot;nofollow&quot;&gt;Fedora Project registration&lt;/a&gt;.

What version of CUPS are you running?  That might very well make the difference...</description>
		<content:encoded><![CDATA[<p>The registration is the <a href="https://admin.fedoraproject.org/accounts/" rel="nofollow">Fedora Project registration</a>.</p>
<p>What version of CUPS are you running?  That might very well make the difference&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

