View Single Post

   
  #2 (permalink)  
Old 02-15-2008, 12:47 PM
Tony Lawrence
 
Posts: n/a
Default Re: Redirecting data sent to a local printer to another host and port on the network

Fernando Ronci <fernandoronci@hotmail.com> wrote:

(stuff deleted, basically he's trying to use netcat to do lpr)

>I picked port 9100 because port 515 is already used to handle traffic
>from the system's network printer. Anyway, 'hhproxy' will map port
>9100 back to 515 when forwarding traffic to 'winlpd' on the 2nd remote


But what you are not understanding is that lpd is a fairly
complex protocol and netcat is NOT doing that.

See http://aplawrence.com/Unixart/netcatlpr.html for a better idea
of what you would need to do.

Better idea would be to put a printserver out there that you CAN
use netcat directly with.

--
tony@aplawrence.com Unix/Linux/Mac OS X resources: http://aplawrence.com
Get paid for writing about tech: http://aplawrence.com/publish.html
Reply With Quote