Results 1 to 1 of 1
  1. #1
    RickSanchez is offline Novice
    Windows 10 Access 2016
    Join Date
    Apr 2024
    Posts
    3

    Unhappy Error when scanning with Microsoft WIA and using the top tray feeder instead of the glass pane

    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).
    Last edited by RickSanchez; 04-30-2024 at 08:31 AM.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Printers. Which tray?
    By TOPSie in forum Access
    Replies: 11
    Last Post: 02-21-2024, 10:22 AM
  2. Replies: 1
    Last Post: 09-14-2021, 10:03 AM
  3. Replies: 2
    Last Post: 04-21-2013, 08:03 AM
  4. Replies: 1
    Last Post: 03-27-2013, 06:11 AM
  5. Choose Printer Tray with a VBA Code
    By vinchi1974 in forum Programming
    Replies: 1
    Last Post: 08-03-2012, 12:24 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums