From owner-freebsd-questions Sun Apr 22 13:31:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 9330437B423 for ; Sun, 22 Apr 2001 13:31:19 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 24541 invoked by uid 100); 22 Apr 2001 20:31:18 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15075.16278.553091.55577@guru.mired.org> Date: Sun, 22 Apr 2001 15:31:18 -0500 To: Gustaf Tham Cc: freebsd-questions@FreeBSD.org Subject: Re: Setting up printer in freeBSD 4.2 In-Reply-To: References: <72364955@toto.iv> <15074.61382.151222.873160@guru.mired.org> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gustaf Tham 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. 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