Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
LDAP-UX Client Services B.04.10 with Microsoft Windows Active Directory Administrator's Guide: HP-UX 11i v1 and v2 > Chapter 5 LDAP Printer Configurator Support

Printer Schema and Attributes

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The Windows 2000, 2003 or 2003 R2 Active Directory Server (ADS) contains the built-in printer schema. The printer schema is used to create the printer objects that are relevant to the printer configurator services. The attributes of this schema are not the same ones supported by the LDAP-UX printer configurator. This section describes how to use the Windows ADS built-in schema to manage the networked printers.

Printer Attributes

With the printer schema in the Windows Active Directory Server, 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.

Default Printer Attributes

LDAP-UX supports the following two default printer attributes:

printer-name

Defines information of local printer name.

printer-uri

Defines the remote host name and the remote printer name information.

Printer Attribute Mappings

The printer-name and printer-uri attributes are not defined in the Windows Active Directory Server schema. You must use one of the following two methods to define the alternate attributes and map them to default printer attributes respectively.

Defining Alternate Printer Attributes

You can define alternate printer attributes which can be remapped to printer-name and printer-uri, and use the ldapentry or ldapmodify tool to add the alternate printer attributes to your directory server. For example, you can define two alternate printer attributes, printerbyname and printer-resource, and map these attributes to printer-name and printer-uri respectively as shown in Table 5–1.

Table 5-1 Attribute Mappings

Default Printer AttributeAlternate Printer Attribute
printer-nameprinterbyname
printer-uriprinter-resource

 

The printerbyname attribute provides local printer name information and the printer-resource attribute specifies the remote host name and remote printer name. The following shows examples of the printerbyname and printer-resource attribute values:

printerbyname: laser2

printer-resource: lpd://hostA.hp.com/lj2004

Using the Existing Printer Attributes

You can use the existing printer attributes provided by Windows ADS schema to define alternate printer attributes which can be remapped to printer-name and printer-uri respectively. For example, the existing printer attributes, printerbinname and printer-color, are defined and mapped to printer-name and printer-uri respectively as shown in Table 5–2.

Table 5-2 Attribute Mappings

Default Printer AttributeAlternate Printer Attribute
printer-nameprinterbinname
printer-uriprinter-color

 

The printerbinname attribute provides local printer name information and the printer-color attribute specifies the remote host name and remote printer name. The following shows examples of the printerbinname and printer-color attribute values:

printerbinname : laser5

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 “Step1: Run the Setup Program” in the “Configuring LDAP-UX Client Services” section. For detailed information on how to remap printer attributes, see “Step 1: Run the Setup Program” in the “Configuring LDAP-UX Client Services” section.

  • 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 need to change default printerlpr object class to the alternate object class. The search filter change can be done in step 24 of “Step1: Run the Setup Program” in the “Configuring LDAP-UX Client Services” section.

    For detailed information on how to change the search filter for the printer service to search a different location in the LDAP directory server, see “Step 1: Run the Setup Program” in the “Configuring LDAP-UX Client Services” section.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006 Hewlett-Packard Development Company, L.P.