[plug] Update on Mandrake & printing

Jeremy Malcolm Jeremy at Malcolm.wattle.id.au
Fri Mar 3 09:37:30 WST 2000


-----BEGIN PGP SIGNED MESSAGE-----

> could print for a day or so then it stopped working again - no error
> messages, just no print jobs arriving at the smb print server
(win98)
> Could smbclient print ok, but nothing leaving linux when using lpd.

I have had a similar problem for a while, but weirder.  Print jobs
*sometimes* get through, sometimes don't.  If it doesn't print and you
try again, typically it works the second time.  I added a logging line
to the print command (which was otherwise "lpr -b -P%p %s &") in
smb.conf which indicated that print jobs *are* getting that far,
however they don't go any further.  An NT server with the same name
sharing the same printer does not have this problem.  It almost seems
like it's running out of resources or something, but is wouldn't be
because load average is 0.00 0.00 0.00 and there is heaps of spool
space.  I'm not really expecting anyone to know the answer but just on
the off-chance that it rings a bell for someone I thought I'd post
this experience...

>	The printing turned out to be the ./config file in /var/spool/lpd/lp
> requiring a world readable privaledge before smbprint would read it.

I had handled that issue differently.  I had "force-user" and
"force-group" set to "lp" and "daemon" in smb.conf (those are the lp
user and group on my system).  I guess that would probably be a
marginally more secure way of dealing with the problem.

PS. I just looked in /var/spool/lpd/kyocera (which is the spool
directory for the printer) and found out there are 4295 spool files in
there.  Whoa!  I think this is an unrelated issue though, I just
needed a "-r" in my print command.

- -- 
JEREMY MALCOLM Jeremy at Malcolm.wattle.id.au http://malcolm.wattle.id.au
SIG of the day: [ ] Contact  [x] Web  [ ] PGP  [ ] Taglines #1  [ ] #2
Ibn Qirtaiba: [http://]sf.sig.au.mensa.org | WASCAL: www.wascal.asn.au
Macdonald Rudder: www.proctors.com.au | Australian Mensa: au.mensa.org
Terminus Network Services: www.terminus.net.au | *: backinthe.ussr.net
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i

iQB1AwUBOL6m1r/mBljD2JABAQHojQL+PtKJ4YGweqvJ38e8lmHscyo8K5Fr10dg
5FeSZY3izpO7DRBCDEYiuxEFultd1+6Od30HH5yJWavNeteOxO8dUQkpOrErrw6p
97r1HeqDZ5BtAMRQht0Qr9tCpaCBLutj
=nlvu
-----END PGP SIGNATURE-----




More information about the plug mailing list