Managing Printer Entries
To add printer entries to the LDAP directory, use either the printmgr
configuration tool or the lpset -n ldap command-line utility. See lpset(1M). Note that the printer objects
added to the directory only define the connection parameter, required by print system
clients, of printers. Local print server configuration data is still held in files.
A typical printer entry would look like the following:
sun-printer-kvp=description=HP LaserJet (PS)
lpget(1M) can be used to list all printer entries known by the LDAP
client's LDAP directory. If the LDAP client's LDAP server is a replica server,
then printers listed might not be the same as that in the master
LDAP server depending on the update replication agreement. See lpget(1M) for more information.
For example, to list all printers for a given base DN, type
# lpget -n ldap list
description=HP LaserJet (PS)