Mackie V7.0 Swimming Pool User Manual


 
46 U23841-J-Z915-6-76
Job templates Producing Output with Xprint V7.0
3.6.2 Defining customized job templates
Not only the system administrator but also the users themselves can define job
templates. To do this, create a file named .Xprint V7.0 in your home directory.
You can insert as many comment lines as you like. Comment lines must start
with the ’#’ character. The definition of the job template starts with the template
name. This is followed by the options for this template. All xpadd options are
allowed. Strings must be enclosed in inverted commas or quotes, e.g. -jc ’a
comment’. If a definition is to be continued in the next line, the current line must
end with a backslash.
Job templates are a convenient way of combining recurring option
sequences to form a template (e.g. if you want to assign a specific font to
a specific paper format). In this way you do not have to specify all your
selected settings for every print job. When defining a customized job
template, you do not necessarily have to define all settings but you can
also modify the settings of an existing template such that it meets your
requirements.
Examples
The following example shows several simple job templates:
# Private
.Xprint file
#
# JOB TEMPLATE
# for letters:
letter -de printer1 -fm form3 -la USA -jt letters -cp
#
# for ASCII files on PostScript printer printer2:
a2ps -de printer2 -ct SIMPLE -cp
#
# with notification of success or failure:
notification -ev COMPLETED ABORTED -nm WRITE\
-nd ’Send message on termination’
This example shows the templates letter and notification. The
templates are then used as follows:
xpadd -dr file1 -te letter
xpadd -dr file1 -te notification -pr 5
For the printout, the options defined for this template are used instead of the
specified -te option.
i