lpr [ -f ] [ -g ] [ -h ] [ -j ] [ -l ] [ -m ] [ -n ] [ -p ] [ -r ] [ -s ] [ -P Printer ] [ -# NumberCopies ] [ -C Class ] [ -J Job ] [ -T Title ] [ -i [ NumberColumns ] ] [ -w Width ] [ File ... ]
The lpr command uses a spooling daemon to print the named File parameter when facilities become available. If no files are specified, the lpr command reads from standard input.
lpr -#3 new.index.c print.index.c more.cPrints three copies of the new.index.c file, three copies of the print.index.c file, and three copies of the more.c file.
cat new.index.c print.index.c more.c | lpr -#3
lpr -C Operations new.index.cThis replaces the system name (the name returned by host name) with Operations on the burst page.
lpr -j MyFile
/usr/sbin/qdaemon | Queuing daemon. |
/etc/qconfig | Queue configuration file. |
/etc/qconfig.bin | Digested, binary version of the /etc/qconfig file. |
/var/spool/lpd/qdir/* | Queue requests. |
/var/spool/lpd/stat/* | Information on the status of the queues. |
/var/spool/qdaemon | Temporary copies of enqueued files. |
The lpd command, lpq command, lprm command, pr command, qdaemon command.
The qconfig file.
Starting a Print Job in AIX Version 4.3 System User's Guide: Operating System and Devices.
Printers, Print Jobs and Queues Overview for Users in AIX Version 4.3 System User's Guide: Operating System and Devices.
Printer Overview for System Management in the AIX Version 4.3 Guide to Printers and Printing.
Spooler Overview for System Management in the AIX Version 4.3 Guide to Printers and Printing.