Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Distributed Print Service User's Guide: HP 9000 Computers > Appendix B LP Spooler Commands Translated to HPDPS Commands

LP Spooler Commands

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Table B-1 Title not available (LP Spooler Commands)

LP Command

LP Flag

HPDPS Command, Flag and Value

Action

lp

-c

HPDPS default behavior for the pdpr command.

Makes a copy of the file to be printed. Allows the user to change the file before the job has printed without affecting the printed output.

lp

-ddest

pdpr -p PrinterName

Submits the job to the specified print queue or HPDPS logical printer.

lp

-m

pdpr -N email

Delivers all messages regarding the job by electronic mail.

lp

-nnumber

pdpr -x "results-profile=:::CopyCount:"

Prints the specified number of job copies.

lp

-ooption

pdpr -x "printer-pass-through=-ooption"

Specifies printer-specific options.

lp

-ttitle

pdpr -x "job-name=JobName"

Specifies a value for the job-name attribute, when sent to an HPDPS logical printer.

lp

-w

pdpr -x "notification-profile={event-identifiers=job-complete delivery-method=email}"

Notifies job-originator when a job has printed.

lp

-s

HPDPS default behavior for the pdpr command.

Suppresses messages.

lp

pdpr -x "job-sheets=job-set-start"

Includes a banner page.

lp

-onb

pdpr -x "job-sheets=none"

Does not include a banner page.

lpstat

-v

pdls -U -c printer -f "printer-realization==logical" \*:

Lists device names of all printers.

lpstat

-vPrinterName

pdls -U -c printer -f "printer-realization==logical && printer-name==PrinterName" \*:

Lists device name for PrinterName.

lpstat

-vPrinterName1, PrinterName2, ...

pdls -U -c printer -f "printer-realization==logical && printer-name==PrinterName1 || printer-name== PrinterName2"|| \*:

Lists device names for each PrinterName in list of printers.

lpstat

-a

pdls -U -c printer -f "printer-realization==logical" -r enabled \*:

Lists acceptance state of all printers.

lpstat

-aPrinterName

pdls -U -c printer -f "printer-realization==logical && printer-name==PrinterName" -r enabled \*:

Lists acceptance state of PrinterName.

lpstat

-aPrinterName1, PrinterName2, ...

pdls -U -c printer -f "printer-realization==logical && printer-name==PrinterName1 || printer-name==PrinterName2 ||..." -r enabled \*:

Lists acceptance state for each PrinterName in list of printers.

lpstat

-d

No equivalent HPDPS command.

Prints the system default destination for lp.

lpstat

-u

pdls -U -c job -r "job-client-id job-owner job-priority submission-time job-name total-job-octets" \*:

Lists status of print jobs for all users.

lpstat

-uUserName

pdls -U -c job -f "job-owner==UserName" -r "job-client-id job-owner job-priority submission-time job-name total-job-octets" \*:

Lists status of print jobs for UserName.

lpstat

-uUserName1, UserName2, ...

pdls -U -c job -f "job-owner==UserName1|| job-owner==UserName2 || ..." -r job-client-id job-owner job-priority submission-time job-name total-job-octets" \*

Lists status of print jobs for each UserName in list of users.

lpstat

-oPrinterName

pdls -U -c job -f "printer-name-requested== PrinterName" -r "printer-name-requested job-client-id job-owner job-priority submission-time job-name total-job-octets" \*:

Lists status of jobs for PrinterName.

lpstat

-oRequest_Id

pdls -r -g -c job LocalJobID

Lists status of print job.

lpstat

-oListOfRequest-Ids, PrinterNames

pdls -r -g -c job LocalJobID_1 ... LocalJobID_npdls -r -g -c printerLogicalPrinterName_1 ... LogicalPrinterName_n

Invokes multiple instances of above lpstat -o.

lpstat

-s

Equates to -d, -v without any arguments.

lpstat

-t

Equates to -s, -a, -p, -o without any arguments.

lpstat

-p

pdls -U -c printer -f "printer-realization==logical" -r "printer-name printer-ready enabled" \*:

Lists status of all printers.

lpstat

-pPrinterName

pdls -U -c printer -f "printer-name== PrinterName && printer-realization==logical" -r printer-name printer-ready enabled \*:

Lists status of PrinterName.

lpadmin

-dPrinterName

No equivalent HPDPS command.

Sets up a logical printer as the default printer.

cancel

RequestId

pdrm GlobalJobID

pdrm LocalJobID

Cancels the job specified by the RequestId.

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.