Operating System - HP-UX
1834780 Members
2962 Online
110070 Solutions
New Discussion

Re: /dev/null printers - how to change?

 
SOLVED
Go to solution
Andy Dzimira
Occasional Contributor

/dev/null printers - how to change?

Hi all,
I'm currently running a D230 HPUX 10.20 box that has printers hanging off DTC boards. I bought a new rp2405 server and added the printers to the spooler using 'Add Remote Printer' in sam.
I can print to the printers from the new box but when I do a lpstat -v it shows all the printers as /dev/null remote to: on 192.168.1.1.
Is there a way to get a unique device name for each printer? I need to point my database spooler at the device path to enable printing from within the database.
Thanks for any info...
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: /dev/null printers - how to change?

/dev/null is the device for all remote printers. Your solution would not even work for a single printer because if you directed output to /dev/null it would simply disappear. What you should be avble to do is output to a named pipe that it turn has a daemon connected to it to direct the input to the desired lp command.
If it ain't broke, I can fix that.