[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Printing through remote machine



Thank you !
 It worked fine. Is the fact that Postscript file is a simple text file
helped ?
 What happen if the file contain unprintable characters ? (It is not needed
here, just to enhance my knowledge).
 About using directly the "lpr" : I can do it from the remote host, but if I
 like to do it within my Linux shell I need it to be shared with samba or
 something, no ? How will I redirect my queue to the other machine ?

Bye the way (off topic) :
 Hi-Tech college has two interesting courses -
 1) LINUX system administration.
 2) Mastering UNIX shell scripts.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
With a rubber duck, one's never alone.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Iftach Hyams
paraduma@exn.co.il          972-4-8315605



> ----------
> From: 	Ira Abramov[SMTP:lists-linux-il@ira.scso.com]
> Sent: 	?&yod;&vav;&fmem; &resh;&bet;&yod;&ayin;&yod;, 15 &dalet;&tsadi;&mem;&bet;&resh;, 1999? 18:37
> Cc: 	linux-il@linux.org.il
> Subject: 	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
> 

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