Section - 4 : Setting Up Docupresentment
To set up Docupresentment so that it will run Documaker Server, you will need to make the following changes in the following INI files:
DOCSERV.INI file
Make these changes in the DOCSERV.INI file, or the INI file the Docupresentment is configured to use. Here is an example of how to add a request type for Documaker Server:
< ReqType:RPD >
function = atcw32->ATCLogTransaction
function = atcw32->ATCLoadAttachment
function = atcw32->ATCUnloadAttachment
function = dprw32->DPRSetConfig
function = rpdw32->RPDCheckRPRun
function = rpdw32->RPDCreateJob
function = rpdw32->RPDProcessJob
If necessary, you can add two more request types, one to check if Documaker Server is running and one to stop Documaker Server. Here is an example:
< ReqType:CHECK >
function = atcw32->ATCLogTransaction
function = atcw32->ATCLoadAttachment
function = atcw32->ATCUnloadAttachment
function = dprw32->DPRSetConfig
function = rpdw32->RPDCheckRPRun
< ReqType:STOP >
function = atcw32->ATCLogTransaction
function = atcw32->ATCLoadAttachment
function = atcw32->ATCUnloadAttachment
function = dprw32->DPRSetConfig
function = rpdw32->RPDStopRPRun
You will also need to add the following Docupresentment rule to the ReqType:INI control group:
function = rpdw32->RPDStopRPRun
DAP.INI file
Add a configuration option for a the master resource library you will use. Here is an example which is based on the RPEX1 master resource library:
< Configurations >
CONFIG = RPEX1
< Config:RPEX1 >
INIFile = RPEX1.INI
RPEX1.INI file
Make these changes in the RPEX1.INI file (or the INI file you are using for your configuration):
< IDSServer >
ExtrPath = e:\fap\mstrres\rpex1\extract\
PrintPath = e:\fap\mstrres\rpex1\data\
WaitForStart = 60
SleepingTime = 500
MaxWaitTime = 120
GENSemaphoreName = gendata
RPDSemaphoneName = rpdrunrp
PrintFileCacheTime = 7200
TextFileCacheTime = 7200
< RPDRunRP >
Executable = e:\rel101\shipw32\gendaw32.exe
Directory = e:\fap\mstrres\rpex1\
UserINI = e:\fap\mstrres\rpex1\fsiuser.ini
BaseLocation = http://10.8.10.69/fap/mstrres/rpex1/data/
< Printer >
PrtType = PDF
< Debug >
RPDProcessJob = Yes
Setting up multiple Docupresentment servers
The semaphores used by Docupresentment and Documaker Server are global for a computer, so if you need multiple Docupresentment processes on the same computer, each Docupresentment process and subordinate Documaker Server process should use different semaphore names.
The semaphore names are generated automatically by Docupresentment for each additional Docupresentment instance. These names are passed to Documaker Server as command line parameters. No user intervention is usually needed.
To specify the own naming conventions for these semaphores, do so by changing these INI options:
< IDSServer >
GENSemaphoreName =
RPDSemaphoreName =
Keep in mind the names must be unique for a computer, so two Docupresentment servers will have to use two different INI files specifying semaphore names.