01-19-2011 08:26 AM
What I am looking for is where the information about remote print queues is stored. Specifically the remote address. I know I can get the information using lpmgr/lpstat/SAM/... But I would like to know where on the system this information is stored. The specific file that is. I have no idea why this information cannot be found anywhere (easily, though I've bee looking for quite a while). I appreciate your help!
Solved! Go to Solution.
01-19-2011 08:51 AM
Please go at "Printer" theme (Table of Contents page 64) inside of HP-UX System Administrator's Guide:
I hope it's useful
01-19-2011 09:27 AM
Unfortunately, it doesnt't help. The "Administrators Guide: Overview" just points to the "Administrators Guide: Configuration" and that just explains how to add/remove remote printers using SAM/lpadmin, along with some other commands thrown in. It doesn't say which files are used or where the information is stored.
I would really like to find this information on the system. During my search I came across other people who were looking for the same info. On AIX the info can be found in /etc/qconfig. I find it hard to imagine that HP hides this info so well that, until now, I found nobody who knows where it is, hehe.
01-19-2011 07:11 PM
You'll need sam to decode it. Remote printers could be setup as an IP address or as a hostname. Network printers are setup differently but will also have an IP or hostname.
01-20-2011 03:00 AM
thank you for the information. That file does seem to hold the information. Too bad that it's a binary, but at least now I know where the information is stored and I can put this to rest. I awarded you all points, as this is a pretty straightforward answer.