7.0

Table Of Contents
19.3 Techniques for Inserting Triggers
What are the common techniques for inserting a trigger?
How you create and insert a trigger is operating system dependent. There are four common techniques to
insert a trigger manually:
1. Manually concatenating two files
With this technique, you add a trigger by concatenating two files where the first contains the trigger and
the second contains the input data. You send the concatenated file to the printer using the DOS Copy
command or the file transfer protocol (FTP).
2. Setting up the print server to automatically insert triggers
This technique works with a print server running either Novell or Windows NT. You create a print queue
or print device for each document installed in the printer, and associate the appropriate trigger for the
document with the queue you set up for it. All queues point to the same physical printer. When you
send a job to that queue, the server automatically inserts the trigger associated with that queue before
it forwards the printer job to the printer.
3. Setting up the host to automatically insert triggers
This is the same technique as setting up the print server to automatically insert triggers. The only
difference here is that you set up the queues on the host on which the input data resides. The host
inserts the trigger ahead of the spool file when it sends the print job to the printer. This technique does
not work with all hosts.
4. Including the trigger in application output
With this technique, you modify the output of the application that generates the print file so that it adds
a trigger for the appropriate document. It is important to understand that this hampers your ability to
print these jobs using other printers since two additional lines are added to the print file.
Related topics:
Trigger (Page 303)
Trigger Syntax (Page 304)
How a Variable Content Document Runs on a Printer (Page 307)
Objectif Lune Inc. © 2009 306