🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #70272

Re: [slrn] printer_name/print_article

#70272
From: John Verel
Date: Mon, 08 Jan 2001 01:07
36 lines
2651 bytes
* Thomas Schultz <tststs@gmx.de>:
> On 06 January 2001 at 18:02 GMT, John Verel <jverel@home.com> wrote:
> [...]
> > set printer_name "enscript --quiet --word-wrap --margins=::: -f
> > 'Times-Roman11' -F 'TimesRoman14' --fancy-header='enscript' -i3" This
> > prints fine.  However, the echo area of slrn yields a message of: "[1
> > pages * 1 copy] sent to printer".  This is what I want to supress.
> 
> According to the man page of enscript, the command line you use
> (including the --quiet option) shouldn't be printing this message in
> the first place and on my system, it really doesn't.
You're right.  What happened when I inserted the --quiet option is that
I got rid of most -- but not all -- of the standard error message.  I've
written to Markku Rossi to see if this is an enscript issue.  I'm using
enscript 1.6.1.
> 
> Could it be that you accidentally set "printer_name" multiple times
> (maybe also in a macro/hook) and the setting you quote above is not
> the one slrn really uses?

Just double checked.  Only one setting.

Note Russ' reply above re: using a script.  I'll give this a try over
the next couple of days and see how it goes.  In that regard, can
someone tell me the variable name that slrn uses to pass the file to the
printer?  Is it %?  I have in mind to simply use a one line bash script
that looks like my printer_name command, adding the temp file variable
to it, and calling the script names from the printer_name definition.
This should work, no?

John

-- 
John P. Verel
Norwalk, CT
Technical Details
Message-ID: <slrn95i4qb.qt.jverel@CV150607-A.norwlk1.ct.home.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.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ct.home.com.POSTED!not-for-mail
References: <slrn95enik.9rv.jverel@CV150607-A.norwlk1.ct.home.com> <slrn95h67d.1d3.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn95i4qb.qt.jverel@CV150607-A.norwlk1.ct.home.com>
Subject: Re: [slrn] printer_name/print_article
Date: Mon, 08 Jan 2001 01:07:16 GMT
From: jverel@home.com (John Verel)
References: <slrn95enik.9rv.jverel@CV150607-A.norwlk1.ct.home.com> <slrn95h67d.1d3.tststs@starflower.tststs.ddns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ct.home.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Reply-To: jverel@home.com
User-Agent: slrn/0.9.6.2 (Linux)
Lines: 35
NNTP-Posting-Host: 24.228.1.114
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.ct.home.com 978916036 24.228.1.114 (Sun, 07 Jan 2001 17:07:16 PST)
NNTP-Posting-Date: Sun, 07 Jan 2001 17:07:16 PST
Organization: Excite@Home - The Leader in Broadband http://home.com/faster