User`s guide
1-15
Printers, Print Jobs, and Queues Overview for Users
This prints prog.c with the title MAIN PROGRAM in place of the file name. The modification
date and page number are still printed.
For example, to print a file named word.lst in multiple columns, enter:
pr –3 word.lst | qprt
This prints the word.lst file in three vertical columns.
For example, to print several files side by side on the paper:
pr –m –h ”Members and Visitors” member.lst visitor.lst | qprt
This prints member.lst and visitor.lst side by side with the title Members and
Visitors.
For example, to modify a file named prog.c for later use, enter:
pr –t –e prog.c > prog.notab.c
This replaces tab characters in prog.c with spaces and puts the result in prog.notab.c.
Tab positions are at columns 9, 17, 25, 33, and so on. The –e flag tells the pr command to
replace the tab characters; the –t flag suppresses the page headings.
For example, to print a file named myfile in two columns, in landscape, and in 7–point
text, enter:
pr –l66 –w172 –2 myfile | qprt –z1 –p7
See the pr command in the AIX Commands Reference for the exact syntax.