7.6

Table Of Contents
l "Perform a Batch Conversion and/or Installation" (page 676)
l "Print a Document without Data" (page 676)
Trigger
What is a trigger?
A trigger is two lines of PostScript that immediately precede the input data, and triggers” the execution of a document.The
trigger puts the printer in PostScript mode, and tells the printer which document to launch.
You print a document installed on a printer by sending a trigger to the printer, followed by the input data. If you run your doc-
ument into your PlanetPress Suite Workflow Tool, it takes care of inserting the trigger. If you run your document directly on a
printer, you must manually insert the trigger at the head of the data stream.
How a Variable Content Document Runs on a Printer
How does a variable content document runs on a printer?
If you run a document installed on a printer directly, you send a trigger, followed by the input data, to the printer. If you run a
document into your PlanetPress Suite Workflow Tool, the document may or may not be installed in the printer, depending on
the PlanetPress Suite process you created for the document. If it is not installed in the printer, the PlanetPress Suite Workflow
Tool sends the document, followed by the trigger, followed by the input data, to the printer. If it is already installed in the
printer, the PlanetPress Suite Workflow Tool sends the trigger, followed by the input data, to the printer.
When the trigger arrives at the printer, it puts the printer in PostScript mode, gives it the name and location of the document in
the printer, and tells it to launch the document. The document launches, takes control of the printer, initializes all its global var-
iables and starts processing its data stream. The document then cycles through three distinct processing phases for each data
page in the data stream until it reaches the end of the data stream, at which point it relinquishes control of the printer.
The three phases are:
l "Phase 1: Data Reading" (page 678)
l "Phase 2: Global Condition Resolution" (page 678)
l "Phase 3: Document Page Printing" (page 678)
Phase 1: Data Reading
In phase 1, the document reads a complete data page and loads it in the data page buffer.
Phase 2: Global Condition Resolution
In phase 2, the document runs any attachments you selected to run before the document prints, and then resolves all global
conditions for the current data page.
Phase 3: Document Page Printing
In phase 3, the document processes each page of the document. It uses the conditions it resolved in phase 2 to determine
whether to run and print the page and, if it prints the page, which objects to include in the output. In this phase it also evaluates
all local conditions as it encounters them. Thus the document evaluates conditions at two distinct points in time. It evaluates all
Document Output and Preview
©2010 Objectif Lune Inc - 678 -