HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
p
pdls(1) pdls(1)
(TO BE OBSOLETED)
List Status of All Pending Jobs
To list job status of all jobs that have been submitted to the logical printer
DepartPrt and that are pend-
ing, enter the command:
pdls -f "printer-name-requested==DepartPrt &&
current-job-state==pending" SPOOL1:
The following is displayed:
Current Printer Printer
Job ID Name State Requested Assigned
---- ---------- ------------ ---------- --------- ---------
5 SplX:1114 Trip-report pending DepartPrt
List the Brief Attributes of a Logical Printer
• To list the brief attributes of your default logical printer (assigned to the
PDPRINTER environment
variable), enter the following command:
pdls -c printer DepartPrt
It causes the following to be displayed:
Printer Realization Enabled Queue
------- ----------- ------- -----
DepartPrt logical true DepartQ
If you do not specify a printer name, the command will list the brief attributes of all the logical printers
that share the same spooler with your default logical printer (as defined in your
PDPRINTER environ-
ment variable.
List Document Formats Supported
• To list the document-formats supported by the logical printer
DepartPrt in the line style with
headings (default style for an attribute list), enter the following command:
pdls -c printer -r document-format-supported DepartPrt
The following is an example of what might be displayed:
DepartPrt: document-formats-supported=document-format-ASCII
=document-format-ps
• To list the document-formats supported by the logical printer
DepartPrt in the column style with
headings, enter the following command:
pdls -c printer -r document-formats-supported -s column DepartPrt
The following is an example of what might be displayed:
Document
Formats
-----------
ASCII
PostScript
Create an Archive File
• To create an archive file for a spooler, enter the command:
pdls -c server -r archive SPOOL1 > /attr/SPOOL1.archive
SEE ALSO
pdclean(1), pdcreate(1), pddelete(1), pddisable(1), pdenable(1), pdmod(1), pdpause(1), pdpr(1), pdpromote(1),
pdq(1), pdresubmit(1), pdresume(1), pdrm(1), pdset(1), pdshutdown(1), pd_att(5).
To view information about all supported attributes, enter the command:
man pd_att
This will display a list of files by object from which you can select the attribute listing you want.
Section 1−−730 Hewlett-Packard Company − 9 − HP-UX 11i Version 1: September 2005