Job Control File Handling

Top  Previous  Next

By default, when DTWAIN_AcquireFile or DTWAIN_AcquireFileEx is called with job control enabled, and the file type that is being acquired is a multipage file type (TIFF, PDF, DCX or PostScript), the entire acquisition is saved to a single file.  In other words, by default, DTWAIN does nothing to separate the jobs into different files, and will save all the acquired pages to a single multipage file.

 

To enable DTWAIN to separate the jobs into separate files, the DTWAIN_EnableJobFileHandling function must be called with a TRUE argument.  If job file handling is turned on, each job that is detected by DTWAIN creates a separate multipage image file.  The names of the files follows the same procedure described in DTWAIN_AcquireFile (see File Naming Conventions).