View Single Post
  #1   (View Single Post)  
Old 12th April 2009
unicyclist unicyclist is offline
Real Name: Mike
Fdisk Soldier
 
Join Date: May 2008
Location: Alaska
Posts: 63
Default Problem with printing [solved]

I'm running 4.4 stable and trying to setup my printer (HP DeskJet 870C).
I installed LPRng and then for more filtering, installed apsfilter.
Apsfilter printed a nice test page, but now if I try to print with either lpr or in mutt (using lpr), I get absolutely nothing.
Checking with lpc or lpq, I see "Can't open /dev/lpt0 Permission denied" and under lpq part of the line reads "Errors...too many errors".
Code:
ls -l /dev/lpt* has:
crw-------  1 root  wheel   16,   0 Apr 11 22:39 /dev/lpt0
crw-------  1 root  wheel   16,   1 Mar  7 20:43 /dev/lpt1
crw-------  1 root  wheel   16,   2 Mar  7 20:43 /dev/lpt2
Here is the only uncommented portion of /etc/printcap (which I also copied to /etc/LPRng):

Code:
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|pcl3/unspec;r=300x300;q=medium;c=gray;p=letter;m=auto:\
    :lp=/dev/lpt0:\
    :if=/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/lp:\
    :lf=/var/spool/lpd/lp/log:\
    :af=/var/spool/lpd/lp/acct:\
    :mx#0:\
    :sh:
# APS1_END - don't delete this
Apsfilter and FreeBSD worked fine with this printer.

Any ideas what is wrong or what I'm missing?

Thanks

Last edited by Carpetsmoker; 15th April 2009 at 05:39 PM. Reason: Please use [code][/code] tags for system output, configuration, etc.
Reply With Quote