I am new to HP-UX servers, can someone explain to me what does the /dev/null in the result of "lpstat -v" means? Been trying to search the answer but could not find any. Most of the printer queue on the server is pointing to /dev/null
Here is the sample result:
lpstat -v
device for : /dev/null
Also, what is the difference from this lpstat result?
The device is kind if legacy. In old times it was like /dev/lpt0 where a printer was hooked to a parallel or serial port.
The IP drivers are working differently - then it is set to /dev/null
(Would be interesting to see if bash's /dev/tcp/hostnane/port could be applied.)
It's the IP address of a remote host, where the local host sends to, via the lpd service or lpnet service.
The remote host can be the printer or a print server.
If there is no remote host and no or a /dev/null device then there might be a filter that sends it (I think the HP jetdirect works like that).
The SysV printing with lpsched/lpnet/lpadmin/lpstat was painful from the beginning. I think HP did some enhancements, and now recommends to use sam as a front end for printer administration.