Printing to WTK from Linux over ssh tunnel

Joe Lewinski <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
Hello,

We are using 3.10.1i and traditionally have been able to perform
a remote copy to the local PCs printer port from Linux as in:

rcp file pc_ip_address:LPT1 and a file would print on the local PCs
parallel port.

Now that we are using a ssh tunnel started by the following DOS bat
file:

@echo off
rem Login to server and setup a tunnel
cd c:\fourjs\3_53_1a
C:\fourjs\3_53_1a\bin\startwtk.exe -w;
cd c:\etc
ssh -l  some_user  -C -R 6405:localhost:6405  66.202.6.91  "/bin/ksh -c 
'/app/bin/sshgui.sh 5'"

We get our GUI running, but cannot get the printing to work.   When
the sshgui.sh program runs (above), the FGLSERVER variable is
set to "localhost:5".    When we attempt to run an rcp from either
a sub-shell of the users login shell, or from a separate process group,
we cannot connect to the Windows 2000 PC client.

Any help or suggestions are appreciated.

Thanks!

Joe

Joe Lewinski
ICANON Associates, Inc.
Phone: 215.822.5519 Fax: 215.822.5523

NEWZware is a product of ICANON Inc. - Visit our web site at
http://www.icanon.com/ for more information on ICANON, the company, and its
suite of products and services.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.