🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #201154

Re: Printing In Slrn

#201154
From: I R A Darth Aggie
Date: Wed, 27 Jun 2007 20:34
51 lines
3171 bytes
On Wed, 27 Jun 2007 15:09:42 -0500,
Doc <terry2wa@gmail.com>, in
<CM-dnbq5abCbWR_bnZ2dnUVZ_u6rnZ2d@comcast.com> wrote:
>+  On 2007-06-27, doc <terry2wa@yahoo.com> wrote:
>+ >
>+ > Does anyone know an
>+ > easy and quick way to alter the .slrnrc file in order to produce
>+ > printed copies with a little more control over the process.
>+ 
>+  BTW, I realize that the answer must lie in the argument to the "lpr"
>+  command, as I'm fairly certain "lpr -P" is sending the file to printer
>+  as ascii.  However, it is way beyond my pay grade at this point to
>+  figure out the appropriate argument.

I suspect that lpr won't give you the joy you want. So, perusing the
slrn docs - I can't say that I've actually ever *printed* any posts -
I came across this:

http://www.slrn.org/manual/slrn-manual-6.html#ss6.80

6.80 printer_name

Type: string
Default: (unset)

This variable can be used to customize the print function. Its meaning
and the default action depend on the operating system:

On Unix systems, it can contain a command to which slrn will pipe the
article you want to print. For example, you would set it to
"my_print_filter | lpr -Pmy_printer" if you want the article to be
processed by my_print_filter and then printed on ``my_printer''. If
unset, the default action is to use lpr with the value of $PRINTER as
the -P option.

---

If you want prettyfied printing, you probably want to substitute
"enscript" for "lpr", perhaps (untested) something like this:

set printer_name "enscript -G"

Consult the enscript manpages, it has just a few options that you
might find useful. "-G" means to print a fancy header, which by
default is just the filename + time and date.

-- 
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.
Technical Details
Message-ID: <slrnf85ie4.7ca.n0b0dy@192.168.10.10>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!usenet.INS.cwru.edu!news-ext.gatech.edu!news.fsu.edu!not-for-mail
References: <20070627120656.41a27525@terry-desktop> <CM-dnbq5abCbWR_bnZ2dnUVZ_u6rnZ2d@comcast.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnf85ie4.7ca.n0b0dy@192.168.10.10>
Subject: Re: Printing In Slrn
Date: Wed, 27 Jun 2007 20:34:12 +0000
From: I R A Darth Aggie <n0b0dy@192.168.10.10>
References: <20070627120656.41a27525@terry-desktop> <CM-dnbq5abCbWR_bnZ2dnUVZ_u6rnZ2d@comcast.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!usenet.INS.cwru.edu!news-ext.gatech.edu!news.fsu.edu!not-for-mail
Newsgroups: news.software.readers
Organization: Texas A&M University - Tallahassee
Lines: 51
Reply-To: no-courtesy-copies-please
NNTP-Posting-Host: aggie.stat.fsu.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.fsu.edu 1182976452 21825 128.186.4.84 (27 Jun 2007 20:34:12 GMT)
X-Complaints-To: abuse@fsu.edu
NNTP-Posting-Date: 27 Jun 2007 20:34:12 GMT
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
User-Agent: slrn/0.9.8.1pl2 (Debian)