To print a file on AIX 4.x or AIX 5.x, the following command line is used.
$ /usr/bin/lpr -PPrinter_name filename |
If the error message "unable to run qdaemon" is shown while in the setup, run the following command as root user.
# /usr/sbin/qdaemon& |