Hi
In the printer section of global.conf it have something
like that :
if (strlen($_printer))
foreach $xxx ($LIST_DELIM, $_printer)
$xxx = "'/usr/bin/webps ",$REMOTE_HOST,"'";
printer { options "< %s" command $$xxx timeout 40 }
done
endif
My global.conf file is included. Don't remember if I did any other
changes
for REMOTE_HOST.
I have not used it for ages.
It should be the correct one, because the first version of java app
did a iso to unicode conversion and in my case, greek, that was
disastrous.
Note do note run the thing on a site connect it the internet.
It opens a TCP port and prints anything it gets at lpt1: a good way get
by java
printing problem, and print like a true dos app ;-)
Antio from not so sunny Greece.
Tasos Chronis
Gregory Doyle wrote:
>
> Sounds interesting, I would like you to post it to the list, perhaps it is a viable
>solution.
>
> Thanks
>
> GP Doyle
> --
>
> On Fri, 12 Nov 1999 10:20:56 Tasos Chronis wrote:
> >Hi
> >
> >Before some time I made a very small java app that listened on a TCP
> >port,
> >and on the linux box I configured the global.conf to pipe the printing
> >text
> >to a perl script that send the text to the PC running telnet.
> >
> >If anyone wants it I can send it to the list.
> >(I have to find out where it is ;-))
> >
> >Gregory Doyle wrote:
> >>
> >> Hi again,
> >>
> >> I have an executable script file in my /usr/bin directory called PASSPRT. The
>script file sets up Pass Through Printing via a Telnet client. The script is as
>follows:
> >>
> >> printf "\033[5i\c"
> >> cat $*
> >> printf "\033[4i\c"
> >>
> >> When I telnet to the linux box from elsewhere (ie. a WIN95 box) I can passprt
>anyfile on the Linux Box and have it printed at the windows default printer via the
>telnet client. I was wondering was there anyway I could configure DOSEMU such that
>the printing generated during a DOSEMU session could go to PASSPRT instead of LPR.
>This way the printing generated in DOSEMU over a Telnet session would print at the
>local printer where the Telnet client is running. Does anyone have any suggestions or
>ideas?
> >>
> >> Thanks in Advance
> >>
> >> GP Doyle
> >>
webprint.zip
wp.tar.gz