*BSD News Article 44955


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!news.belwue.de!news.belwue.de!fu-berlin.de!cs.tu-berlin.de!informatik.uni-bremen.de!nordwest.pop.de!news.hamburg.pop.de!news.gun.de!knobel.gun.de!knobel!andreas
From: andreas@knobel.GUN.de (Andreas Klemm)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Can't get printer to work correctly
Date: 4 Jun 1995 12:18:32 GMT
Organization: Solaris 2.4 research kitchen
Lines: 38
Message-ID: <3qs8ao$jh@knobel.gun.de>
References: <3plcn3$e68@agate.berkeley.edu> <3qnu93$q23@gap.cco.caltech.edu>
NNTP-Posting-Host: knobel.gun.de
X-Newsreader: TIN [version 1.2 PL2]

Stan (stan@tejon.gps.caltech.edu) wrote:
: In article <3plcn3$e68@agate.berkeley.edu>, geordan@OCF.Berkeley.EDU (Geordan Rosario) writes:
: >
: [printer problem deleted]

: I have a sort-of-related printer setup question.  I have an HP DeskJet 500 
: hooked up to the lpt0 port on my Freebsd system, and when I print 
: something, it
:               looks
:                     like
:                          this.

: It is apparently sending a linefeed, but no carriage return at the end of 
: each line.  I looked at the man page for printcap, but it was singularly 
: unilluminating.  Is there some simple switch for printcap that will tell it 
: to send a <cr> with the <lf>?

: Thanks.

Either use apsfilter 4.9 or set the following ms switches in printcap:
opost,onlcr, i.e.:

	.....:ms=opost,onlcr:

I think this should help. But beware if you print binary stuff ...
The postprocessing modifies the print data !!!

So you better use two printer entries, one for binary without and
one for ascii data with output postprocessing.

	Andreas ///

--
andreas@knobel.gun.de         /\/\___ Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/       - Support Unix - akl@wup.de - 

                  *** apsfilter - irgendwie clever ***
ftp.informatik.rwth-aachen.de:/pub/Linux/local/packs/APSfilter/aps-49...:-)