The Operator Message is basically a mechanism for a job submitter to send a message to the printer operator to perform some function on the printer before the job is printed. Probably the most common function is to have the operator install a special form in the printer for a particular print job. This document describes how to submit jobs and how the operator should respond.
This document applies at all levels of AIX.
The enq flag for doing this is -m message. If the message
is in a file, you can use -M msg_file.
Example:
enq -m "Insert my new form" -Pps file.ps
To avoid typing the message, you can create a UNIX alias for the enq command such as pink for pink paper. To do this, simply type:
alias pink="/bin/enq -m \"Insert Pink Paper\""To use this command type:
pink print.file
The operator will get a message like this on the console:
Install pink paper write -h 1,ok|cancel|queryThe operator first changes the paper and then issues this command:
write -h 1,okThe queue will continue.