--

On Fri, 12 Nov 1999 19:32:31   Tasos Chronis wrote:
>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. 
>
Learning from how you modified the global.conf file, I did the following to my 
global.conf file

                               
 if (strlen($_printer))
     foreach $xxx ($LIST_DELIM, $_printer)
     $xxx = "'/usr/bin/passprt '";
     printer { options "%s"  command $$xxx  timeout 40 }
     done
 endif

Anyhow this seems to route the printout to the local telnet printer, however for some 
reason each print jobs bombs (ie. only a portion of the job gets the the local telnet 
printer and the rest seems to get lost)

I then decided to change the global.conf file and change the printer line with the 
following:

                                printer { file "filename"}

Upon exiting DOSEMU, at the shell prompt I then do: passprt "filename"

When I do this I get the entire printjob printing at the local telnet printer.  
Anybody know why this would be happening.  It seems somehow DOSEMU can send the 
printout to a file, but something gets lost when I get DOSEMU to pipe it to the 
executable script.  Anybody have any ideas or suggestions?

Thanks in advance

GP Doyle


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.

Reply via email to