LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
printer-color: lpd://hostA.hp.com/lj2006
Printer attribute mappings
To enable the LDAP printer configurator support, you must run the setup program to perform the
attribute mappings and search filter changes. The tasks include the following:
• Remap the default group attributes, printer-name and printer-uri to the alternate
printer attributes respectively. The attribute mappings are done in step 23 of Section 3.4.6.2
(page 139) in Section 3.4.6 (page 138).
• Change the default search filter printerlpr for the printer services to the alternate search
filter. LDAP-UX Client Services uses the printerlpr object class for the printer service as a
default search filter. You must change default printerlpr object class to the alternate object
class. The search filter change can be done in step 24 of Section 3.4.6.2 (page 139) in
Section 3.4.6 (page 138).
5.5 Managing the LP printer configuration
The LDAP-UX Client Services provide the printer configurator integration; the product daemon
automatically updates the remote LP printer configuration of a client system based on the available
printer objects in the directory server. The printer configurator provides the printer configuration
management; it verifies if the printer configuration has any conflict with the LP printer configurations
in the client system before it actually adds or deletes a printer.
Following are five examples to show how the LDAP printer configurator provides central management
of printer services based on the printer objects stored in the directory server:
Example 1:
An administrator sets up a new printer located in the Engineering Lab and wants this printer to be
shared. This printer is physically connected to a system hostA and is set up as a local printer
lj2004. The administrator creates a new printer entry in the directory server as shown in the
examples to follow.
A new printer configuration for laser2 is created automatically in every client system if the LDAP
printer configurator is running. The print queue for laser2 is enabled and ready to accept print
jobs. Users can send their print jobs to laser2 by typing lp -dlaser2 filename.
HP directory server environment example
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printer-name: laser2
printer-uri: lpd://hostA.hp.com/lj2004
Windows ADS environment example
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printerbyname: laser2
printer-resource: lpd://hostA.hp.com/lj2004
Example 2:
IT department would like to store additional service information in the printer object. The
administrator modifies the printer object by adding more printer attributes. The modified content
of the printer object is shown in the examples that follow.
Since the local printer name, remote host name, remote printer name, and the printing protocol
information are still the same, the LDAP Printer Configurator will not change the current remote LP
printer configuration for laser2.
HP directory server environment example
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printer-name: laser2
170 LDAP printer configurator support