help with printing
Woodchuck
marmot at pennswoods.net
Fri Jun 13 12:15:10 PDT 2008
On Wed, 11 Jun 2008, Michael wrote:
>
> 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.
Phew. This sounds like mutt is doing something wrong. I don't use it,
so can't offer anything substantive.
> 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.
I am not optimistic that messing with lpr or lprng, which chiefly handle
queuing, doing precious little for text, will solve the mutt problem.
Can you get mutt to print to a file? maybe try
set print_command="/usr/bin/cat >/tmp/printtest"
and examine what mutt puts out.
Dave
--
The future isn't what it used to be.
-- G'kar
More information about the Openbsd-newbies
mailing list