Using Operator Messages


Contents

About this document
The enq flags
Using an alias to print a form
How the operator responds

About this document

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 flags

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

Using an alias to print a form

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

How the operator responds

The operator will get a message like this on the console:

  Install pink paper
  write -h 1,ok|cancel|query
The operator first changes the paper and then issues this command:
  write -h 1,ok
The queue will continue.




[ Doc Ref: 91790926912102     Publish Date: Feb. 13, 2001     4FAX Ref: 6438 ]