6.0

Key Concepts
19
As an example, the following trigger includes <CTRL D> as an end of job character:
<CRTL-D>%!PS-Adobe <CR>
run INVOICE <CR><LF>
Trigger Syntax
In all syntax descriptions in this section, italics denote a variable, square brackets indicate the element is
optional, <CR> denotes a carriage return and <LF> denotes a line feed.
The general syntax for the first line of the trigger is the same for all triggers:
[ printer-specific_commands ] %!PS-Adobe <CR>
The first line of the trigger uses the string “%!PS-Adobe” to put the printer in PostScript mode. It may also
include printer-specific commands.
The syntax of the second line of the trigger depends on where the document is installed in the printer: on
the hard drive, in RAM, or in flash memory. The second line, written in PostScript, tells the printer the name
and location of the document, and launches the document. If you are using version numbers in your
documents, this line also contains the version number.
Trigger Syntax for Documents Installed on a Hard Disk
The general syntax of a trigger for a document that resides on the printer’s hard drive is:
[ printer-specific_commands ] %!PS-Adobe <CR>
[[ (location_of_document) ] run ] name_of_document <CR><LF>
The simplest example of a trigger for a document named INVOICE that resides on the printer’s hard drive
excludes the location of the document. If a trigger does not specify the location of the document, the
printer assumes it is on the hard disk.
%!PS-Adobe <CR>
run INVOICE <CR><LF>
An equivalent trigger that makes the location of the INVOICE document explicit:
%!PS-Adobe <CR>
(INVOICE) run INVOICE <CR><LF>
If the printer has more than one hard disk you must include the name of the hard disk. In this example, the
name of the hard disk is “presswork” and the name of the document is INVOICE.
%!PS-Adobe <CR>
(%presswork%INVOICE) run INVOICE <CR><LF>
What is the syntax of a trigger?