help with printing

Michael bsd4me at cableone.net
Wed Jun 11 09:40:52 PDT 2008


I have my dj870 printer working somewhat :)
I made a copy of what apsfilter made of my /etc/printcap, and then enabling the original printcap, I added this:
#       $OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $

lp|local line printer;r=300x300;q=medium;c=full;p=letter;m=auto:\
        :lp=/dev/lpt0:sd=/var/spool/output:lf=/var/log/lpd-errs:\
        :mx#0:\
        :sh:


I can now print any text through lpr. 

In my .muttrc, I have:
set print_command="/usr/bin/lpr"

The printer will print the top two lines of email (From & To) and then spit the page out. 

Also, after redoing the printcap, I pkg_delete apsfilter and LPRng. I had to manually delete /etc/apsfilter because pkg_delete wouldn't delete all contents of it.

I'm stuck now on what to try (for printing mutt email) unless LPRng will help, but at least I got this far. Thanks again everybody for your help.

Mike


More information about the Openbsd-newbies mailing list