title: How to configure CUPS to print from RedHat to a shared Windows Zebra printer TLP 3842
body: <p>I am trying to print from a virtual RedHat instance to a label printer shared on a Windows XP workstation.  I have had success using rlpr on Ubuntu, but we are porting to our new standard, RedHat.  Because it is virtualized, I do not have access to the CUPS administration page at <em>http://localhost:631</em> and am trying to do everything through <strong>lpadmin</strong>.</p>
  
  <p>The Windows machine, <em>LC16</em> has Unix Print and File Sharing Services enabled (Samba?), and I'm able to print to it from Ubuntu using rlpr.</p>
  
  <p>I used the following command to try to set up the CUPS printer:</p>
  
  <p><strong>lpadmin -p 15747s_18200s -u allow:all -v lpd://LC16/15747s_18200s</strong></p>
  
  <p>But when I run <strong>lpq</strong> I do not see the printer:</p>
  
  <pre><code>[root@here]# lpq
  14415s_15747s is ready
  no entries
  </code></pre>
  
  <p>My <em>/etc/cups/printer.conf</em> looks like this:</p>
  
  <pre><code># Printer configuration file for CUPS v1.3.7
  # Written by cupsd on 2011-02-15 16:01
  &lt;Printer 15747s_18200s&gt;
  Info 15747s_18200s
  DeviceURI lpd://LC16/15747s_18200s
  State Stopped
  StateMessage
  StateTime 1297810868
  Accepting No
  Shared Yes
  JobSheets none none
  QuotaPeriod 0
  PageLimit 0
  KLimit 0
  OpPolicy default
  ErrorPolicy stop-printer
  &lt;/Printer&gt;
  </code></pre>
  
  <p><strong>lpstat -t</strong> gives (among other stuff)</p>
  
  <pre><code>system default destination: 14415s_15747s
  ...
  device for 15747s_18200s: lpd://LC16/15747s_18200s
  ...
  15747s_18200s not accepting requests since Tue 15 Feb 2011 04:01:08 PM MST -
  ...
  printer 15747s_18200s disabled since Tue 15 Feb 2011 04:01:08 PM MST -
      reason unknown
  </code></pre>
  
  <p>I tried to enable the printer using <em>cupsenable</em> but no luck:</p>
  
  <pre><code>cupsenable 15747s_18200s
  </code></pre>
  
  <p>doesn't change anything, and</p>
  
  <pre><code>cupsenable -h LC16 15747s_18200s
  </code></pre>
  
  <p>hangs.</p>
  
  <p>Any idea what I need to do to get things running?</p>
  
  <p>Thanks,</p>
  
  <p>Dave Crocker</p>