7.x

run INVOICE <CR><LF>
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>
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 loca-
tion 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>
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>
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>
FORMLETTER <CR><LF>
Creating Triggers
©2014 Objectif Lune Inc - 20 -