<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://jennyandlih.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>CUPS</title>
 <link>http://jennyandlih.com/note-type/tech/cups</link>
 <description>The taxonomy view.</description>
 <language>en</language>
<item>
 <title>Setting up a network printer</title>
 <link>http://jennyandlih.com/setting-network-printer</link>
 <description>&lt;p&gt;Providing you have a working local printer using CUPS, it&#039;s quite easy to share it across a local subnet.&lt;/p&gt;
&lt;p&gt;In &lt;code&gt;/etc/cups/cupsd.conf&lt;/code&gt; on the CUPS server, add a line directly after this line:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Listen localhost:631&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;...using the IP of the server:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Listen localhost:631&lt;br /&gt;Listen 10.0.0.2:631&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;In the same file, locate this section:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;# Restrict access to the server...&lt;br /&gt;&amp;lt;Location /&amp;gt;&lt;br /&gt;&amp;nbsp; Order allow,deny&lt;br /&gt;&amp;lt;/Location&amp;gt;&lt;br /&gt;&lt;br /&gt;# Restrict access to the admin pages...&lt;br /&gt;&amp;lt;Location /admin&amp;gt;&lt;br /&gt;&amp;nbsp; Order allow,deny&lt;br /&gt;&amp;lt;/Location&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://jennyandlih.com/setting-network-printer&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jennyandlih.com/setting-network-printer#comments</comments>
 <category domain="http://jennyandlih.com/note-type/tech/cups">CUPS</category>
 <pubDate>Thu, 13 Nov 2008 15:59:44 -0700</pubDate>
 <dc:creator>jenny</dc:creator>
 <guid isPermaLink="false">815 at http://jennyandlih.com</guid>
</item>
<item>
 <title>Renaming a printer</title>
 <link>http://jennyandlih.com/renaming-printer</link>
 <description>&lt;p&gt;Occasionally, CUPS will magically choose a printer name for you that you didn&#039;t specify and don&#039;t like, and then not give you the option to change it.  Fortunately, you can fix this by editing the config file:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;sudo vi /etc/cups/printers.conf&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Locate the offending line, eg:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;Printer Printing_Protocol&amp;gt;&lt;br /&gt;...&lt;br /&gt;&amp;lt;/Printer&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;...and change it to something more palatable:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;Printer Canon-i960&amp;gt;&lt;br /&gt;...&lt;br /&gt;&amp;lt;/Printer&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Restart CUPS:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;/etc/init.d/cupsys restart&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
</description>
 <comments>http://jennyandlih.com/renaming-printer#comments</comments>
 <category domain="http://jennyandlih.com/note-type/tech/cups">CUPS</category>
 <pubDate>Thu, 13 Nov 2008 15:58:12 -0700</pubDate>
 <dc:creator>jenny</dc:creator>
 <guid isPermaLink="false">814 at http://jennyandlih.com</guid>
</item>
</channel>
</rss>

