Date: Sat, 4 Mar 2000 11:06:10 -0500 From: Chris <kingsqueak@home.com> To: Hugh Blandford <hugh@mail.island.net.au> Cc: questions@FreeBSD.ORG Subject: Re: Printing from Unix to Windows Message-ID: <20000304110610.A605@cc737825-a.etntwn1.nj.home.com> In-Reply-To: <Pine.BSF.3.96.1000305022437.28201C-100000@mail.island.net.au>; from hugh@mail.island.net.au on Sun, Mar 05, 2000 at 02:30:15AM %2B1100 References: <Pine.BSF.3.96.1000305022437.28201C-100000@mail.island.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Just a point of curiosity, but if the remote is the Win machine, why not copy or transfer the file that needs printing using scp or sftp which are part of ssh2? Then print the file locally on the Win machine. This of course assumes that the unix application outputs to a printable format file that the Win machine can use. Another solution is to get the ip of the Win machine from the env via a script. When you connect with ssh2 the env is set with the remote's ip information. You could have a script snag the remote's ip, and create a printcap entry with the current remote's ip as a remote printer entry. There are a number of ways to do this, the key is getting the ip of the remote, my crack at it says that through the env that ssh2 would setup is the easy way out since you would be using ssh to login anyway. On Sun, Mar 05, 2000 at 02:30:15AM +1100, Hugh Blandford wrote: > I have a situation where I have a roving user who would like to be able to > login to their server and pring invoices etc via the net. The unix server > would have a fixed IP address but the client wouldn't. We could run SSH > on the Windows machine for a secure login but what about the printing? I > need to redirect the output from a unix machine to a Windows printer via > the net. > > There is PPTP but there are no Windows machines on site. I have > heard about PopTop but I didn't think the encryption was working on FBSD. > > If anyone can come up with some suggestions I would appreciate it. > > Thanks, > > Hugh Blandford > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000304110610.A605>