B    BSD Print System Command Equivalents

This appendix lists common BSD print system requests and their equivalent Advanced Printing Software command.

Table B-1:  BSD and Advanced Printing Software Command Equivalents

BSD Command and Option, and Value Advanced Printing Software Command, Option, and Value Action

lpr -Pprinter_name

pdpr -p printer_name

Submits the job to the specified logical printer.

lpr -#number

pdpr -n copies

Specifies the number of job copies you want printed.

lpr -m

pdpr -N email

Delivers messages regarding the job by electronic mail.

lpr -Jjob

pdpr -t job_name

Specifies a name for the job. The name prints on the banner page of the output. If this option is omitted, the name of the first file is used for the job name.

lpr -h

pdpr -x "job-sheets=none"

Suppresses printing of a banner page (job start sheet). Some administrators might configure their printers to require printing of job start sheets.

lprm request_id

pdrm job_id

Cancels the job specified by job_id.

lpq -P printer_name

pdq -p printer_name

Lists the status of print jobs for the specified printer.

lpq -l

pdq -r all -s line

Lists information in long format, including the name of the host from which the print request originated.