Subject: Printer setup problems
To: None <netbsd-users@netbsd.org>
From: Zbigniew Baniewski <zb@ispid.com.pl>
List: netbsd-users
Date: 04/09/2005 16:41:26
Hallo,

I've got some problems with printer configuration:

1. I'm using an USB-printer. I made some testing using command
"lptest 70 5 > /dev/ulpt0", but I cannot make the same when I'll try to:
"lptest 70 5 > /dev/lpa0". The system reports: 

   # lptest 70 5 > /dev/lpa0
   /dev/lpa0: Device busy.

Is the /dev/lpa0 in some way "tied" only to "parallel port-driven" printers?

2. Reading NetBSD Manual, I made the /etc/printcap entry like this:

lp|local printer|My printer:\
        :lp=/dev/ulpt0:sd=/var/spool/lpd/lp:lf=/var/log/lpd-errs:\
        :sh:pl#66:pw#80:if=/usr/libexec/lpr/lpf:

...but the test "lptest 70 5 | lpr -h" fails - no output on the paper at all.

All the files and directories exist. lpd-daemon is up and running:

    # ps ax | grep lpd
    765 ?? Ss   0:00.01 /usr/sbin/lpd -s

No errors reported in /var/log/lpd-errs. Where can be the problem?

3. I cannot remove the job using "lprm #job_no". "lpq" shows, that the job is
still there. Is it a bug in lprm?
-- 
				pozdrawiam / regards

						Zbigniew Baniewski