Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2001 15:31:18 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Gustaf Tham <gus@algonet.se>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Setting up printer in freeBSD 4.2
Message-ID:  <15075.16278.553091.55577@guru.mired.org>
In-Reply-To: <g9e6et4o8gcad9gn8n351qt92o7cpq2r8g@4ax.com>
References:  <72364955@toto.iv> <15074.61382.151222.873160@guru.mired.org> <g9e6et4o8gcad9gn8n351qt92o7cpq2r8g@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gustaf Tham <gus@algonet.se> types:
> Thanks for good info.  I forwarded to Francois as you suggested.

Thank you.

> Now apsfilter refuses to print text for me!   Very :-|
> I can use it for pdf, jpg, gif, HTML and PS (not dvi yet).

That's usually caused by apsfilter running text through a2ps, causing
it to be rendered as graphics on non-postscript printers. Since that
uses quite a bit of memory, it can cause a print to fail when you
wouldn't expect it to.  That's one of the apsfilter problems I
mentioned earlier.

> Nothing happens when I print plain text. 
> If I pipe through enscript, mpage or a2ps it works.

If going through a2ps works, then apsfilter *should* work. You might
make sure that you're using the same a2ps flags that apsfilter is
using, and if not try those flags by hand.

> My printer is PS.  

There's a small possibility that apsfilter is sending the postscript
direct to the printer, but text gets sent to a2ps and thence to
ghostscript to be rendered in a printer-specific language (i.e. PCL or
PJL for hp printers).

If your printer prints ascii text ok - and the stairstep effect is
considered "ok" in this case - you might consider using magicfilter
instead of apsfilter. It has a text filter that does the newline and
eof conversion required by DOS text printers, so you avoid the a2ps
step that apsfilter uses for text files. You can use the apsfilter
printcap and spool files setups; just change the filter to the
appropriate entry in /usr/local/libexec/magicfilter.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15075.16278.553091.55577>