View Single Post

   
  #2 (permalink)  
Old 01-04-2008, 10:30 PM
Gary R. Hook
 
Posts: n/a
Default Re: Is It Possible To Print To A Port (E.G. 9100)?

Richard Huelbig wrote:

> What I would like to do is print using a method similar to the RAW
> printing method found in Windows 2000 (i.e. print to an IP address and a
> port number, for example, port 9100). It looks like RedHat Linux might
> be able to do this using a command like this: lpr -Y -P<host>%<port>
> <filename>, but I'm not sure if I can do this on my AIX machine.
>
> Is it possible to print using this method? If so, would you be able to
> tell me the correct command syntax.


Last time I messed with queues, it was possible to use _anything_
as the backend. You'll have to create your own program, however,
unless the backend programs provided on AIX allow you to print
to a port. Since AIX 5.2 introduced some SysV print commands,
there may be facilities available.

--
Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE
__________________________________________________ ______________________
Reply With Quote