On Mon, 22 Jan 2001, Kyle Hargraves wrote:

> On Sun, 21 Jan 2001, Stephen Horton wrote:
> 
> > I too have had problems with CUPS on 7.2 - I've gone back to lpd but
> > cannot get kmail to print either.  Thankfully, I normally use pine and
> > have had no probs printing with it.
> 
>       what permissions on the directories /var/spool/lpd and below do
>       you have ?
> >
> > I'm not sure that the problem is printer related as I have a Canon
> > bjc-4300 and a Brother hl-1030 running from my linux box - both run OK
> > under lpd - but neither ran under CUPS.
> >
> >
>       true - if you take a look at the original (repreduced below) the
>       printer queue or indeed the existance of a valid file are an irrelevance;
>       despite lpd running in the process table it doesn't seem to be
>       doing anything
> 
>       What did you do to isolate CUPS ?
> 
> cherrs, Kyle
> 
>  ================== original post ===================
> 
> 
> with regard to Mandrake 7.2 (with all recent .rpms installed)
> 
> a simple command such as lpr -Ptext foo.txt
> 
> yields the fault :
> 
> lpr : unable to print to file : the requested resource is unavailable on
> the server
> 
> 
> This fault occurs with either an appropriate /etc/printcap or an
> empty printcap or the existance or otherwise of foo.txt
> 
> 
> 
> 
> 
> 
> 
Dear Kyle,

I am no expert on security or even know if it is an issue here - but I run
a stand alone linux box.

My permissions on /var/spool/lpd are:

user:           show    write   enter
group:          show    write   enter
others:         show            enter

Ownership: user - root; group - daemon.

Below, e.g. /var/spool/lpd/lp:

user(root):     show    write   enter
group(lp):      show            enter
others:         show            enter

Ownership: user - root; group - lp.


As to how I isolated CUPS - if I remember correctly, I uninstalled
anything I could find that pertained to CUPS (the 'scientific' approach
- although I could not, for some reason, get rid of CUPS itself),
then stopped the CUPS daemon running at start-up and started lpd daemon
instead. After that I configured my printer using DrakConf.

I'm pretty sure this is how I did it - however, I tend to mess about with
things to get them working - I also never keep notes - so I hope this
helps.

As to my comment about specific printers, I think I was replying to a
comment someone else was making about your question - not your original
question itself.

Regards,

Stephen

ps: To anyone who has a Brother hl-1030 - up until very recently this was
regarded as being in the 'paperweight' class of printers for linux -
however, most recent versions of 'ghostscript' now have a driver which at
least partially runs this printer.

-- 



Q==========================Q
| Stephen Horton       :-) |
| E-mail:  [EMAIL PROTECTED] |
Q==========================Q


Reply via email to