Search directory for print system objects on a System V print subsystem.
The dslpsearch command allows users and administrators to search the directory for print system objects. For example, a user could search for any printer that can print color PostScript files. The main use of this command will be to search for print queues that match the search string.
The dslpsearchcommand returns the Distinguished Name (DN) of any objects that match the search string. However, the Relative Distinguished Name (RDN®) is required for use in the other directory-enabled commands. For example, if the DN "cn=testqueue,ou=printq,ou=print,cn=aixdata" is returned by the dslpsearch command, only the RDN "testqueue" is used to refer to the print queue.
Item | Description |
---|---|
-q | Search for print queues that match the search options. The search is done on the physical printer objects but the print queues that service those printers are displayed. This is the default search type. The -q option cannot be specified with -P. |
-p | This option is used with the -q option, and causes a list of physical printers servicing the print queue also to be displayed. |
-P | Search for physical printers that match the search string. The -P option cannot be specified with -q. |
-o SearchOptions | Multiple search options may form a comma-separated
list. Each option may be constructed from the following:
|
dslpsearch -q -o search-options
dslpsearch -P -o search-options