lsprtsv Command

Purpose

Shows print service information stored in the database.

Syntax

lsprtsv { -c | -p } [ -h ] [ -qQEntry ... ] [ -Z ]

Description

The lsprtsv high-level command shows predefined and customized TCP/IP-based print service information. Use the lsprtsv command to extract customized or predefined print service information.

The lsprtsv command can show the following information:

Flags

Item Description
-c Extracts customized configuration information.
-h Shows a list of host names that can use the print server.
-p Extracts predefined configuration information.
-qQEntry... Shows the logical print queues specified and their attributes available on a host. The QEntry variable specifies the names of the queues to display.
-Z Specifies that the output be produced in colon format. This flag is used if the lsprtsv command is invoked from the SMIT usability interface.

Examples

  1. To show all host names who have access rights to a print server, enter:

    $ lsprtsv  -c -h

  2. To show which logical printers are available on a given client machine, enter:

    lsprtsv  -c -q sahara