Menu ▾ ▴

#373 EPSON DS-40 (USB Interface) - .NET Excpetion crashes system

1.
open
1
2022-12-11
2022-12-11
No

I got a crash using a Epson portable scanner I have for a few years, and have download the git repository and stepped through to try and detect the issue.

It fails due to a non-handle exception at line 350 in iCopyControl.vb (with DEBUG on, hitting a Throw) and the Output is below.

Note: I noticed stepping through the code I noticed in the Scan function that your coded calls Return ScanBrother(options) when the scanners name (_description) contains "epson xp-850 mfp"). So I altered the execution path and got a successfully scan using ScanBrother(options) instead.

At that point for this Scanner it was returning: "EPSON DS-40" so for now I have added and additional:

Or _description.Contains("EPSON DS-40") Then

ORIGINAL TRACE RESULTING IN ERROR: -2147418113

11/12/2022 16:43:15
iCopy Version: 1.7.0.3
Windows Version: Microsoft Windows NT 6.2.9200.0
.NET Version: 4.0.30319.42000
-----------------
    WIA Device count: 1
    Trying to establish connection with the Device {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001
    Connection established with EPSON DS-40. DeviceID: {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001
    This scanner supports ADF
    SCANNER PROPERTIES
        Property 3112: User Name  TYPE 16
            ReadOnly: True, Value: HAD\jhogan05, SubType: UnspecifiedSubType
        Property 4098: Item Name  TYPE 16
            ReadOnly: True, Value: Root, SubType: UnspecifiedSubType
        Property 4099: Full Item Name  TYPE 16
            ReadOnly: True, Value: 0001\Root, SubType: UnspecifiedSubType
        Property 4101: Item Flags  TYPE 5
            ReadOnly: True, Value: 76, SubType: UnspecifiedSubType
        Property 2: Unique Device ID  TYPE 16
            ReadOnly: False, Value: {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001, SubType: UnspecifiedSubType
        Property 3: Manufacturer  TYPE 16
            ReadOnly: True, Value: EPSON, SubType: UnspecifiedSubType
        Property 4: Description  TYPE 16
            ReadOnly: True, Value: EPSON DS-40, SubType: UnspecifiedSubType
        Property 5: Type  TYPE 5
            ReadOnly: True, Value: 65537, SubType: UnspecifiedSubType
        Property 6: Port  TYPE 16
            ReadOnly: True, Value: \\.\Usbscan0, SubType: UnspecifiedSubType
        Property 7: Name  TYPE 16
            ReadOnly: True, Value: EPSON DS-40, SubType: UnspecifiedSubType
        Property 8: Server  TYPE 16
            ReadOnly: False, Value: local, SubType: UnspecifiedSubType
        Property 9: Remote Device ID  TYPE 16
            ReadOnly: False, Value: , SubType: UnspecifiedSubType
        Property 10: UI Class ID  TYPE 16
            ReadOnly: True, Value: {00000000-0000-0000-0000-000000000000}, SubType: UnspecifiedSubType
        Property 11: Hardware Configuration  TYPE 5
            ReadOnly: True, Value: 0, SubType: UnspecifiedSubType
        Property 12: BaudRate  TYPE 16
            ReadOnly: True, Value: , SubType: UnspecifiedSubType
        Property 13: STI Generic Capabilities  TYPE 5
            ReadOnly: True, Value: 17, SubType: UnspecifiedSubType
        Property 14: WIA Version  TYPE 16
            ReadOnly: True, Value: 2.0, SubType: UnspecifiedSubType
        Property 15: Driver Version  TYPE 16
            ReadOnly: True, Value: 1.1.6.1, SubType: UnspecifiedSubType
        Property 16: PnP ID String  TYPE 16
            ReadOnly: True, Value: \\?\usb#vid_04b8&pid_0152#uc7z00379700#{6bdd1fc6-810f-11d0-bec7-08002be2092f}, SubType: UnspecifiedSubType
        Property 17: STI Driver Version  TYPE 5
            ReadOnly: True, Value: 3, SubType: UnspecifiedSubType
        Property 4125: Item Category  TYPE 15
            ReadOnly: True, Value: {F193526F-59B8-4A26-9888-E16E4F97CE10}, SubType: UnspecifiedSubType
        Property 3086: Document Handling Capabilities  TYPE 5
            ReadOnly: True, Value: 17, SubType: UnspecifiedSubType
        Property 3087: Document Handling Status  TYPE 5
            ReadOnly: True, Value: 1, SubType: UnspecifiedSubType
        Property 1026: Firmware Version  TYPE 16
            ReadOnly: True, Value: 1.00, SubType: UnspecifiedSubType
        Property 3090: Horizontal Optical Resolution  TYPE 5
            ReadOnly: True, Value: 600, SubType: UnspecifiedSubType
        Property 3091: Vertical Optical Resolution  TYPE 5
            ReadOnly: True, Value: 600, SubType: UnspecifiedSubType
        Property 3100: Preview  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: ListSubType
                0
                1
        Property 3076: Horizontal Sheet Feed Size  TYPE 5
            ReadOnly: True, Value: 8500, SubType: UnspecifiedSubType
        Property 3077: Vertical Sheet Feed Size  TYPE 5
            ReadOnly: True, Value: 14000, SubType: UnspecifiedSubType
        Property 3104: Minimum Horizontal Sheet Feed Size  TYPE 5
            ReadOnly: True, Value: 1, SubType: UnspecifiedSubType
        Property 3105: Minimum Vertical Sheet Feed Size  TYPE 5
            ReadOnly: True, Value: 1, SubType: UnspecifiedSubType
        Property 3078: Sheet Feeder Registration  TYPE 5
            ReadOnly: True, Value: 0, SubType: UnspecifiedSubType
        Property 3088: Document Handling Select  TYPE 5
            Default value: 32
            ReadOnly: False, Value: 1, SubType: FlagSubType
                1
                32
        Property 3096: Pages  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: RangeSubType
                Min 0, Max 1, Step 1
        Property 3097: Page Size  TYPE 5
            Default value: 2
            ReadOnly: False, Value: 2, SubType: ListSubType
                2
        Property 3098: Page Width  TYPE 5
            ReadOnly: True, Value: 8500, SubType: UnspecifiedSubType
        Property 3099: Page Height  TYPE 5
            ReadOnly: True, Value: 14000, SubType: UnspecifiedSubType
        Property 3103: Show preview control  TYPE 5
            ReadOnly: True, Value: 1, SubType: UnspecifiedSubType
        Property 3095: Max Scan Time  TYPE 5
            ReadOnly: True, Value: 3600000, SubType: UnspecifiedSubType
        Property 4098: Item Name  TYPE 16
            ReadOnly: True, Value: Scan, SubType: UnspecifiedSubType
        Property 4099: Full Item Name  TYPE 16
            ReadOnly: True, Value: 0001\Root\Scan, SubType: UnspecifiedSubType
        Property 4101: Item Flags  TYPE 5
            ReadOnly: True, Value: 532483, SubType: UnspecifiedSubType
        Property 4120: Color Profile Name  TYPE 16
            Default value: C:\windows\system32\spool\drivers\color\sRGB Color Space Profile.icm
            ReadOnly: False, Value: C:\windows\system32\spool\drivers\color\sRGB Color Space Profile.icm, SubType: ListSubType
                C:\windows\system32\spool\drivers\color\sRGB Color Space Profile.icm
        Property 4102: Access Rights  TYPE 5
            Default value: 1
            ReadOnly: True, Value: 1, SubType: FlagSubType
                1
        Property 6156: Orientation  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: ListSubType
                0
                1
                2
                3
        Property 6146: Current Intent  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: FlagSubType
                1
                2
                4
                65536
                131072
        Property 6147: Horizontal Resolution  TYPE 5
            Default value: 100
            ReadOnly: False, Value: 100, SubType: RangeSubType
                Min 50, Max 600, Step 1
        Property 6148: Vertical Resolution  TYPE 5
            Default value: 100
            ReadOnly: False, Value: 100, SubType: RangeSubType
                Min 50, Max 600, Step 1
        Property 6149: Horizontal Start Position  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: RangeSubType
                Min 0, Max 849, Step 1
        Property 6150: Vertical Start Position  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: RangeSubType
                Min 0, Max 1399, Step 1
        Property 6151: Horizontal Extent  TYPE 5
            Default value: 850
            ReadOnly: False, Value: 850, SubType: RangeSubType
                Min 1, Max 850, Step 1
        Property 6152: Vertical Extent  TYPE 5
            Default value: 1400
            ReadOnly: False, Value: 1400, SubType: RangeSubType
                Min 1, Max 1400, Step 1
        Property 6157: Rotation  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: ListSubType
                0
                1
                2
                3
        Property 6154: Brightness  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: RangeSubType
                Min -1000, Max 1000, Step 1
        Property 6155: Contrast  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: RangeSubType
                Min -1000, Max 1000, Step 1
        Property 6159: Threshold  TYPE 5
            Default value: 128
            ReadOnly: False, Value: 128, SubType: RangeSubType
                Min 0, Max 255, Step 1
        Property 4103: Data Type  TYPE 5
            Default value: 3
            ReadOnly: False, Value: 3, SubType: ListSubType
                3
                2
                0
        Property 4104: Bits Per Pixel  TYPE 5
            Default value: 24
            ReadOnly: False, Value: 24, SubType: ListSubType
                1
                8
                24
        Property 4107: Compression  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: ListSubType
                0
        Property 4109: Channels Per Pixel  TYPE 5
            ReadOnly: True, Value: 3, SubType: UnspecifiedSubType
        Property 4110: Bits Per Channel  TYPE 5
            ReadOnly: True, Value: 8, SubType: UnspecifiedSubType
        Property 6153: Photometric Interpretation  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: ListSubType
                0
                1
        Property 4111: Planar  TYPE 5
            ReadOnly: True, Value: 0, SubType: UnspecifiedSubType
        Property 4112: Pixels Per Line  TYPE 5
            ReadOnly: True, Value: 850, SubType: UnspecifiedSubType
        Property 4114: Number of Lines  TYPE 5
            ReadOnly: True, Value: 1400, SubType: UnspecifiedSubType
        Property 4116: Item Size  TYPE 5
            ReadOnly: True, Value: 3572854, SubType: UnspecifiedSubType
        Property 4118: Buffer Size  TYPE 5
            ReadOnly: True, Value: 131072, SubType: UnspecifiedSubType
        Property 4123: Filename extension  TYPE 16
            ReadOnly: True, Value: BMP, SubType: UnspecifiedSubType
        Property 6161: Lamp Warm up Time  TYPE 5
            ReadOnly: True, Value: 90000, SubType: UnspecifiedSubType
        Property 4108: Media Type  TYPE 5
            Default value: 2
            ReadOnly: False, Value: 2, SubType: ListSubType
                128
                2
        Property 4105: Preferred Format  TYPE 15
            ReadOnly: True, Value: {B96B3CAB-0728-11D3-9D7B-0000F81EF32E}, SubType: UnspecifiedSubType
        Property 4106: Format  TYPE 15
            ReadOnly: False, Value: {B96B3CAB-0728-11D3-9D7B-0000F81EF32E}, SubType: UnspecifiedSubType
        Property 4113: Bytes Per Line  TYPE 5
            ReadOnly: True, Value: 2552, SubType: UnspecifiedSubType
    Printer set to PDF Writer
    Trying to establish connection with the Device {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001
    Connection established with EPSON DS-40. DeviceID: {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001
    This scanner supports ADF
    Starting acquisition
            Bit Depth:  0
    Brightness:     0
    Contrast:   0
    Resolution:     300
    Intent:     ColorIntent
    Quality:    100
    Scaling:    100
    Copies:     1
    Preview:    False
    UseADF:     True
    Duplex:     False
    Rotate Duplex:  False
    Multipage:  False
    Scan Output:    PDF
    Path:   C:\scanned\iCopy 2022-12-11 04-43-28.pdf
    Center:     True
        Trying to set WIA_DPS_DOCUMENT_HANDLING_SELECT to FEEDER
        WIA_DPS_DOCUMENT_HANDLING_SELECT value: FEEDER
        Setting scan properties
        Brightness set to 0 -> 0
        Contrast set to 0 -> 0
        Intent set to ColorIntent
        Resolution set to 300
        Set Horizontal Extent to: 2481
        Set Vertical Extent to: 3507
        Setting scan extent to A4
Exception thrown: 'System.ArgumentException' in iCopy.exe
        Scanner does not support WIA_IPS_PAGE_SIZE
Exception thrown: 'System.ArgumentException' in iCopy.exe
        Couldn't set Bits per Pixel set to 0. ERROR Value does not fall within the expected range.
        Image count 0. Acquiring next image
        WIA_DPS_DOCUMENT_HANDLING_STATUS: FEED_READY
        Subitems count: 0
Exception thrown: 'System.ArgumentException' in iCopy.exe
        Acquisition threw the exception System.ArgumentException: Value does not fall within the expected range.
   at WIA.ICommonDialog.ShowTransfer(Item Item, String FormatID, Boolean CancelError)
   at iCopy.Scanner.ScanNormal(ScanSettings settings) in C:\Users\jhogan05\Source\Repos\icopy-git\iCopy\Classes\Scanner.vb:line 820

Output when switching to the ScanBrother routine:

11/12/2022 16:57:33
iCopy Version: 1.7.0.3
Windows Version: Microsoft Windows NT 6.2.9200.0
.NET Version: 4.0.30319.42000
-----------------
    WIA Device count: 1
    Trying to establish connection with the Device {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001
    Connection established with EPSON DS-40. DeviceID: {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001
    This scanner supports ADF
    SCANNER PROPERTIES
        Property 3112: User Name  TYPE 16
            ReadOnly: True, Value: HAD\jhogan05, SubType: UnspecifiedSubType
        Property 4098: Item Name  TYPE 16
            ReadOnly: True, Value: Root, SubType: UnspecifiedSubType
        Property 4099: Full Item Name  TYPE 16
            ReadOnly: True, Value: 0001\Root, SubType: UnspecifiedSubType
        Property 4101: Item Flags  TYPE 5
            ReadOnly: True, Value: 76, SubType: UnspecifiedSubType
        Property 2: Unique Device ID  TYPE 16
            ReadOnly: False, Value: {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001, SubType: UnspecifiedSubType
        Property 3: Manufacturer  TYPE 16
            ReadOnly: True, Value: EPSON, SubType: UnspecifiedSubType
        Property 4: Description  TYPE 16
            ReadOnly: True, Value: EPSON DS-40, SubType: UnspecifiedSubType
        Property 5: Type  TYPE 5
            ReadOnly: True, Value: 65537, SubType: UnspecifiedSubType
        Property 6: Port  TYPE 16
            ReadOnly: True, Value: \\.\Usbscan0, SubType: UnspecifiedSubType
        Property 7: Name  TYPE 16
            ReadOnly: True, Value: EPSON DS-40, SubType: UnspecifiedSubType
        Property 8: Server  TYPE 16
            ReadOnly: False, Value: local, SubType: UnspecifiedSubType
        Property 9: Remote Device ID  TYPE 16
            ReadOnly: False, Value: , SubType: UnspecifiedSubType
        Property 10: UI Class ID  TYPE 16
            ReadOnly: True, Value: {00000000-0000-0000-0000-000000000000}, SubType: UnspecifiedSubType
        Property 11: Hardware Configuration  TYPE 5
            ReadOnly: True, Value: 0, SubType: UnspecifiedSubType
        Property 12: BaudRate  TYPE 16
            ReadOnly: True, Value: , SubType: UnspecifiedSubType
        Property 13: STI Generic Capabilities  TYPE 5
            ReadOnly: True, Value: 17, SubType: UnspecifiedSubType
        Property 14: WIA Version  TYPE 16
            ReadOnly: True, Value: 2.0, SubType: UnspecifiedSubType
        Property 15: Driver Version  TYPE 16
            ReadOnly: True, Value: 1.1.6.1, SubType: UnspecifiedSubType
        Property 16: PnP ID String  TYPE 16
            ReadOnly: True, Value: \\?\usb#vid_04b8&pid_0152#uc7z00379700#{6bdd1fc6-810f-11d0-bec7-08002be2092f}, SubType: UnspecifiedSubType
        Property 17: STI Driver Version  TYPE 5
            ReadOnly: True, Value: 3, SubType: UnspecifiedSubType
        Property 4125: Item Category  TYPE 15
            ReadOnly: True, Value: {F193526F-59B8-4A26-9888-E16E4F97CE10}, SubType: UnspecifiedSubType
        Property 3086: Document Handling Capabilities  TYPE 5
            ReadOnly: True, Value: 17, SubType: UnspecifiedSubType
        Property 3087: Document Handling Status  TYPE 5
            ReadOnly: True, Value: 1, SubType: UnspecifiedSubType
        Property 1026: Firmware Version  TYPE 16
            ReadOnly: True, Value: 1.00, SubType: UnspecifiedSubType
        Property 3090: Horizontal Optical Resolution  TYPE 5
            ReadOnly: True, Value: 600, SubType: UnspecifiedSubType
        Property 3091: Vertical Optical Resolution  TYPE 5
            ReadOnly: True, Value: 600, SubType: UnspecifiedSubType
        Property 3100: Preview  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: ListSubType
                0
                1
        Property 3076: Horizontal Sheet Feed Size  TYPE 5
            ReadOnly: True, Value: 8500, SubType: UnspecifiedSubType
        Property 3077: Vertical Sheet Feed Size  TYPE 5
            ReadOnly: True, Value: 14000, SubType: UnspecifiedSubType
        Property 3104: Minimum Horizontal Sheet Feed Size  TYPE 5
            ReadOnly: True, Value: 1, SubType: UnspecifiedSubType
        Property 3105: Minimum Vertical Sheet Feed Size  TYPE 5
            ReadOnly: True, Value: 1, SubType: UnspecifiedSubType
        Property 3078: Sheet Feeder Registration  TYPE 5
            ReadOnly: True, Value: 0, SubType: UnspecifiedSubType
        Property 3088: Document Handling Select  TYPE 5
            Default value: 32
            ReadOnly: False, Value: 1, SubType: FlagSubType
                1
                32
        Property 3096: Pages  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: RangeSubType
                Min 0, Max 1, Step 1
        Property 3097: Page Size  TYPE 5
            Default value: 2
            ReadOnly: False, Value: 2, SubType: ListSubType
                2
        Property 3098: Page Width  TYPE 5
            ReadOnly: True, Value: 8500, SubType: UnspecifiedSubType
        Property 3099: Page Height  TYPE 5
            ReadOnly: True, Value: 14000, SubType: UnspecifiedSubType
        Property 3103: Show preview control  TYPE 5
            ReadOnly: True, Value: 1, SubType: UnspecifiedSubType
        Property 3095: Max Scan Time  TYPE 5
            ReadOnly: True, Value: 3600000, SubType: UnspecifiedSubType
        Property 4098: Item Name  TYPE 16
            ReadOnly: True, Value: Scan, SubType: UnspecifiedSubType
        Property 4099: Full Item Name  TYPE 16
            ReadOnly: True, Value: 0001\Root\Scan, SubType: UnspecifiedSubType
        Property 4101: Item Flags  TYPE 5
            ReadOnly: True, Value: 532483, SubType: UnspecifiedSubType
        Property 4120: Color Profile Name  TYPE 16
            Default value: C:\windows\system32\spool\drivers\color\sRGB Color Space Profile.icm
            ReadOnly: False, Value: C:\windows\system32\spool\drivers\color\sRGB Color Space Profile.icm, SubType: ListSubType
                C:\windows\system32\spool\drivers\color\sRGB Color Space Profile.icm
        Property 4102: Access Rights  TYPE 5
            Default value: 1
            ReadOnly: True, Value: 1, SubType: FlagSubType
                1
        Property 6156: Orientation  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: ListSubType
                0
                1
                2
                3
        Property 6146: Current Intent  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: FlagSubType
                1
                2
                4
                65536
                131072
        Property 6147: Horizontal Resolution  TYPE 5
            Default value: 100
            ReadOnly: False, Value: 100, SubType: RangeSubType
                Min 50, Max 600, Step 1
        Property 6148: Vertical Resolution  TYPE 5
            Default value: 100
            ReadOnly: False, Value: 100, SubType: RangeSubType
                Min 50, Max 600, Step 1
        Property 6149: Horizontal Start Position  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: RangeSubType
                Min 0, Max 849, Step 1
        Property 6150: Vertical Start Position  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: RangeSubType
                Min 0, Max 1399, Step 1
        Property 6151: Horizontal Extent  TYPE 5
            Default value: 850
            ReadOnly: False, Value: 850, SubType: RangeSubType
                Min 1, Max 850, Step 1
        Property 6152: Vertical Extent  TYPE 5
            Default value: 1400
            ReadOnly: False, Value: 1400, SubType: RangeSubType
                Min 1, Max 1400, Step 1
        Property 6157: Rotation  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: ListSubType
                0
                1
                2
                3
        Property 6154: Brightness  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: RangeSubType
                Min -1000, Max 1000, Step 1
        Property 6155: Contrast  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: RangeSubType
                Min -1000, Max 1000, Step 1
        Property 6159: Threshold  TYPE 5
            Default value: 128
            ReadOnly: False, Value: 128, SubType: RangeSubType
                Min 0, Max 255, Step 1
        Property 4103: Data Type  TYPE 5
            Default value: 3
            ReadOnly: False, Value: 3, SubType: ListSubType
                3
                2
                0
        Property 4104: Bits Per Pixel  TYPE 5
            Default value: 24
            ReadOnly: False, Value: 24, SubType: ListSubType
                1
                8
                24
        Property 4107: Compression  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: ListSubType
                0
        Property 4109: Channels Per Pixel  TYPE 5
            ReadOnly: True, Value: 3, SubType: UnspecifiedSubType
        Property 4110: Bits Per Channel  TYPE 5
            ReadOnly: True, Value: 8, SubType: UnspecifiedSubType
        Property 6153: Photometric Interpretation  TYPE 5
            Default value: 0
            ReadOnly: False, Value: 0, SubType: ListSubType
                0
                1
        Property 4111: Planar  TYPE 5
            ReadOnly: True, Value: 0, SubType: UnspecifiedSubType
        Property 4112: Pixels Per Line  TYPE 5
            ReadOnly: True, Value: 850, SubType: UnspecifiedSubType
        Property 4114: Number of Lines  TYPE 5
            ReadOnly: True, Value: 1400, SubType: UnspecifiedSubType
        Property 4116: Item Size  TYPE 5
            ReadOnly: True, Value: 3572854, SubType: UnspecifiedSubType
        Property 4118: Buffer Size  TYPE 5
            ReadOnly: True, Value: 131072, SubType: UnspecifiedSubType
        Property 4123: Filename extension  TYPE 16
            ReadOnly: True, Value: BMP, SubType: UnspecifiedSubType
        Property 6161: Lamp Warm up Time  TYPE 5
            ReadOnly: True, Value: 90000, SubType: UnspecifiedSubType
        Property 4108: Media Type  TYPE 5
            Default value: 2
            ReadOnly: False, Value: 2, SubType: ListSubType
                128
                2
        Property 4105: Preferred Format  TYPE 15
            ReadOnly: True, Value: {B96B3CAB-0728-11D3-9D7B-0000F81EF32E}, SubType: UnspecifiedSubType
        Property 4106: Format  TYPE 15
            ReadOnly: False, Value: {B96B3CAB-0728-11D3-9D7B-0000F81EF32E}, SubType: UnspecifiedSubType
        Property 4113: Bytes Per Line  TYPE 5
            ReadOnly: True, Value: 2552, SubType: UnspecifiedSubType
    Printer set to PDF Writer
    Trying to establish connection with the Device {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001
    Connection established with EPSON DS-40. DeviceID: {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001
    This scanner supports ADF
    Starting acquisition (Brother)
        Trying to set WIA_DPS_DOCUMENT_HANDLING_SELECT to FEEDER
        WIA_DPS_DOCUMENT_HANDLING_SELECT value: FEEDER
        Setting scan properties
            Bit Depth:  0
    Brightness:     0
    Contrast:   0
    Resolution:     300
    Intent:     ColorIntent
    Quality:    100
    Scaling:    100
    Copies:     1
    Preview:    False
    UseADF:     True
    Duplex:     False
    Rotate Duplex:  False
    Multipage:  False
    Scan Output:    PDF
    Path:   C:\scanned\iCopy 2022-12-11 04-57-44.pdf
    Center:     True
        Brightness set to 0 -> 0
        Contrast set to 0 -> 0
        Intent set to ColorIntent
        Resolution set to 300
        Set Horizontal Extent to: 2481
        Set Vertical Extent to: 3507
        Image count 0. Acquiring next image
        WIA_DPS_PAGES Value: 0
        WIA_DPS_DOCUMENT_HANDLING_STATUS: FEED_READY
        Image acquired
        Checking if there are more pages...
        WIA_DPS_DOCUMENT_HANDLING_STATUS: FEED_READY
        WIA_DPS_PAGES Value: 1
        Image count 1. Acquiring next image
        WIA_DPS_PAGES Value: 1
        WIA_DPS_DOCUMENT_HANDLING_STATUS: FEED_READY
Exception thrown: 'System.Runtime.InteropServices.COMException' in iCopy.exe
        The ADF is empty
        Acquisition complete, returning 1 images

I noticed Brother has number of similar sized (though not same appearance) portable scanner (including a Brother DS-640 about the same size), so I wonder if this is a rebadged version or innards?

Discussion


Log in to post a comment.