7.2

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:
[ printer-specific_commands ] %!PS-Adobe <CR>
(%flash%name_of_document) run name_of_document <CR><LF>
An example of the trigger for a document named PAYROLL that resides in the printer’s flash memory:
%!PS-Adobe <CR>
(%flash%PAYROLL) run PAYROLL <CR><LF>
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 many ways to insert a trigger manually. Four
common techniques are:
1. Manually concatenating two files
In this technique you add a trigger by concatenating two files where the first contains the trigger and the second con-
tains the input data. You send the concatenated file to the printer using the DOS Copy command or the file transfer pro-
tocol (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
In 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.
Implement a Trigger under Novell 3.x
Unless otherwise indicated, always press ENTER at the end of a command. Note that you can exit any window or command
area at any time by pressing ESCAPE.
To install a trigger:
1. Log on to the server, and enter Supervisor and printdef.
2. In the PrintDef Options dialog box, select Print Devices.
3. In the Print Device Options dialog box, select Edit Print Devices.
Creating Triggers
©2014 Objectif Lune Inc - 21 -