🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #118327

Re: [slrn] - printing

#118327
From: H. P. Holm
Date: Tue, 14 Jan 2003 18:09
33 lines
1576 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 ...

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.

-- 
Hans
Technical Details
Message-ID: <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!logbridge.uoregon.edu!news.net.uni-c.dk!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mail
References: <3e2364e0$1@hermes.arrowhead.com>

Show Full Headers
Complete Article Headers
Message-ID: <4nYU9.66$575.59@news.get2net.dk>
Subject: Re: [slrn] - printing
Date: Tue, 14 Jan 2003 18:09:04 GMT
From: H. P. Holm <hpholm@adresse.invalid>
References: <3e2364e0$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!logbridge.uoregon.edu!news.net.uni-c.dk!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
Organization: Warped Windows World
Reply-To: hans@qos.dk
User-Agent: slrn/0.9.6.2 (Win32)
Lines: 32
NNTP-Posting-Host: 195.47.148.26
X-Complaints-To: abuse@get2.net
X-Trace: news.get2net.dk 1042567744 195.47.148.26 (Tue, 14 Jan 2003 19:09:04 CET)
NNTP-Posting-Date: Tue, 14 Jan 2003 19:09:04 CET