Printing
Kurt Wall
kwall
Mon May 17 11:50:57 PDT 2004
Quoth Ted Ozolins:
> On Slackware 8.1, I had printing (lpr/lprng) using a Canon BJC-210
> working nicely. I did the upgrade to 9.0 and now I can not get it to
> work no matter how or what I do. I then decided to setup printing on
> another machine with a clean install of Slackware 9.0 and still no joy.
> If I send a jop to the printer, I get the usual prompt that its
> happening but nothing appears at the printer. If I issue "lprm -a" the
> print job is listed and removed (as it should) I have lp0 detected at
> boot and the bjc-210 is detected so that is not the problem (parport is
> loaded) I can "cp somefile /dev/lp0" and it prints, but "lpr somefile"
> renders absalutely nothing. Looking at my printcap file, the line:
>
> :if=/etc/apsfilter/basedir/bin/apsfilter:\
>
> does not look correct. Should this not point to:
>
> /etc/apsfilter/canonbub/apsfilterrc ???
On my 9.0 system, /etc/apsfilter/basedir is a symlink, to wit:
$ ls -l /etc/apsfilter/basedir
lrwxrwxrwx 1 root root 20 Jun 18 22:36 /etc/apsfilter/basedir -> /usr/share/apsfilter/
> # APS2_BEGIN:printer2
> canonbub:\
> :af=/var/spool/lpd/canonbub/acct:\
> :if=/etc/apsfilter/basedir/bin/apsfilter:\
> :lf=/var/spool/lpd/canonbub/log:\
> :lp=/dev/lp0:\
> :mx#0:\
> :sd=/var/spool/lpd/canonbub:\
> :sh:
> # APS2_END
Look for other lines /etc/printcap that aren't hashed out. I'm betting
you'll find one that points to a non-existent printer. Better yet, post
the whole shootin' match (/etc/printcap, that is) and we can debug it.
Kurt
--
"I went to the museum where they had all the heads and arms from the
statues that are in all the other museums."
-- Steven Wright
More information about the Linux-users
mailing list