Initial question was how my programs could get a list of printers
(local and remote) on Solaris 2.6.
On Solaris 2.4 each printer had a directory under /etc/lp/printers.
Under Solaris 2.6, this directory is empty.
My thanks to the following for quick replies:
Appologies to anyone who wrote after this reply was prepared.
Most suggested lpstat with one of the options. This will, obviously, require
that my library function call lpstat with output redirected to a file,
then catalog the results, and delete the file.
The other option suggested was to look at /etc/printers.conf. Does anyone
know if this file format survives into Solaris 7.
Parker Hannifin Corporation
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:17 CDT