[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trying to connect first printer (non-expert)
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Trying to connect first printer (non-expert)
- From: Terry Eather <teather_(_at_)_bigpond_(_dot_)_com>
- Date: Tue, 8 Oct 2002 23:36:46 +1000
Hello list,
I have an old pentium with USB and with openbsd 3.1 freshly installed.
No custom modifications. No other OS.
Trying to use a Canon S520 inkjet, my first attempt at a printer.
Below is my unsuccessful attempt.
Would someone please point me in the right direction.
dmesg says Canon S520 on ulpt0
added to /etc/printcap
lp|S520:
:lp=/dev/ulpt0:
:sd=/var/spool/output/lpd/S520:
:lf=/var/log/lpd-errs:
root# cd /var/spool/output/lpd
root# mkdir S520
root# chown bin S520
root# chgrp daemon S520
root# chmod 755 S520
I also tried
root# chown daemon S520
root# chgrp daemon S520
root# chmod 775 S520
in /etc/rc.conf
changed lpd_flags=NO to lpd_flags=""
after getting "/dev/lp: No such file or directory" when invoking lpr,
I did
root# ln -s /dev/ulpt0 /dev/lp
I still get
root# lpr testprint
root# lpq
no entries
root# lpc status S520
S520:
queuing is enabled
printing is enabled
no entries
printer idle
root#
and /var/spool/output/lpd/S520 is empty.
and there is nothing else in lpd-errs.
cheers
Terry Eather
Coffs Harbour
Australia
Visit your host, monkey.org