Mackie V7.0 Swimming Pool User Manual


 
36 U23841-J-Z915-6-76
Using Xprint V7.0 options Producing Output with Xprint V7.0
3.4.8 Requesting notification of the result
Xprint V7.0 allows you to have a message about the result of a print job sent to
you. This is particularly useful if the period of time between the job’s submission
and its execution is fairly long (e.g. in the case of scheduled print jobs and jobs
with a low priority). For this purpose, Xprint V7.0 provides several options for the
xpadd command:
-ev events
With this option you can specify the events of which you want to be
notified. Possible events are: ALL, DEVICE_ERROR, MOUNTING and NONE. The
default is NONE for local jobs, or REJECTED_FROM_REMOTE_DOMAIN if the job
was sent via a gateway (or ALL if either of the options -nm or -na is
specified). Further settings are STARTED, COMPLETED, ABORTED, SUSPEND,
RESUMED, DEVICE_ERROR, USER_ERROR, MODIDFIED and
SENT_TO_REMOTE_DOMAIN (a detailed description of these keywords is
given in the “Xprint V7.0 - Reference Manual”).
-nm notification_method
With this option you can specify how you want to be notified. The default
is MAIL, other possible settings are WRITE, COMMAND and FILE (see the
“Xprint V7.0 - Reference Manual” for details).
-na notification_address
With this option you specify where the message is to be delivered.
-nd comment (nd stands for notification descriptor)
Allows you to define a comment that is to be added to the message.
Examples
To request a message to be sent to yourself via the write command when
the job is completed or aborted:
xpadd -dr file1 -ev COMPLETED ABORTED -nm WRITE
To log all the events of the print job in the file /home/baxter/print.log:
xpadd -dr file1 -nm FILE -na /home/baxter/print.log
To notify user smith of every modification of the print job via mail:
xpadd -dr file1 -ev MODIFIED -na smith
To send a job to a gateway and request information in the event of an error:
xpadd -dr file1 -de gateway1!printer1 \
-ev REJECTED_FROM_REMOTE_DOMAIN