Troubleshooting PDF Acquisition Problems

Top  Previous  Next

If there is a problem acquiring to PDF files, the following should be done to isolate the cause of the problem:

 

If the image to acquire is black and white (1 bit-per-pixel), call DTWAIN_AcquireFile (or DTWAIN_AcquireFileEx) and acquire to a DTWAIN_TIFFG4 file

 

If the image to acquire is gray-scale or color (greater than 1 bit-per-pixel), call DTWAIN_AcquireFile (or DTWAIN_AcquireFileEx) and acquire to a DTWAIN_JPEG file.

 

If the file produced is a valid TIFF or JPEG file, then the problem is more likely in the generation of the PDF file, since the image data is valid  If there is a problem with the TIFF or JPEG file, the problem is the generation of the TIFF or JPEG file that the PDF module needs to create a PDF page successfully.