I'm trying to set up pull scanning from Access to a scanner on the network. I am using Color Network ScanGear 2 as the middleware. I need to figure out how to make Access scan from the top tray feeder instead of the glass pane and to be able to scan any number of pages that the user puts in there. I don't think I need to worry about double-sided scanning for now, but it might be requested in the future. I copied this example: https://stackoverflow.com/a/33274985/5125921
There is an error that points to the line
Code:
Set img = Scanner.Items(1).Transfer(WIA_FORMAT_JPEG)
Error: -2147024809
Description: The parameter is incorrect.
I tried using wiaFormatJPEG and WIA.FormatID.wiaFormatBMP, but both give the same error message. Has anyone ever figured out a full working example for ADF scanning from Access? I'm running Access Version 2209 (Build 15629.20156 Click-to-Run).