*BSD News Article 45177


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!bloom-beacon.mit.edu!satisfied.apocalypse.org!news2.near.net!howland.reston.ans.net!agate!geordan
From: geordan@OCF.Berkeley.EDU (Geordan Rosario)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Can't get printer to work correctly
Date: 9 Jun 1995 07:39:28 GMT
Organization: U. C. Berkeley Open Computing Facility
Lines: 33
Message-ID: <3r8trg$lts@agate.berkeley.edu>
References: <3plcn3$e68@agate.berkeley.edu> <3qfedi$e4g@bonnie.tcd-dresden.de>
NNTP-Posting-Host: maelstrom-ether.berkeley.edu

In article <3qfedi$e4g@bonnie.tcd-dresden.de>,
J Wunsch <joerg_wunsch@uriah.heep.sax.de> wrote:
>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.
>
I did go through printcap's man page quite a few times, and I still don't have
filters straight.  (Not a cool Unix guru yet.)

Could you give me an example on using pr as the filter?

Thanks,
Geordan



-- 
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
|Geordan Rosario.  Virtually existent at geordan@ocf.berkeley.edu or          |
| Using OS/2 and   70274.460@compuserve.com                                   |
|     FreeBSD!     http://www.ocf.berkeley.edu:80/~geordan                    |
+=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
|  Adaptec Tech Support | The opinions expressed here are mine and may be     |
|        *SUCKS*!       |             purchased for $10 each.                 |
+=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
|       And the Unix user said, "rm -R /*" -- and all was null and void.      |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+