🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.notes
Article #211

Re: lpr for notes

#211
From: dan
Date: Sat, 12 Jan 1985 17:37
16 lines
1406 bytes
> Ray, something I'd like to see added to notes is the ability to print a
> note (or response) directly to the line printer (via lpr command).  Presently
> one has to either use nfprint, or save the note out to a file, then print
> it manually.  It would be nice if there were:
> 	l    lpr the present note/response
>	L    lpr the base note and all responses
>
>Any chance of that being added some time in the future?

All notesfiles systems I've seen (except for the oldest) include a command to
pipe the current note to a program. On some, it is '|', on others you use the
save command, 's', followed by a shell command line beginning with '|'. In any
case, its an easy hack. Just do a popen() when you see a '|' in response to the
save command. Then pipe the note to lpr or whatever...

					Dan
Technical Details
Message-ID: <45200001@rna.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!cmcl2!rna!dan
References: <-400000@trsvax.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: nyu notesfiles V1.1 4/1/84; site rna.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!cmcl2!rna!dan
From: dan@rna.UUCP
Newsgroups: net.notes
Subject: Re: lpr for notes
Message-ID: <45200001@rna.UUCP>
Date: Sat, 12-Jan-85 12:37:00 EST
Article-I.D.: rna.45200001
Posted: Sat Jan 12 12:37:00 1985
Date-Received: Mon, 28-Jan-85 06:37:39 EST
References: <-400000@trsvax.UUCP>
Lines: 16
Nf-ID: #R:trsvax:40000004:rna:45200001:000:799
Nf-From: rna!dan    Jan 25 12:37:00 1985