Xerox 5 manual temp\temp.txt, VIPO-91

Page 91

Start up VIPO Dispatch to build a Dispatch Rule that will handle the job.

Begin editing a new rule by selecting Edit>Distpatch Rules from the top menu. Edit one of the sample rules by selecting it in the Rule Filename drop-down box.

The contents of the “mailtext” field for each record needs to be placed into a temporary file so that mymailprog can read it, therefore, double-click on the DataFileTemplate line and add a new entry:

Field Name: mailtext

Destination File Path: c:\temp\temp.txt

Delete-On-Exit Setting: True

then choose OK twice.

Next, format the invocation of mymailprog by double-clicking on the CommandTemplate entry of the Dispatch Rule. Enter the following for the CommandTemplate:

c:\mymailprog.bat c:\temp\temp.txt -t "$mailto" -cc "$cc" -s "$subject" -a $(PDF_FILE_PATH)

In the entry shown above, the first parameter is the path of the program that will be handling the record information. This “back-end” program is not supplied by Xerox; it could be an off-the-shelf program or an application developed by the customer or a third party.

The other parameters are those required by the (fictitious) mymailprog, as follows:

c:\temp\temp.txt

the path where the e-mail body for each e-mail record is written.

-t

a flag indicating that the next entry is the recipient's e-mail address.

"$mailto"

indicates that the “mailto” field of the record will be placed here.

VI PDF Originator User’s Guide

FreeFlow Variable Information Suite 5.0 (7/2006)

VIPO-91

Image 91 Contents
User’s Guide Page Table of contents VIPO-4 Using Vipo WebUsing Vipo and Adobe Distiller Using lpr to submit Vipo jobsVIPO-5 Using Vipo DispatchUsing Vipo Services IndexVIPO-6 VIPO-7 VIPO-8 VIPO-9 Vipo Server and ClientVIPO-10 Using the Vipo Local ServerVIPO-11 File menu optionsHelp menu options Job Selection menu optionsVIPO-12 Menu bar Using the Vipo Job Submission ClientWindow elements Title barVIPO-14 Job creation areaVipo job status area Function buttonsVIPO-15 Job creation area field descriptionsData File Init Nub File Current ProfileOutput Folder Job TypeUser Name Job ServerVIPO-17 Output Filename Template Index File TemplateVIPO-18 Profile filesVIPO-19 Template syntaxDIGITS=n DFNAMEx..yFnBKMARKx..yFn FS=‘char’VIPO-21 Add Data FilenameAdd Field Separator CancelAdd Bookmark Add File Split CountVIPO-23 Specifying an index fileVIPO-24 VIPO-25 Field separatorVIPO-26 BFS=‘c’VIPO-27 Template field descriptionsHeader Field Separator Bookmark Field SeparatorVIPO-28 Using the Vipo Watched Folders ClientVIPO-29 Status area Title bar Menu barWatched folders list Watched folder details areaVIPO-31 Adding watched foldersVIPO-32 File ready checkVIPO-33 Command line options for the Vipo Watched Folders ClientVIPO-34 Bulk ProcessingVIPO-35 Accessing Vipo via your web browserVIPO-36 Job Submission upper frame Job Submission/View/RetrievalVIPO-37 VIPO-38 Data FileCurrent Profile Load/Save Output Filename Template Create Index File Template CreateRefresh Status Submit JobVIPO-39 Action Job Submission lower frameVIPO-40 VIPO-41 Job NameJob Status Pages Distilled Pages Split Files GeneratedAdministration Change PasswordVIPO-42 VIPO-43 User AdministrationVIPO-44 Changing passwordsVIPO-45 Server AdministrationVIPO-46 VIPO-47 Cluster AdministrationVIPO-48 VIPO-49 VIPO-50 Disable Basic Authentication Basic Authentication Quick StepVIPO-51 VIPO-52 Web browser notesVIPO-53 Using Vipo and Adobe DistillerVIPO-54 Example Adobe Distiller and fontsAcrobat Distiller versions prior to Acrobat Distiller 6.0 and laterVIPO-56 Assigning a Distiller job options fileVIPO-57 Using the Vipp Bookmark commandVIPO-58 Extended bookmarksVIPO-59 Using VI Project ContainersVIPO-60 VIPO-61 Lpr command syntax for WindowsVIPO-62 Parameter definitionsExample lpr job submissions Parameter defaultsVIPO-63 VIPO-64 VIPO-65 Using Vipo DispatchVIPO-66 Dispatch filtersVIPO-67 Dispatch Rule filesVIPO-68 VIPO-69 RuleNameRuleVars DataFileTemplateLogStdErr CommandTemplateTimeOut LogStdOutVIPO-71 FailOnErrorRetValTriggerTrumpsStdoutStderr RetValTriggerStdErrTrigger StdOutTriggerVIPO-72 VIPO-73 PostProcessCommandTemplate=...command stringAutoRun RunPostProcessCmd=true/falseVIPO-74 System built-in macrosRule file variable references ExamplesVIPO-75 Special Character Sequences in CSV and XML Index FilesVIPO-76 Vipo Dispatch windowPending Jobs Eligible Jobs View IndexRecord Field Names Conflict JobsIneligible Jobs Select Dispatch RuleReview Job Status Held JobsCompleted Jobs Release JobSave Logfile File menuHide Dispatcher Pause DispatcherDelete File Edit menuFilter Filename Set Active FilterDelete ResetEdit AddVIPO-84 OK/CancelVIPO-85 VIPO-86 Rule Filename Clear Default VIPO-87 Job Selection Trace Trace menuClear Display Job Selection LoopVIPO-89 Using Vipo Dispatch a simple exampleSetbufsize VIPO-90VIPO-91 \temp\temp.txtVIPO-92 $ccVIPO-93 VIPO-94 VIPO-95 VIPO-96 VIPO-97 DefinitionsVIPO-98 ConstraintsVIPO-99 IndexVIPO-100 FreeFlow Variable Information Suite 5.0 7/2006 FreeFlow Variable Information Suite 5.0 7/2006 VIPO-101 Page