*BSD News Article 44746


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!EU.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!narcisa.sax.de!not-for-mail
From: j@narcisa.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Can't get printer to work correctly
Date: 30 May 1995 17:42:42 +0200
Organization: Private U**x site, Dresden.
Lines: 23
Message-ID: <3qfedi$e4g@bonnie.tcd-dresden.de>
References: <3plcn3$e68@agate.berkeley.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Geordan Rosario <geordan@OCF.Berkeley.EDU> wrote:
>
>I'm running FreeBSD 2.0R with a Canon BJ-300 on lpt0.  Whenever I print a file
>the output is such that it looks as if it is trying to print out 132-column
>data on an 80-column printer (yes, it is an 80-column printer).  I have edited
>/etc/printcap and placed pw#80 in it, but it doesn't respond to that.  (It is
>/dev/lp, BTW.)

The pw# value is mostly irrelevant unless you've also installed a
filter that cares for it.  (of= value, e.g.)

lpd itself does not much formatting, the most you can get it doing is
piping the data through pr(1) (-p option).  Note that pr(1) normally
cannot be used to fold long lines, you must use fold(1) instead.

RTFM printcap(5) for an explanation on how the various lpd filters
work.

-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)