Technical data

For a detailed description of the commands discussed in this chapter, refer to
the reference page for the command.
7.1.1 Printing a Job
A print operation creates the job object and the document objects from your
print request to print one or more files. The spooler creates a job object
for each print request and a document object for each file a user specifies
as part of a single print request. A job object, therefore, contains one or
more document objects.
For each job, the spooler assigns a unique job identifier (job-identifier)
that is used to identify the job when job operations are performed, such as
pausing the job.
Print requests are made using the pdpr command. The pdpr command has
the following syntax:
pdpr [-f file_name] [-n copies] [-N notification_method]
[-p logical_printer_name] [-t job_name files]
The following examples show how to use the pdpr command to submit print
requests:
To print the mail-file.txt file on the default logical printer
(PDPRINTER), use the following command:
# pdpr mail-file.txt
To print the mail-file.txt file on printer pr_doc1, use the following
command:
# pdpr -p pr_doc1 mail-file.txt
To print the front-page.ps file onesided and the files ch1.ps and
ch2.ps twosided, use the following command:
# pdpr -x sides=1 -f front-page.ps -x sides=2 ch1.ps ch2.ps
The pdpr command can also read document data from standard input,
thereby allowing it to be used in a pipe expression.
To print a listing of the current directory, use the following command:
# ls -l | pdpr
7.1.2 Printing a Job After a Specified Time
You can submit a print request and specify that the job be printed after a
specified date and time. You can also specify the print date and time with a
set or modify operation.
7–2 Managing Jobs and Documents