On Tue, 13 Jun 2000, you wrote:
> Since upgrading from 'Drake 6.1, I have been unable to print from my Linux box
> to a printer attached to a Windows machine elsewhere on my network. The printer
> does work, other machines can print to it. 
> 

I had the exact same problem after doing a fresh install of LM7.02 onto my
LM6.1 box at work

> I have Samba 2.0.6 installed (not from rpm) in /usr/local/samba and I have
> changed /usr/lib/rhs/rhs-printfilters/smbprint to point to
> /usr/local/samba/bin/smbclient. For kicks, I've even tried setting "chmod -R 777
> /var/spool/lpd/lp". 
> 

This is so, so, so close to the solution....

> When I try to print, no packets are sent to the remote machine, therefore I
> have concluded that the problem exists on the local 'Drake 7.0 box. 
> 

Absoutely right!!!

> Help!
> 

Okay, then, seeing as you asked so nicely.

I had a printer set up called "carolq", because it was attached to Carol's PC.
LM6.1 printed to it with no problems, LM7.02 didn't want to know.

After a couple of hours scratching around, I ended up in /var/spool/lpd/carolq.
In that directory I found a hidden file called ".config". This file had it's
permission set such that it was only readable by root. This is unfortunate,
since the printer daemon runs as its own user, lpd. A quick "chmod 666 .config"
solved the problem for me.

Oh, you also need to be aware that if you do anything at all to the setup of
this printer using printtool or any of the other nice GUI front ends, it will
set the permissions back to 600 on your ".config" file, so you'll need to fix
it again.

Please let the list know if this fixes your printing problem. I'm about to
install 7.1 on my laptop, so I'll check what happens when I set printers up
there.

-- 
Phil Edwards
Technical Services Engineer
==========================================================================
Travellog Systems                                 Phone +44 (0)1444 459016
The Priory, Haywards Heath                        Fax   +44 (0)1444 456655
West Sussex, RH16 3LB                  mailto:[EMAIL PROTECTED]
United Kingdom                                  http://www.travellog.co.uk
==========================================================================

Reply via email to