Try either<br><br>socket://ws50:9100 or socket://<a href="http://172.31.100.50:9100">172.31.100.50:9100</a> in the printer connection definition.<br><br>The correct lts.conf file depends upon which image is being booted. If it is the i386 image, then /var/lib/tftpboot/ltsp/i386/lts.conf is the correct file.<br>
<br>Sincerely,<br>Dave Hopkins<br><br><br><div class="gmail_quote">On Sat, Jan 7, 2012 at 10:21 AM, <a href="mailto:dmarkovich@drmcs.com">dmarkovich@drmcs.com</a> <span dir="ltr"><<a href="mailto:dmarkovich@drmcs.com">dmarkovich@drmcs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
 
    
 
 <div>
  <p>
   Hello,
   <br>
   <br>
   I have installed K12Linux on Centos 6.2 per K12Linux Server Install Guide.
   <br>
   Using EL6-based i686 chroot.
   <br>
   <br>
   Have not been able to print to a client attached printer with cups.
   <br>
   I can print to a direct jet printer attached to the switch on the 1st nic card ( non client network-168.192.1.  )
   <br>
   Thin clients are on the second nic (172.31.100. )
   <br>
   <br>
   Cups notes unable to locate printer by either
   <br>
     ip address    (172.31.100.50)     ie.  socket://<a href="http://172.31.100.50" target="_blank">172.31.100.50</a>
   <br>
     or by lts.conf setup of alias  [ws50]
   <br>
   <br>
   Currently the server has 5 located lts.conf files,
   <br>
   <br>
   /opt/ltsp/i386/etc/lts.conf
   <br>
   /var/lib/tftpboot/ltsp/i386/lts.conf
   <br>
   /var/lib/tftpboot/ltsp/ppc/lts.conf
   <br>
   /var/lib/tftpboot/ltsp/ppc64/lts.conf
   <br>
   /var/lib/tftpboot/ltsp/x86_64/lts.conf
   <br>
   <br>
   Which one is used by client boot process?
   <br>
   =======================================================
   <br>
   Current config sections.
   <br>
   <br>
   dhcpd.conf
   <br>
   <br>
       host ws50 { 
   <br>
         hardware ethernet       00:C0:4F:4C:F2:CC;
   <br>
           fixed-address         172.31.100.50;
   <br>
       }
   <br>
   <br>
   lts.conf
   <br>
   <br>
   ###############################################
   <br>
   #Lab
   <br>
   #Cl23 test - Dell OptiPlex GX1
   <br>
   #[00:C0:4F:4C:F2:CC]
   <br>
   [ws50]
   <br>
       PRINTER_0_DEVICE   = /dev/lp0
   <br>
       PRINTER_0_TYPE     = P              # P-Parallel, S-Serial
   <br>
   ###############################################
   <br>
   <br>
   <br>
   CUPS Printer Spec
   <br>
  </p>
  <table summary="Central-Black">
   <tbody>
    <tr>
     <th valign="TOP" align="RIGHT">Description:</th>
     <td>HP LaserJet 6MP</td>
    </tr>
    <tr>
     <th valign="TOP" align="RIGHT">Location:</th>
     <td>Lab</td>
    </tr>
    <tr>
     <th valign="TOP" align="RIGHT">Driver:</th>
     <td>HP LaserJet 6P/6MP - PostScript (grayscale)</td>
    </tr>
    <tr>
     <th valign="TOP" align="RIGHT">Connection:</th>
     <td>socket://ws50</td>
    </tr>
    <tr>
     <th valign="TOP" align="RIGHT">Defaults:</th>
     <td>job-sheets=none, none media=na_letter_8.5x11in</td>
    </tr>
   </tbody>
  </table>
  <p>
   <br>
   <br>
   CUPS PRINTER STATUS
   <br>
  </p>
  <table summary="Job List">
   <thead>
    <tr>
     <th>
      <a href="http://localhost:631/printers/Central-Black?QUERY=&WHICH_JOBS=&FIRST=%7BFIRST%7D&ORDER=dec" target="_blank">
       <small>▼</small>
       ID
       <small>▼</small>
      </a>
     </th>
     <th>Name</th>
     <th>User</th>
     <th>Size</th>
     <th>Pages</th>
     <th>State</th>
     <th>Control</th>
    </tr>
   </thead>
   <tbody>
    <tr valign="TOP">
     <td>
      <a href="http://localhost:631/printers/Central-Black" target="_blank">Central-Black</a>
      -68 
     </td>
     <td>Test Page </td>
     <td>anonymous </td>
     <td>1k </td>
     <td>Unknown </td>
     <td>
      pending since
      <br>
      Sat 07 Jan 2012 08:21:54 AM CST 
      <br>
      <i>"Unable to locate printer 'ws50'!"</i>
     </td>
     <td>
      <form method="POST" target="_blank" onsubmit="return window.confirm("You are submitting information to an external page.\nAre you sure?");">
       <input name="org.cups.sid" value="07a7f7f197ac0966312bcf9dcb04116f" type="HIDDEN">
       <input name="OP" value="hold-job" type="HIDDEN">
       <input name="job_id" value="68" type="HIDDEN">
       <input name="job_printer_uri" value="/printers/Central-Black" type="HIDDEN">
       <input value="Hold Job" type="SUBMIT">
      </form>
      <form method="POST" target="_blank" onsubmit="return window.confirm("You are submitting information to an external page.\nAre you sure?");">
       <input name="org.cups.sid" value="07a7f7f197ac0966312bcf9dcb04116f" type="HIDDEN">
       <input name="OP" value="cancel-job" type="HIDDEN">
       <input name="job_id" value="68" type="HIDDEN">
       <input name="job_printer_uri" value="/printers/Central-Black" type="HIDDEN">
       <input value="Cancel Job" type="SUBMIT">
      </form>
      <form method="POST" target="_blank" onsubmit="return window.confirm("You are submitting information to an external page.\nAre you sure?");">
       <input name="org.cups.sid" value="07a7f7f197ac0966312bcf9dcb04116f" type="HIDDEN">
       <input name="OP" value="move-job" type="HIDDEN">
       <input name="job_id" value="68" type="HIDDEN">
       <input value="Move Job" type="SUBMIT">
      </form>
       
     </td>
    </tr>
   </tbody>
  </table>
  <p>
   <br>
   Thank you for any help.
   <br>
   <br>
   Dave Markovich
   <br><span class="HOEnZb"><font color="#888888">
   <a href="mailto:dmarkovich@drmcs.com" target="_blank">dmarkovich@drmcs.com</a>
   <br>
    
  </font></span></p>
  <p> </p>
  <p style="margin:0px"></p>
 </div>
<br>_______________________________________________<br>
K12OSN mailing list<br>
<a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see <<a href="http://www.k12os.org" target="_blank">http://www.k12os.org</a>><br></blockquote></div><br>