LDAP-UX Client Services B.04.10 with Microsoft Windows Active Directory Server Administrator's Guide
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 ADS 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. These
examples use the alternate printer attributes, printerbyname and printer-resource. The
printerbyname attribute specifies the local printer name. The printer-resource attribute provides
the remote host name and remote printer name.
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 follow:
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printerbyname: laser2
printer-resource: lpd://hostA.hp.com/lj2004
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 sent their print jobs to laser2 by typing lp -dlaser2 filename.
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 as below:
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printerbyname: laser2
printer-resource: lpd://hostA.hp.com/lj2004
printer-location: Engineering Lab
printer-model: Hewlett Packard laserjet Model 2004N
printer-service-person: David Lott
Since the local printer name, remote hostname, 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.
Example 3:
The system hostA.hp.com is retired. The Laserjet 2004 printer is now connected to system
hostC and set up as a local LP printer lj2004. The administrator should update the printer
object by changing the value in printer-resource attribute. The following shows the updated
information of print objects:
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printerbyname: laser2
printer-resource: lpd://hostC.hp.com/lj2004
printer-model: Hewlett Packard laserjet Model 2004N
printer-service-person: David Lott
The current remote LP laser2 printer configuration is removed from the client system, and the
new laser2 printer configuration with new remote hostname information is added to the client
system. In fact, if either remote hostname or remote printer name of printer-resource
attribute is modified, the printer configurator will remove the current remote LP printer
configuration and create the new printer configuration with the updated resource information.
78 LDAP Printer Configurator Support