[K12OSN] Unable to print to thin client attached printer

David Hopkins dahopkins429 at gmail.com
Sun Jan 8 15:03:26 UTC 2012


Try either

socket://ws50:9100 or socket://172.31.100.50:9100 in the printer connection
definition.

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.

Sincerely,
Dave Hopkins


On Sat, Jan 7, 2012 at 10:21 AM, dmarkovich at drmcs.com
<dmarkovich at drmcs.com>wrote:

> **
>
> Hello,
>
> I have installed K12Linux on Centos 6.2 per K12Linux Server Install Guide.
> Using EL6-based i686 chroot.
>
> Have not been able to print to a client attached printer with cups.
> I can print to a direct jet printer attached to the switch on the 1st nic
> card ( non client network-168.192.1.  )
> Thin clients are on the second nic (172.31.100. )
>
> Cups notes unable to locate printer by either
>   ip address    (172.31.100.50)     ie.  socket://172.31.100.50
>   or by lts.conf setup of alias  [ws50]
>
> Currently the server has 5 located lts.conf files,
>
> /opt/ltsp/i386/etc/lts.conf
> /var/lib/tftpboot/ltsp/i386/lts.conf
> /var/lib/tftpboot/ltsp/ppc/lts.conf
> /var/lib/tftpboot/ltsp/ppc64/lts.conf
> /var/lib/tftpboot/ltsp/x86_64/lts.conf
>
> Which one is used by client boot process?
> =======================================================
> Current config sections.
>
> dhcpd.conf
>
>     host ws50 {
>       hardware ethernet       00:C0:4F:4C:F2:CC;
>         fixed-address         172.31.100.50;
>     }
>
> lts.conf
>
> ###############################################
> #Lab
> #Cl23 test - Dell OptiPlex GX1
> #[00:C0:4F:4C:F2:CC]
> [ws50]
>     PRINTER_0_DEVICE   = /dev/lp0
>     PRINTER_0_TYPE     = P              # P-Parallel, S-Serial
> ###############################################
>
>
> CUPS Printer Spec
>   Description: HP LaserJet 6MP  Location: Lab  Driver: HP LaserJet 6P/6MP
> - PostScript (grayscale)  Connection: socket://ws50  Defaults: job-sheets=none,
> none media=na_letter_8.5x11in
>
>
>
> CUPS PRINTER STATUS
>    ▼ ID ▼
> <http://localhost:631/printers/Central-Black?QUERY=&WHICH_JOBS=&FIRST=%7BFIRST%7D&ORDER=dec>
> Name User Size Pages State Control   Central-Black<http://localhost:631/printers/Central-Black>-68  Test
> Page  anonymous  1k  Unknown  pending since
> Sat 07 Jan 2012 08:21:54 AM CST
> *"Unable to locate printer 'ws50'!"*
>
>
> Thank you for any help.
>
> Dave Markovich
> dmarkovich at drmcs.com
>
>
>
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20120108/6071a5be/attachment.htm>


More information about the K12OSN mailing list