
Batch output format "Enhanced Multi-Page Document"

==================================================


This batch output format creates a multi-page file (containing all of the images for a document) for each document in the batch. Document index field values can be used as the filename for the output files.


Folder structure
----------------

* When the option "Create batch subdirectory" is enabled, the batch output
  is transferred to a single subfolder. The subfolder name is the Batch Name
  and is located under the Path specified in the "Output" tab of "Application
  Setup". When disabled, a batch subdirectory is not created and the batch
  output is transferred directly to the Path specified in the "Output" tab.

* When a batch subdirectory is created, further subfoldering can be done by
  enabling the option "Create new subdirectory for every xxx documents". When
  enabled, subdirectories are created under the batch subdirectory for every
  xxx number of documents, where xxx is any number up to a maximum of 8
  digits. The subdirectory names are in the format:

  <Name>nnnnnnnn

  where

  <Name> is the value of one or more Batch index fields. You cannot type
  in the 'Subdirectory name' entry box. Instead, you must specify one or
  more fields from the 'Batch index fields' drop-down list. If no batch
  index fields are defined, then you must first define the batch index
  fields in the Batch->Index tab of Application Setup.

  nnnnnnnn is the subdirectory number. Subdirectory numbering can either
  start from 1 for each batch or can be continuous across batches. When
  numbering is continuous across batches, you can specify the starting
  number in the 'Continuous from' entry box. The subdirectory number can
  either be the exact value or zero-filled. When the option 'Add leading
  zeroes' is enabled, enter the length of the zero-filled number (1 to 8
  digits) in the 'Number length' entry box.

* The TIFF filename is the Capture Software document number and is pad-
  ded with leading zeroes to form an 8-character filename. All files
  have the *.TIF extension.


Image files
-----------

* The multi-page output file can be in one of three file formats:

     * TIFF (file extension of TIF)
     * PDF  (image only PDF; file extension of PDF)
     * MO:DCA (only good for bitonal images; file extension of MOD)

* When used with a Kodak Color Scanner (e.g., i200 Series or i800 Series
  Scanner), this batch output format creates multi-page files containing
  both JPEG color and (Group 4 compressed) black-and-white images.

* TIF files containing color images can be viewed using the the Windows
  accessory "Imaging for Windows".

* TIF files can also be output in Uncompressed format. When the
  'Uncompressed' check box is enabled, the output format decompresses
  all images before writing to the multi-page TIFF file.

* By default, the Filename of each multi-page output file is a zero-filled
  8 digit number starting at 00000001 and incrementing by 1 for each document
  in the batch. For example,

     00000001.PDF
     00000002.PDF
     etc...

* When the option 'Name document files by index field' is enabled, you can
  specify one or more document index fields to be used as the filename for
  each multi-page output file. You must first define the document index
  fields in the Index->Document tab of Application Setup. Then select the
  field(s) in the drop-down list.

     * You must select document index fields from the drop-down list. You
       can not type in the entry box to the left of the index field drop-down
       list.
     * When the batch is processed, the index field value(s) from the
       selected index fields are used to form the filename of the multi-page
       output file.
     * If there is no value for a selected index field for a document, then
       an error message is displayed and batch processing is terminated.
     * If the index field values for a document are not unique and a
       duplicate file is found in the output directory, then an error message
       is displayed and batch processing is terminated. However, if the
       option 'Continue process if duplicate file found', then the current
       file with the same name is overwritten with the new output file and
       batch processing continues.


Document indexing
-----------------

* Check the 'Produce document index file' option to enable the production
  of a document index file. A document index file provides the link between
  the name of the multi-page output file and the document index information
  (if defined).

* The document index file can either be created in the 'Batch subdirectory'
  (if created) or the 'Export directory' (i.e., the Path specified in the 
  Output tab of Application Setup).

* When output to the Export directory, the name of the document index file
  is the Capture Software 'Batch name'. When output to the Batch 
  subdirectory, the name of the index file can either be the Batch Name or
  can be 'User defined'. Type the file name of the index file in the 'User
  defined' entry box.

* The 'Index data file extension' can be any 3 character value. The default
  file extension is 'txt'.

* The document index file is a delimited file that contains one record or 
  line for each document in the batch. Specify the delimiter to use in the
  'Field delimiter' entry box. For a TAB delimited index file, specify a
  lower case 't'.

* The format of each index file record is as follows:

  [# of images];[Index Field 1];[Index Field 2];...;[Output Filename]

  # of Images		Number of images in the multi-page file.

  Index Fields		Index values for the document index fields in
			the order they are defined in Index Setup. If an
			index field does not have a value, then a null
			character is stored in its place.

  Output Filename	The name of the document's multi-page output file.


* The # of Images is only written in the index file record when the option
  'Write document image count to index file' is enabled.

* When the option 'Enclose index file data fields in double quotes' is
  enabled, each field in an index file record is enclosed in double quotes
  (").

* When the option 'Write index labels to index file' is enabled, the index
  field values are prefaced by the Label of each index field as specified
  in the Index tab of Application Setup. For example:

  'Write index labels to index file' disabled:

       value,value,value,00000001.tif

  'Write index labels to index file' enabled:

       label = value,label = value,label = value,00000001.tif

* For the Output Filename, you can choose to just include the name of the
  multi-page output file or the 'full path' (including drive letter and
  directory structure) to the output file.


Sample index file
-----------------

Here's an example of an BATCH001.TXT file for a batch containing 3 documents
(with 4 images per document) for an application configured with 3 document
indexes. The second index field is not required and is not provided.

- The option 'Write document image count to index file' is enabled.
- 'Full path' is specified for 'Write pathname in index file'.
- Field Delimiter is "|".
- File format is PDF.

     04|C12345||12201997|C:\Batches\Batch001\00000001.PDF
     04|B23456||11171996|C:\Batches\Batch001\00000002.PDF
     04|H11122||01091998|C:\Batches\Batch001\00000003.PDF
