Subject: Re: [Q] Personal Print command in .pinerc

From: [email-masked] (Fredrick Backman)
Date: 1 Nov 1995 07:55:06 GMT

In article [email-masked],  Ralf Wenzel <[email-masked]> writes:
>Hi!
>
>My personal print command is "/za/prx/ filename", x ist the number of the 
>printer I want to use, the filename is the name of the file I want to 
>print. 
>
>Now the Question: How I can set THAT print command in my .pinerc, I don't 
>know how I can tell pine, that there has to be a filename. I think that 
>pine save the file to print in a temporary file--but what might be the 
>name of that file?

I really don't know if there is a temporary file, but perhaps you don't need
it to solve the problem. I would suggest you put this line in your .pinerc:

personal-print-command=cat - | /za/prx

(I guess it's supposed to be /za/prx and not /za/prx/)
You must, however, specify the printer number x.

I believe "cat -" is necessary, though it may seem a bit silly.

/Phred

---
.-.. .. ...- .. -. --. .. -. .- ...- .- -.-. ..- ..- -- ... ..- -.-. -.- ...
Fredrick Backman. Research Engineer, handsome, smart, athletic, and modest!!
Dept of Linguistics, Umea University, 901 87 Umea, Sweden. [email-masked]
URL: <http://www.ling.umu.se/~phred> Phone: +46-90-165676 Fax: +46-90-133162
"Take a stress pill and think things over." -Hal9000  "Don't Panic!" -HHGTTG

---

From: Mike Brudenell <[email-masked]>
Date: Wed, 1 Nov 1995 12:44:55 +0000 (GMT)

If you check the helpful text underneath where you set this up (Start 
Pine 3.91, type S for setup, then P for printer) you will see you need to 
give a command that the message is *piped* into.... there is no filename 
involved.

So as long as the user's "/za/prx" program can accept text piped into it, 
instead of just a filename on the command line then the necessary command 
is just "/za/prx".

Mike Brudenell                                         <[email-masked]>
------------------------------------------------------------------------
The Computing Service, University of York, Heslington, York, YO1 5DD, UK
Tel: +44-1904-433811  FAX: +44-1904-433740  http://www.york.ac.uk/~pmb1/

---

From: Ralf Wenzel <[email-masked]>
Date: Tue, 31 Oct 1995 18:55:03 +0100

Hi!

(Pine 3.91 for UNIX SVR4)

Please send a Cc of your answer to me (mail), thanks a lot in advance

	Ralf