🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Ed Okerson Sun, 16 Oct 1994 16:56
TIN remote printing
#11954
Author: Ed Okerson
Date: Sun, 16 Oct 1994 16:56
4 lines
966 bytes
Is there any way for people dialing into a Linux host with a shell 
account to print directly from tin to their attached-to-ansi printer?  
The only way I have found so far is for them to mail the article to 
themselves and print it with pine.
Re: TIN remote printing
#11949
Author: Doug Sewell
Date: Sun, 16 Oct 1994 16:58
21 lines
1646 bytes
Ed Okerson (eokerson@clover.cleaf.com) wrote:
: Is there any way for people dialing into a Linux host with a shell 
: account to print directly from tin to their attached-to-ansi printer?  
: The only way I have found so far is for them to mail the article to 
: themselves and print it with pine.

One of the things in the pine sources "contrib" directory is a program
called "ansiprt".  This program accepts stdin and prints on an attached-
to-ansi printer, using the same mechanism pine does.

So, in tin you can "|" (pipe), "a" (article) "ansiprt" to print it.

If I remember right tin's printing function also reads from stdin, so you
could go into the setup menu (shift-M) and set "ansiprt" to be your printer
program.

-- 
Doug Sewell (doug@cc.ysu.edu) (http://cc.ysu.edu/1/doug)

The tree of evil bears bitter fruit -- Microsoft
You make 17 mistakes and expect me to find your corner ?  -- Frank Gatrell
Re: TIN remote printing
#11963
Author: Contractor Earle F. Ake
Date: Mon, 17 Oct 1994 14:54
16 lines
1381 bytes
Ed Okerson (eokerson@clover.cleaf.com) wrote:
: Is there any way for people dialing into a Linux host with a shell 
: account to print directly from tin to their attached-to-ansi printer?  
: The only way I have found so far is for them to mail the article to 
: themselves and print it with pine.

	You can use the "|" command to pipe the article through a script.
Create a script that turns on the attached printer, prints to it, then
turns it back off.


-- 
Earle Ake                               akee@wpdis02.wpafb.af.mil
Hassler Communication Systems Technology
MSC/SIP; 4375 Chidlaw Rd. Suite 6; WPAFB, Ohio 45433-5006
257-7240/5524 DSN: 787-7240/5524
Re: TIN remote printing
#12049
Author: Jack Gostl
Date: Sat, 22 Oct 1994 16:51
25 lines
1773 bytes
If you have a function called prtty, just pip the artcile
to it, otherwise, you could use a script to pull the correct information 
from the termcap database and switch on the printer port on your 
terminal, print the article, and switch it off.

Contractor Earle F. Ake (akee@wpdis02.wpafb.af.mil) wrote:
: Ed Okerson (eokerson@clover.cleaf.com) wrote:
: : Is there any way for people dialing into a Linux host with a shell 
: : account to print directly from tin to their attached-to-ansi printer?  
: : The only way I have found so far is for them to mail the article to 
: : themselves and print it with pine.

: 	You can use the "|" command to pipe the article through a script.
: Create a script that turns on the attached printer, prints to it, then
: turns it back off.


: -- 
: Earle Ake                               akee@wpdis02.wpafb.af.mil
: Hassler Communication Systems Technology
: MSC/SIP; 4375 Chidlaw Rd. Suite 6; WPAFB, Ohio 45433-5006
: 257-7240/5524 DSN: 787-7240/5524

--
ARGOS Computer Systems, Inc. 110 West 32nd Street New York, NY 10001
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