Mackie V7.0 manual Requesting notification of the result, Evevents

Models: V7.0

1 304
Download 304 pages 16.49 Kb
Page 48
Image 48

Using Xprint V7.0 options

Producing Output with Xprint V7.0

3.4.8Requesting 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:

-evevents

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 -nmor -nais 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”).

-nmnotification_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).

-nanotification_address

With this option you specify where the message is to be delivered.

-ndcomment (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

36

U23841-J-Z915-6-76

Page 48
Image 48
Mackie V7.0 manual Requesting notification of the result, Evevents