Thread View: news.software.readers
2 messages
2 total messages
Started by Sandy Herring
Sat, 11 Jan 1997 00:00
slrn: How can I print to a local lpr?
Author: Sandy Herring
Date: Sat, 11 Jan 1997 00:00
Date: Sat, 11 Jan 1997 00:00
18 lines
1408 bytes
1408 bytes
I've just switched from tin to slrn (and love it!). I've read the available docs and searched this newsgroup, but don't see any discussion on how to print locally from my PC when telneted into my ISP w/vt100 emulation and running slrn on my ISP's UNIX host. I can do this from lynx. And I have a shell script which I substituted for 'default_printer' in my tinrc that echo'd the proper escape code to open the print job and then close it after cat'ing the output to the tty. But I don't see any facility within slrn to spool an article to a printer. If this cannot currently be done, is it slated to be an enhancement? Sandy -- Sandy Herring Portland Peck of Pickled Pisces sandy@herring.org Oregon http://www.herring.org/ "When in doubt, print 'em out." -- Karl's Programming Proverb 0x7
Re: slrn: How can I print to a local lpr?
Author: John E. Davis
Date: Sat, 11 Jan 1997 00:00
Date: Sat, 11 Jan 1997 00:00
39 lines
2356 bytes
2356 bytes
On 11 Jan 1997 16:46:54 GMT, Sandy Herring <sandy@herring.org> wrote: >I've just switched from tin to slrn (and love it!). I've read the >available docs and searched this newsgroup, but don't see any discussion >on how to print locally from my PC when telneted into my ISP w/vt100 >emulation and running slrn on my ISP's UNIX host. I can do this from >lynx. And I have a shell script which I substituted for 'default_printer' >in my tinrc that echo'd the proper escape code to open the print job and >then close it after cat'ing the output to the tty. But I don't see any >facility within slrn to spool an article to a printer. If this cannot >currently be done, is it slated to be an enhancement? This can be done via a macro or by piping the article to your shell script. The macro solution consists of defining a function and binding it to a key. See slrn/README.macros for information about macros and then look at slrn/macros/ttyprint.sl for an actual macro to print the current article on the printer attached to your terminal. After reading the relevant documentation, you will only need to add: set macro_directory "/WHERE/SLRN/IS/LOCATED/slrn/macros" interpret "util.sl" interpret "ttyprint.sl" The file `util.sl' needs loaded before ttyprint.sl because `ttyprint.sl' may use some of the macros that `util.sl' defines. Keep in mind that slrn needs to be compiled with macro support. Run `slrn --version' to see whether or not your slrn executable has macro support. Finally, these comments apply to slrn 0.9.2.1. -- John E. Davis Center for Space Research/AXAF Science Center 617-258-8119 MIT 37-662c, Cambridge, MA 02139 http://space.mit.edu/~davis
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads