7.0

Table Of Contents
19.2 Trigger Syntax
What is the syntax of a trigger?
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><LF>
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 it launches the document. If you are using version numbers in your documents,
this line also contains the version number.
19.2.1 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><LF>
[[ (location_of_document) ] run ] name_of_document <CR><LF>
In this example, a document named INVOICE resides on the printer’s hard only drive:
%!PS-Adobe <CR><LF>
(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><LF>
(%presswork%INVOICE) run INVOICE <CR><LF>
19.2.2 Trigger Syntax for Documents Installed in RAM
The general syntax of a trigger for a document that resides in the printer’s RAM is:
[ printer-specific_commands ] %!PS-Adobe <CR><LF>
name_of_document <CR><LF>
An example of the trigger for a document named FORMLETTER that resides in the printer’s RAM:
%!PS-Adobe <CR><LF>
FORMLETTER <CR><LF>
19.2.3 Trigger Syntax for Documents Installed in Flash Memory
The general syntax of a trigger for a document that resides in the printer’s Flash memory is:
Objectif Lune Inc. © 2009 304