[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FW: Diary of a minimalist desktop -Complete
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: FW: Diary of a minimalist desktop -Complete
- From: Tim <timmp3_(_at_)_yahoo_(_dot_)_com>
- Date: Thu, 27 May 2004 17:31:24 -0700 (PDT)
> 3) Make sure that the spool dir for each printer
> in /etc/printcap exists
> with proper permissions and ownership (this is
> not automatic).
>
> e.g. From example above, this means you need to
> make sure that the
> directory /var/spool/output/HP2500CM-PS
> exists with proper
> owns/perms.
>
What are the proper permissions? I googled for this
and found the answer for a linux setup on some obsure
website. It worked for me but since I'm no UNIX
expert, I always wonder if the following permissions
were secure. Below is what I did:
mkdir /var/spool/output/myprintername
chown daemon /var/spool/output/myprintername
chmod 775 /var/spool/output/myprintername
in my /etc/printcap file I had the following:
lp|myprintername:\
:lp=:rm=192.168.50.100:rp=auto:sd=/var/spool/output/myprintername:\
:lf=/var/log/lpd-errs:mx#0:
This was for a printer with an internal jetdirect
card.
Also, I couldn't get this to work from my windows 2000
machine unless I added my computer name to /etc/hosts
like this:
192.168.50.200 mywin2k.company.com mywin2k
Even if I had a dns record (and bind running) on the
same machine acting as the print server, I still had
to add that to the /etc/hosts file for it to work.
Note that I did add mywin2k to /etc/hosts.lpd. I
looked at the man pages as well. Did anyone have a
similar problem and know why?
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
Visit your host, monkey.org