Prototype Put the following prototype in the prototypes section of the application program header file: int ( __stdcall *pfnFFGroupScan )( HWND, int, int, int, int, char*, char*, int, int, int, int ); Purpose The purpose of this routine is to continuously scan a group of pages from the Automatic Document Feeder, using some of the most popular SCSI2 scanners (see the specification). You can see the images on the PC screen as the pages are passing through the feeder. A set of ready to use TIFF files are generated on the hard disk. Description and use This function only deals with A4 size paper sheets. Letter size is almost similar and you can use it as well. The sheets are scanned black & white at 200 dpi. The images are compressed and put each one into a separate numbered TIFF file. You don't have to allocate any memory area, it's automatically allocated by the function itself. Using this function in a convenient manner you can scan pages both sides (one side at a time) and obtain the results of a duplex scanner while using only a simplex scanner. Instruct your application program to do the following: tell the user to put the sheets in the feeder scan the sheets and put the resulting TIFF files into a park directory set a variable to the number of scanned images (it is the value returned by the function) tell the user to put again the sheets in the feeder, but offering the other side to scan scan the sheets again and put the resulting TIFF files into a separate park directory check that the number of scanned images is the same in the first and in the second pass create a new set of TIFF files (use a copy function) alternating the images from the first park directory in ascending order with the images from the other park directory in descending order delete the images in the park directories Specification You can use one of the following scanners: Avision AV-810 Avision AV-820 Avision AV-830 Fujitsu ScanPartner 10 Fujitsu ScanPartner 300C Fujitsu ScanPartner 600C Fujitsu ScanPartner 620C Bell+Howell 2000F All these scanners are actually manufactured by Avision Corp., and some models are marketed from Fujitsu and Bell+Howell with their own name brand. These scanners are all excellent in that they are fast, reliable and cheap. The format of the scanned image is A4, which is 210 by 297 millimeters. Parameters application handle: the handle to the calling application program pointer to a string that will be printed on the top of every image coming from the scanner; optional, if unused set this parameter to zero 1 (other values not admitted) 4 (other values not admitted) file name starting number e.g. if you set 5 and put 3 sheets in the feeder the result files will be named 00000005.TIF, 00000006.TIF and 00000007.TIF pointer to the path of the destination directory (an ASCIIZ string, TIFF files will be created there) pointer to the comment (an ASCIIZ string that will be written into the ImageDescription tag of the output TIFF files) threeshold: the intensity of the image; any value from 0 to 255; use 128 to start with; adjust according to the clarity of the image host adapter ID: usually 0 SCSI ID: the SCSI ID of the scanner SCSI LUN: the SCSI LUN of the scanner (usually 0) Return value The function returns an integer: the number of sheets that passed throug the Automatic Document Feeder of the scanner. Application example scan a group of pages See also FFAspiStart: ASPI support start FFAspiStop: ASPI support stop Notes
int ( __stdcall *pfnFFGroupScan )( HWND, int, int, int, int, char*, char*, int, int, int, int );
Purpose The purpose of this routine is to continuously scan a group of pages from the Automatic Document Feeder, using some of the most popular SCSI2 scanners (see the specification). You can see the images on the PC screen as the pages are passing through the feeder. A set of ready to use TIFF files are generated on the hard disk. Description and use This function only deals with A4 size paper sheets. Letter size is almost similar and you can use it as well. The sheets are scanned black & white at 200 dpi. The images are compressed and put each one into a separate numbered TIFF file. You don't have to allocate any memory area, it's automatically allocated by the function itself. Using this function in a convenient manner you can scan pages both sides (one side at a time) and obtain the results of a duplex scanner while using only a simplex scanner. Instruct your application program to do the following: tell the user to put the sheets in the feeder scan the sheets and put the resulting TIFF files into a park directory set a variable to the number of scanned images (it is the value returned by the function) tell the user to put again the sheets in the feeder, but offering the other side to scan scan the sheets again and put the resulting TIFF files into a separate park directory check that the number of scanned images is the same in the first and in the second pass create a new set of TIFF files (use a copy function) alternating the images from the first park directory in ascending order with the images from the other park directory in descending order delete the images in the park directories Specification You can use one of the following scanners: Avision AV-810 Avision AV-820 Avision AV-830 Fujitsu ScanPartner 10 Fujitsu ScanPartner 300C Fujitsu ScanPartner 600C Fujitsu ScanPartner 620C Bell+Howell 2000F All these scanners are actually manufactured by Avision Corp., and some models are marketed from Fujitsu and Bell+Howell with their own name brand. These scanners are all excellent in that they are fast, reliable and cheap. The format of the scanned image is A4, which is 210 by 297 millimeters. Parameters application handle: the handle to the calling application program pointer to a string that will be printed on the top of every image coming from the scanner; optional, if unused set this parameter to zero 1 (other values not admitted) 4 (other values not admitted) file name starting number e.g. if you set 5 and put 3 sheets in the feeder the result files will be named 00000005.TIF, 00000006.TIF and 00000007.TIF pointer to the path of the destination directory (an ASCIIZ string, TIFF files will be created there) pointer to the comment (an ASCIIZ string that will be written into the ImageDescription tag of the output TIFF files) threeshold: the intensity of the image; any value from 0 to 255; use 128 to start with; adjust according to the clarity of the image host adapter ID: usually 0 SCSI ID: the SCSI ID of the scanner SCSI LUN: the SCSI LUN of the scanner (usually 0) Return value The function returns an integer: the number of sheets that passed throug the Automatic Document Feeder of the scanner. Application example scan a group of pages See also FFAspiStart: ASPI support start FFAspiStop: ASPI support stop Notes
Description and use This function only deals with A4 size paper sheets. Letter size is almost similar and you can use it as well. The sheets are scanned black & white at 200 dpi. The images are compressed and put each one into a separate numbered TIFF file. You don't have to allocate any memory area, it's automatically allocated by the function itself. Using this function in a convenient manner you can scan pages both sides (one side at a time) and obtain the results of a duplex scanner while using only a simplex scanner. Instruct your application program to do the following: tell the user to put the sheets in the feeder scan the sheets and put the resulting TIFF files into a park directory set a variable to the number of scanned images (it is the value returned by the function) tell the user to put again the sheets in the feeder, but offering the other side to scan scan the sheets again and put the resulting TIFF files into a separate park directory check that the number of scanned images is the same in the first and in the second pass create a new set of TIFF files (use a copy function) alternating the images from the first park directory in ascending order with the images from the other park directory in descending order delete the images in the park directories Specification You can use one of the following scanners: Avision AV-810 Avision AV-820 Avision AV-830 Fujitsu ScanPartner 10 Fujitsu ScanPartner 300C Fujitsu ScanPartner 600C Fujitsu ScanPartner 620C Bell+Howell 2000F All these scanners are actually manufactured by Avision Corp., and some models are marketed from Fujitsu and Bell+Howell with their own name brand. These scanners are all excellent in that they are fast, reliable and cheap. The format of the scanned image is A4, which is 210 by 297 millimeters. Parameters application handle: the handle to the calling application program pointer to a string that will be printed on the top of every image coming from the scanner; optional, if unused set this parameter to zero 1 (other values not admitted) 4 (other values not admitted) file name starting number e.g. if you set 5 and put 3 sheets in the feeder the result files will be named 00000005.TIF, 00000006.TIF and 00000007.TIF pointer to the path of the destination directory (an ASCIIZ string, TIFF files will be created there) pointer to the comment (an ASCIIZ string that will be written into the ImageDescription tag of the output TIFF files) threeshold: the intensity of the image; any value from 0 to 255; use 128 to start with; adjust according to the clarity of the image host adapter ID: usually 0 SCSI ID: the SCSI ID of the scanner SCSI LUN: the SCSI LUN of the scanner (usually 0) Return value The function returns an integer: the number of sheets that passed throug the Automatic Document Feeder of the scanner. Application example scan a group of pages See also FFAspiStart: ASPI support start FFAspiStop: ASPI support stop Notes
You don't have to allocate any memory area, it's automatically allocated by the function itself.
Using this function in a convenient manner you can scan pages both sides (one side at a time) and obtain the results of a duplex scanner while using only a simplex scanner. Instruct your application program to do the following:
Specification You can use one of the following scanners: Avision AV-810 Avision AV-820 Avision AV-830 Fujitsu ScanPartner 10 Fujitsu ScanPartner 300C Fujitsu ScanPartner 600C Fujitsu ScanPartner 620C Bell+Howell 2000F All these scanners are actually manufactured by Avision Corp., and some models are marketed from Fujitsu and Bell+Howell with their own name brand. These scanners are all excellent in that they are fast, reliable and cheap. The format of the scanned image is A4, which is 210 by 297 millimeters. Parameters application handle: the handle to the calling application program pointer to a string that will be printed on the top of every image coming from the scanner; optional, if unused set this parameter to zero 1 (other values not admitted) 4 (other values not admitted) file name starting number e.g. if you set 5 and put 3 sheets in the feeder the result files will be named 00000005.TIF, 00000006.TIF and 00000007.TIF pointer to the path of the destination directory (an ASCIIZ string, TIFF files will be created there) pointer to the comment (an ASCIIZ string that will be written into the ImageDescription tag of the output TIFF files) threeshold: the intensity of the image; any value from 0 to 255; use 128 to start with; adjust according to the clarity of the image host adapter ID: usually 0 SCSI ID: the SCSI ID of the scanner SCSI LUN: the SCSI LUN of the scanner (usually 0) Return value The function returns an integer: the number of sheets that passed throug the Automatic Document Feeder of the scanner. Application example scan a group of pages See also FFAspiStart: ASPI support start FFAspiStop: ASPI support stop Notes
The format of the scanned image is A4, which is 210 by 297 millimeters.
Parameters application handle: the handle to the calling application program pointer to a string that will be printed on the top of every image coming from the scanner; optional, if unused set this parameter to zero 1 (other values not admitted) 4 (other values not admitted) file name starting number e.g. if you set 5 and put 3 sheets in the feeder the result files will be named 00000005.TIF, 00000006.TIF and 00000007.TIF pointer to the path of the destination directory (an ASCIIZ string, TIFF files will be created there) pointer to the comment (an ASCIIZ string that will be written into the ImageDescription tag of the output TIFF files) threeshold: the intensity of the image; any value from 0 to 255; use 128 to start with; adjust according to the clarity of the image host adapter ID: usually 0 SCSI ID: the SCSI ID of the scanner SCSI LUN: the SCSI LUN of the scanner (usually 0) Return value The function returns an integer: the number of sheets that passed throug the Automatic Document Feeder of the scanner. Application example scan a group of pages See also FFAspiStart: ASPI support start FFAspiStop: ASPI support stop Notes
Return value The function returns an integer: the number of sheets that passed throug the Automatic Document Feeder of the scanner. Application example scan a group of pages See also FFAspiStart: ASPI support start FFAspiStop: ASPI support stop Notes
Application example scan a group of pages See also FFAspiStart: ASPI support start FFAspiStop: ASPI support stop Notes
See also FFAspiStart: ASPI support start FFAspiStop: ASPI support stop Notes
Notes