HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
p
pdls(1) pdls(1)
(TO BE OBSOLETED)
To find the minimum about the second document in a job; if the local ID is 13, enter the command:
pdls -c document 13.2
This will provide information only about the second document.
Determine Document Formats Supported by Given Printers
To find out the document formats supported by the logical printers in SPOOL1, enter one of the fol-
lowing commands:
pdls -c printer -r document-format-supported -s line SPOOL
pdls -x "class=printer
requested-attributes=document-format-supported
style=line" SPOOL1
HPDPS will respond with information that looks something like this:
LogPrt1: document-formats-supported=document-format-ASCII
document-format-postscript
LogPrt2: document-formats-supported=document-format-ASCII
document-format-HPL
document-format-postscript
Using a Filter
To determine the logical printers, physical printers, and queues that support selected attributes on any
server, enter one of the following commands:
pdls -c printer -f "content-orientation-supported==landscape &&
sides-supported==2"
-r printer-realization,associated-queue "*:"
pdls -x "class=printer
filter= content-orientation-supported==landscape &&
sides-supported==2"
requested-attributes=printer-realization associated-queue"
"*:"
The system will return information that looks something like this:
LogPrtHi: Printer-name = LogPrtHi
LogPrtHi: Printer-realization = logical
LogPrtHi: associated-queue = HiResQ
LogPrtLo: Printer-name = LogPrtLo
LogPrtLo: Printer-realization = logical
LogPrtLo: associated-queue = LoResQ
PhysPrt1: Printer-name = PhysPrt1
PhysPrt1: Printer-realization = physical
PhysPrt1: associated-queue = HiResQ
PhysPrt2: Printer-name = PhysPrt2
PhysPrt2: Printer-realization = physical
PhysPrt2: associated-queue = LoResQ
To list all jobs that are owned by Smith, enter one of the following commands:
pdls -f "job-owner==Smith" -U SPOOL1
pdls -f "j-ow==Smith" -U SPOOL1
To list all job that are not owned by Smith, enter the following command:
pdls -f !("job-owner==Smith") -U SPOOL1
To list jobs owned by someone with a given substring in their name (substring matching) use one of the
following filters with the pdls command:
pdls -U -f "job-owner=*Jones" SPOOL1: # Initial string match
pdls -U -f "job-owner*=*one" SPOOL1: # Any substring match
pdls -U -f "job-owner*=nes" SPOOL1: # Final string match
Section 1688 7 HP-UX Release 11i: December 2000
___
___