*BSD News Article 56710


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!in2.uu.net!EU.net!Germany.EU.net!news.dfn.de!news.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!tubsibr!rznb14.rz.tu-bs.de!y0001415
From: y0001415@ws.rz.tu-bs.de (Martin Butkus)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: I know it's not sexy but it's about this printer.............
Date: 12 Dec 1995 15:49:42 GMT
Organization: TU Braunschweig, Informatik (Bueltenweg), Germany
Lines: 19
Distribution: world
Message-ID: <4ak8am$nk0@ra.ibr.cs.tu-bs.de>
References: <817141958.10508@org29.demon.co.uk> <DJ4H4G.4xK@tigger.jvnc.net> <4a365h$col@zuul.nmti.com> <4a7och$pq8@agate.berkeley.edu>
NNTP-Posting-Host: rznb14.rz.tu-bs.de
X-Newsreader: TIN [version 1.2 PL2]

Anthony Monroe (tmonroe@soda.CSUA.Berkeley.EDU) wrote:
: In article <4a365h$col@zuul.nmti.com>, Peter da Silva <peter@nmti.com> wrote:
: >How do you tell APS "if it's just a text file, then just print it"?
: >
: >I installed aps, then immediately deinstalled it. I don't like it running
: >Ghostscript just for listings...

: I tried apsfilter once, and had a similar dislike.

: I finally got off my but, borrowed a shell script from my roommate, and ended
: up writing a Perl program to use as the input filter.  If apsfilter is broken
: enough to not recognize plain text, then maybe you should get my program.  

You can always enforce plain printing by doing a

lpr -Praw foo.txt

For HP Deskjets you'll have to tweak /etc/apsfilterrc a bit though to get
the linefeeds treated correctly when printing text.