Scenario 3
This scenario looks for a token from the XDB to send form sets to agent batches. Here is an excerpt from the FSISYS.INI file:
< BatchingByRecip >
DefaultBatch = Default
Batch_Recip_Def = ?AGENT NAME;"AGENTNAME1PAGE";AGENT
Batch_Recip_Def = ?AGENT NAME;"AGENTNAMEMULTIPAGE";AGENT
Batch_Recip_Def = Manual;"MANUAL";ALL
Batch_Recip_Def = Error;"ERROR";ALL
If the token is not found, the system sends form sets to the Default batch:
< Default >
Printer = PDefault
If a token is found, the system sends all one-page transactions to an Agent batch specifically for one-page form sets:
< AgentName1Page >
Printer = Printer1
PageRange = 1,1
If a token is found, the system sends all transactions that are more than one page to an Agent batch designed to hold forms sets that consist of two or more pages:
< AgentNameMultipage >
Printer = Printer2
PageRange = 2,99999
Form sets that go to WIP are put into the manual batch:
< Manual >
Printer = Printer3
PageRange = 1,99999
Form sets with errors go into the error batch:
< Error >
Printer = Printer4
PageRange = 1,99999
This excerpt shows how to set the Print_Batches, PrinterInfo, and PrintedOutputFile control groups:
< Print_Batches >
Default = default.bch
AgentName1Page = agentname1page.bch
AgentNameMultipage = agentnamemultipage.bch
Manual = manual.bch
Error = error.bch
< Printer1 >
Port = data\agentname1page.pcl
< Printer2 >
Port = data\agentnamemultipage.pcl
< Printer3 >
Port = data\manual.pcl
< Printer4 >
Port = data\error.pcl
< PDefault >
Port = data\pdefault
< PrinterInfo >
Printer = Printer1
Printer = Printer2
Printer = Printer3
Printer = Printer4
Printer = PDefault
© Copyright 2020, Oracle and/or its affiliates. All rights reserved. Legal notices.