🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #118369

Re: [slrn] - printing

#118369
From: Michael Johnson
Date: Wed, 15 Jan 2003 00:08
40 lines
1840 bytes
* Michael Johnson wrote:
> I've been using slrn [w32] for a long time now and I'm more than satisfied
> with everything, except that I can't print ...

* H P Holm <hpholm@adresse.invalid>:
> Try the following. It works for me in an older version of slrn in W2K
> 1: Copy/paste to a new file named print.sl in slrn's home directory:
> 
>  define pipe_to_printer ()
>  {
>    variable file, cmd;
> 
>   file="tmp.tmp";
>    ()=save_current_article(file);
>    cmd=Sprintf("%s %s","print ", file, 2);
>    ()=system(cmd);
> }
> 
>  definekey ("pipe_to_printer", "y", "article");
> 
> 2: Add the line
> 
>  interpret "print.sl"
> 
>  to slrn.rc
> 
>  Hit the y key to print current article.

That didn't work but I changed the line with cmd to:
   
	cmd="Notepad /p tmp.tmp";  
	
(If you take away '/p', then you'll get a chance to edit before you
print)

now it works!	*THANKS*

-- 
:: michael
Technical Details
Message-ID: <3e24b470$1@hermes.arrowhead.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.bredband.com!bredband!newsfeed.bahnhof.se!hermes.arrowhead.com!not-for-mail
References: <3e2364e0$1@hermes.arrowhead.com> <4nYU9.66$575.59@news.get2net.dk>

Show Full Headers
Complete Article Headers
Message-ID: <3e24b470$1@hermes.arrowhead.com>
Subject: Re: [slrn] - printing
Date: Wed, 15 Jan 2003 00:08:00 +0000
From: Michael Johnson <pomj@insatnet.nu>
References: <3e2364e0$1@hermes.arrowhead.com> <4nYU9.66$575.59@news.get2net.dk>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.bredband.com!bredband!newsfeed.bahnhof.se!hermes.arrowhead.com!not-for-mail
Newsgroups: news.software.readers
Reply-To: michael_johnson@fastmail.fm
User-Agent: slrn/0.9.7.4 [pomJ] (Win32)
NNTP-Posting-Host: 213.134.100.126
X-Trace: hermes.arrowhead.com 1042592880 213.134.100.126 (15 Jan 2003 02:08:00 +0200)
Lines: 39