[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing through remote machine
On Wed, 15 Dec 1999, Iftach Hyams wrote:
> I'm connected to remote Unix machine (SunOS 5.7) with a privilege
> to "rsh" and to print when I'm logged there.
> How can I combine those to dump a local postscript file
> to the printer queue other there ?
and it won't let you use lpr directly?
it should be a simple pipe
I never use rsh around here, but this works with ssh (should be similar)
[ira@rain ~]# cat file.ps | ssh shine "lpr"
the pipe sends it into the standard input of the lpr command on the
remote side.
-- Ira Abramov ; whois:IA58 ; www.scso.com ; all around Linux
enthusiast Microsoft is not the answer. Microsoft is the question. NO
(or Linux) is the answer. (Taken from a .signature from someone from the
UK, source unknown)
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il