🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #3814

Re: help on xrn print

#3814
From: Michael Salmon
Date: Mon, 05 Apr 1993 09:36
31 lines
1902 bytes
In article <1pibdv$m09@wintermute.phys.psu.edu>
zhe@bioeng.psu.edu (Zhe Shen) writes:
|> 
|> hi, everyone, i installed xrn recently, everything worked fine except the 
|> printing. Whenever i want to print one article, the shell print out the 
|> message "sh: enscript: not found".
|> Could any xrn expert out there explain this for me? 
|> I am working on sgi 4d/35, irix 4.0.1 and the printer is hp laserjetIII.
|> Any suggest or help will be appreciated.

xrn doesn't have the ability to nicely format an article, it leaves
that to some other program like enscript, which is a part of the
transcript package. You need to redefine the print command, I use mp as
a pretty printer:

XRn.printCommand: mp -a | lpr

You need to decide upon the command you will use to print the article,
xrn sends the text on stdin so you need a command that can handle input
from stdin, the simplest is just to set XRn.printCommand to lpr.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Technical Details
Message-ID: <1993Apr5.093610.4106@ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!ira.uka.de!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!cs.utexas.edu!uunet!pipex!sunic!ericom!eos.ericsson.se!etxmesa
References: <1pibdv$m09@wintermute.phys.psu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1993Apr5.093610.4106@ericsson.se>
Subject: Re: help on xrn print
Date: Mon, 5 Apr 1993 09:36:10 GMT
From: etxmesa@eos.ericsson.se (Michael Salmon)
References: <1pibdv$m09@wintermute.phys.psu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!ira.uka.de!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!cs.utexas.edu!uunet!pipex!sunic!ericom!eos.ericsson.se!etxmesa
Newsgroups: news.software.readers
Keywords: xrn print
Sender: etxmesa@eos6c02 (Michael Salmon)
Nntp-Posting-Host: eos6c02.ericsson.se
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Lines: 31