Specifications
1-9
Printing Overview
–z Value
Rotates page printer output the number of quarter–turns
clockwise as specified by the Value variable. The length (–l)
and width (–w) values are automatically adjusted accordingly.
0
Portrait
1
Landscape right
2
Portrait upside–down
3
Landscape left.
–# Value Specifies a special function.
j
Displays the job number for the specified print job
h
Queues the print job, but puts it in the HELD state until it is
released again.
v
Validates the specified printer backend flag values. This
validation is useful in checking for illegal flag values at the
time of submitting a print job. If the validation is not
specified, an incorrect flag value will stop the print job later
when the job is actually being processed.
The following list contains examples of how to use the qprt command flags:
• To request that the file myfile be printed on the first available printer configured for the
default print queue using default values, enter:
qprt myfile
• To request that the file myfile be printed on a specific queue using specific flag values
and to validate the flag values at the time of print job submission, enter:
qprt –f p –e + –Pfastest –# v somefile
This passes the myfile file through the pr filter command (the –f p flag) and prints it
using emphasized mode (the –e + flag) on the first available printer configured for the
queue named fastest (the –Pfastest flag).
• To print myfile on legal–size paper, enter:
qprt –Q2 myfile
• To print three copies of each of the files new.index.c, print.index.c, and more.c at the
print queue Msp1, enter:
qprt –PMsp1 –N 3 new.index.c print.index.c more.c
• To print three copies of the concatenation of three files new.index.c, print.index.c, and
more.c, enter:
cat new.index.c print.index.c more.c | qprt –PMsp1 –N 3
Note: The base operating system also supports the BSD UNIX print command (lpr) and
the System V UNIX print command (lp). See the lpr and lp commands in the AIX 5L
Version 5.3 Commands Reference for the complete syntax.
See the qprt command in the AIX 5L Version 5.3 Commands Reference for the complete
syntax.