No Problem, I put the source of passprt in the original message to this thread, but 
here it is 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"
                           
By the way I found this information at the following site:

http://www.anzio.com/support/printguide.htm

In the meantime I will play around with the timouts and see if that has any effect.
--

On Wed, 17 Nov 1999 10:33:45   Tasos Chronis wrote:
>It could be the timeout ?
>Do you have the sources of the passprt program ?
>(Personaly I could use it, it is a much cleaner solution 
>than mine)
>
>Gregory Doyle wrote:
>> 
>> 
>> --
>> 
>> 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.
>
>-- 
>
>Tasos Chronis
>STATEL Help Desk
>Contraste Europe S.A.
>_____________________________
>Support STATEL: 
>Email: [EMAIL PROTECTED]
>Hotline: +32 68 44 59 07 (STATEL only)
>Fax: +32 68 44 59 07
>Personal 
>Phone : + 30 31 8246 47
>E-mail: [EMAIL PROTECTED]
>

Best of luck and hopefully we will be able to figure this out.

Regards,

GP Doyle


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

Reply via email to