LDAP-UX Client Services B.05.00 Administrator's Guide
http://www.ietf.org
For the detailed structure information of the new printer schema, see Appendix C. You must
import the new printer schema into the LDAP Directory Server to create new printer objects.
NOTE: The LDAP printer configurator supports any Directory Servers that support the LDAP
printer schema based on RFC 3712.
3.4.1 An example
The following shows a typical printer object entry:
dn: printer-name=printer1,ou=printers,dc=cup,dc=hp,dc=com
objectclass: top
objectclass: printerabstract
objectclass: printerservice
objectclass: printerlpd
printer-name: lj81003
printer-uri: lpd://hostA.hp.com/lj81003
printer-location: 47L
printer-make-model: hp laser jet 81003
printer-service-person: John Louie
With the new printer schema, you are able to create printer objects for the LP printer configuration.
The minimum information for a printer object entry is the local printer name, remote host name,
and the remote printer name. The remote host name is the system or device that the remote
printer is connected to. The remote host name must be the fully qualified name.
The printer-name attribute provides information of local printer name, the printer-uri
attribute identifies the remote host name and the remote printer name information. URI stands
for uniform resources identifier. The syntax of URI is based on RFC 2396. The following shows
an example of the printer-uri attribute:
printer-uri: lpd://hostA.hp.com/lj2004
3.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 follow:
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printer-name: laser2
printer-uri: 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:
118 LDAP Printer configurator support