Technical data

lpx0001: printer-associated-printers = px3
pr1
lpx0001: printers-ready = px3
pr1
To display only the associated-queue attribute for logical printer lpx0001,
issue the following command:
#pdls -c printer -r associated-queue lpx0001
associated-queue
-----------------
px0001
6.3.3.4 Displaying Jobs Submitted to Logical Printers
Use the pdq command to generate a list of jobs that have been submitted to a
logical printer. The command can be used to display one or all jobs currently
residing in the queue associated with the printer. Jobs are displayed in
the order in which they are scheduled to print. The following examples
demonstrates the use of the pdq command:
To display a list of all jobs queued on lpx0001, issue the following
command:
# pdq -p lpx0001 -r all -s line
amanda:12: object-class = job
amanda:12: job-identifier = amanda:12
amanda:12: assigned-queue = px0001
amanda:12: printer-name-requested = lpx0001
amanda:12: job-originating-host = bulldog
amanda:12: job-owner = grace
amanda:12: print-complete = yes
amanda:12: user-name = grace
amanda:12: number-of-documents = 4
amanda:12: job-submission-complete = yes
amanda:12: submission-time = 26:06:97:11:10:42
amanda:12: total-job-octets = 464786
amanda:12: job-hold = no
amanda:12: results-profile = {job-copies=1}
amanda:12: job-name = cheatsheetCH2.ps
amanda:12: printers-assigned = px3
amanda:12: current-job-state = printing
amanda:12: started-printing-time = 26:06:97:11:10:44
amanda:12: previous-job-state = processing
amanda:12: intervening-jobs = 0
amanda:12: job-copies = 1
Note that the information provided here is for a single job. If multiple
jobs are queued to this printer, the same information is provided for
each job.
6–16 Creating and Managing Queues and Printers