LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
5.4.2.1 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.
5.4.2.1.1 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.
5.4.2.1.2 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 that 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 15.
Table 15 Mappings between default printer and alternate printer attributes
Alternate Printer AttributeDefault Printer Attribute
printerbynameprinter-name
printer-resourceprinter-uri
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 that 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 16.
Table 16 Mappings using existing printer attributes
Alternate Printer AttributeDefault Printer Attribute
printerbinnameprinter-name
printer-colorprinter-uri
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
5.4 Printer schema 169