DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 12th April 2009
unicyclist unicyclist is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 54
Thanked 2 Times in 2 Posts
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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Poster printing program map7 FreeBSD Ports and Packages 3 7th November 2010 07:41 PM
Boot problem. Geometry problem? gulanito FreeBSD Installation and Upgrading 0 3rd July 2009 03:03 AM
Newbie-friendly "printing in OpenBSD" guide wanted Shagbag OpenBSD Packages and Ports 5 7th July 2008 09:26 PM


All times are GMT. The time now is 06:50 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick