LDAP-UX Client Services B.04.10 Administrator's Guide (edition 7)
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
printer-name: laser2
printer-uri: lpd://hostA.cup.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-uri attribute. The following shows the updated
information of print objects:
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printer-name: laser2
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-uri 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.
Example 4:
The remote LP printer, laser2, no longer supports LPD printing protocol. IPP printing protocol
is implemented instead. The administrator updated the printer object by changing the printing
protocol to IPP. The following shows the updated printer objects in the directory server:
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printer-name: laser2
printer-uri: ipp://hostC.hp.com/lj2004
printer-location: Engineering Lab
printer-model: Hewlett Packard laserjet Model 2004N
printer-service-person: David Lott
IPP printing protocol is not supported by the LP spool printing system. The only action that the
LDAP printer configurator will take is to remove the current laser2 printer configuration on
the client system.
Example 5:
The administrator created a new printer object in the directory server as below:
dn: printer-name=laser8,ou=printers,dc=hp,dc=com
printer-name: laser8
printer-uri: lpd://hostD.hp.com/lj81003
In this example, the printer configurator adds a new remote LP laser8 printer configuration
to the client system.
Managing the LP printer configuration 75