AIX Printer Tips: 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.


Using Operator Messages: AIX Printer Tips: opmsg.html ITEM: FAX
Dated: 99/02/02~00:00 Category: zap
This HTML file was generated 99/06/24~12:42:12
Comments or suggestions?
Contact us