<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
 <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
 </head>
 <body>
  <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://172.31.100.50
   <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 align="RIGHT" valign="TOP">Description:</th>
     <td>HP LaserJet 6MP</td>
    </tr>
    <tr>
     <th align="RIGHT" valign="TOP">Location:</th>
     <td>Lab</td>
    </tr>
    <tr>
     <th align="RIGHT" valign="TOP">Driver:</th>
     <td>HP LaserJet 6P/6MP - PostScript (grayscale)</td>
    </tr>
    <tr>
     <th align="RIGHT" valign="TOP">Connection:</th>
     <td>socket://ws50</td>
    </tr>
    <tr>
     <th align="RIGHT" valign="TOP">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" class="list">
   <thead>
    <tr>
     <th>
      <a href="http://localhost:631/printers/Central-Black?QUERY=&WHICH_JOBS=&FIRST=%7BFIRST%7D&ORDER=dec">
       <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">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/>
      <em>"Unable to locate printer 'ws50'!"</em>
     </td>
     <td>
      <form method="POST">
       <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">
       <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">
       <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/>
   <a href="mailto:dmarkovich@drmcs.com">dmarkovich@drmcs.com</a>
   <br/>
    
  </p>
  <p> </p>
  <p style="margin: 0px; "></p>
 </body>
</html>