User`s guide
1-7
Printers, Print Jobs, and Queues Overview for Users
For example, to request the myfile file to be printed on the first available printer
configured for the default print queue using default values, type:
qprt myfile
For example, to request the file somefile to be printed on a specific queue using specific
flag values and to validate the flag values at the time of print job submission, type:
qprt –f p –e + –Pfastest –# v somefile
This passes the somefile 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).
For example, to print myfile on legal–size paper, type:
qprt –Q2 myfile
For example, to print three copies of each of the files new.index.c , print.index.c ,
and more.c at the print queue Msp1 , type:
qprt –PMsp1 –N 3 new.index.c print.index.c more.c
For example, to print three copies of the concatenation of three files new.index.c ,
print.index.c , and more.c , type:
cat new.index.c print.index.c more.c | qprt –PMsp1 –N 3
Note: The AIX 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 Commands Reference for the exact syntax.
See the qprt command in the AIX Commands Reference for the exact syntax.
smit Command
To start a job using SMIT, type:
smit qprt