7.5

Table Of Contents
It is thus common practice to include an end of job character at the beginning of the trigger to ensure that the printer rec-
ognizes your job as a new print job. For certain printers, <CTRL D> or ASCII 04 is a valid end of job character, while more
recent printers require a Printer Job Language (PJL) sequence such as <ESC>%-12345X<CR><LF>.
As an example, the following trigger includes <CTRL D> as an end of job character:
<CRTL-D>%!PS-Adobe <CR><LF>
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><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.
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 single hard 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>
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>
Document Output and Preview
©2010 Objectif Lune Inc - 674 -