On 7/18/2014 4:10 AM, Mateusz Viste wrote:
> Actually, that's exactly what jd.exe does from the wattcp/pprd package,
> too. "Send job to printer or spooler using direct protocol."
>
>     http://archives.scovetta.com/pub/simtelnet/msdos/lan/pprd200.zip
>
> Source code is included.
>
> The nice thing is that it uses printer configuration from wattcp.cfg, so
> it'a bit more 'integrated' than a general-purpose netcat.
>
> Mateusz
>

This:

nc -target 192.168.2.20 9100 -bin < \xmas.ps

is not simple enough?

I much prefer to use general purpose tools when they are available. 
Netcat is a pretty standard Unix tool, and this is just one of the many 
tricks you can do with it.  No configuration in a file needed either.


Mike

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to