vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| It's my understanding that when you print using lpr you use the command lpr -P <printername> <filename>. For example, if I want to print a file named "testfile" to a queue named "printqueue" I would use the command lpr -P printqueue testfile. 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. Regards, Richard Huelbig |
| ||||
| 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 __________________________________________________ ______________________ |
| Thread Tools | |
| Display Modes | |
|
|