• Canon LiDE 300 scanner not in Irfanview Select TWAIN dialog

    From Stan Brown@21:1/5 to All on Sun Feb 16 14:36:41 2025
    I have Windows 10 Pro 22H2. I was using Irfanview 4.60 to run my LiDE
    50 scanner (using a LiDE 60 driver). The scanner finally gave up the
    host,(*) so I bought an LiDE 300.

    I removed the old scanner in Windows settings/Scanners and Printers.
    I don't know if that deleted the old driver or not. I did a search of
    the C: drive, and found a hidden C:\CanoScan\CNQL60 folder, but I
    didn't delete it. Should I have deleted it?

    I used Canon's installation CD to install the scanner, and didn't
    connect the scanner to my PC until the software told me to do so. The
    LiDE 300 scanner showed up in Scanners and Printers, and I can scan
    using Canon's supplied IJ software. However, (a) the four physical
    buttons on the scanner don't do anything and (b) I can't use
    Irfanview to drive the scanner, because when I click File » Select
    Scan/Twain Source Irfanview just hangs. The Irfanview help file says
    "Note: this dialog is shown/managed by Windows, not by IrfanView." I
    can live with (a), but (b) is a problem for me.

    I tried upgrading my 32-bit Irfanview (and plugins) to the latest
    version, 4.70, but that didn't make a difference.

    What do I need to do to make the Canon scanner show up in the TWAIN
    list dialog? I suppose I could just give up having Irfanview manage
    the scanner, but Canon's interface is really clunky and I'd really
    rather not use it if that can be avoided.


    (*) I can't complain: I bought it for about $30 in a clearance sale
    at Staples around 2003, so I got 20 years out of it.

    --
    Stan Brown, Tehachapi, California, USA https://BrownMath.com/
    Shikata ga nai...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From VanguardLH@21:1/5 to Stan Brown on Sun Feb 16 18:08:46 2025
    Stan Brown <the_stan_brown@fastmail.fm> wrote:

    I have Windows 10 Pro 22H2. I was using Irfanview 4.60 to run my LiDE
    50 scanner (using a LiDE 60 driver). The scanner finally gave up the
    host,(*) so I bought an LiDE 300.

    I removed the old scanner in Windows settings/Scanners and Printers.
    I don't know if that deleted the old driver or not. I did a search of
    the C: drive, and found a hidden C:\CanoScan\CNQL60 folder, but I
    didn't delete it. Should I have deleted it?

    I used Canon's installation CD to install the scanner, and didn't
    connect the scanner to my PC until the software told me to do so. The
    LiDE 300 scanner showed up in Scanners and Printers, and I can scan
    using Canon's supplied IJ software. However, (a) the four physical
    buttons on the scanner don't do anything and (b) I can't use
    Irfanview to drive the scanner, because when I click File » Select
    Scan/Twain Source Irfanview just hangs. The Irfanview help file says
    "Note: this dialog is shown/managed by Windows, not by IrfanView." I
    can live with (a), but (b) is a problem for me.

    I tried upgrading my 32-bit Irfanview (and plugins) to the latest
    version, 4.70, but that didn't make a difference.

    What do I need to do to make the Canon scanner show up in the TWAIN
    list dialog? I suppose I could just give up having Irfanview manage
    the scanner, but Canon's interface is really clunky and I'd really
    rather not use it if that can be avoided.

    (*) I can't complain: I bought it for about $30 in a clearance sale
    at Staples around 2003, so I got 20 years out of it.

    I suspect the buttons on the scanner are like extra keys on some
    keyboards: they aren't functional alone, but need to have some
    ancilliary software work with those extra buttons or keys. That is, the buttons are usable as long as some background or loaded process is
    monitoring for the button presses. Do the buttons work when you have
    loaded the IJ program?

    Did the "install" you did only install the Canon driver, or the full
    package (suite of software)?

    https://www.csai.canon.com/support/p/canoscan-lide-300

    You want to use the "Full Driver & Software Package" download.

    From the user manual, you need to install the ScanGear driver and
    software which can be started from IJ Scan Utility, or apps that are
    compatible with the standard TWAIN interface. That a program cannot
    find the TWAIN scanner hints the ScanGear driver or software were not installed. From IJ Scan Utility main screen, click on ScanGear to
    ensure it is installed, and usable. The program window that appears has "ScanGear" in its titlebar.

    In the manual, it says "In Windows, when you press a scanner button, a
    program selection screen may appear instead of IJ Scan Utility. In that
    case, set IJ Scan Utility as the program to start." I'm guessing no
    action or handler was assigned to the scanner button, and you select IJ
    to handle the button press.

    From the manual, you look for the "Scanner button settings (Windows)"
    section which says to use the IJ Scan Utility to configure the buttons.
    When you load IJ, are the scanner buttons defined? What are the default
    save folders specified?

    In the manual under "Scanner Driver Restrictions", it says "When using
    the NTFS file system, the TWAIN data source may not be invoked. This is because the TWAIN module cannot be written to the winnt folder for
    security reasons." It gives no help on how to circumvent the problem.
    I have no winnt named folder. C:\WinNT existed back in Windows XP.
    Without help, I'd try uninstalling the Canon software, and reinstall,
    but somewhere other than under C:\Program Files [x86], like create a new
    folder named C:\Programs, and install Canon stuff under there. Since
    you created that non-special folder, you would have full privileges
    there.

    When you installed the Canon stuff, were you logged under a Windows
    account that has Administrator privileges?

    No mention if you are using 32- or 64-bit Windows. Drivers must match
    on bitwidth to that of the OS. The presumption is the installer detects
    the OS bitwidth to match which driver(s) it installs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stan Brown@21:1/5 to VanguardLH on Mon Feb 17 06:59:13 2025
    On Sun, 16 Feb 2025 18:08:46 -0600, VanguardLH wrote:
    Stan Brown <the_stan_brown@fastmail.fm> wrote:

    [quoted text muted]
    rather not use it if that can be avoided.

    (*) I can't complain: I bought it for about $30 in a clearance sale
    at Staples around 2003, so I got 20 years out of it.

    I suspect the buttons on the scanner are like extra keys on some
    keyboards: they aren't functional alone, but need to have some
    ancilliary software work with those extra buttons or keys. That is, the buttons are usable as long as some background or loaded process is
    monitoring for the button presses. Do the buttons work when you have
    loaded the IJ program?

    Nope. Not when the IJ program was merely installed, not
    when it was actually running.

    But the only reason I mentioned the buttons was in
    hopes that it would be useful data. I'm much more
    concerned about the lost integration with Irfanview.

    --
    Stan Brown, Tehachapi, California, USA
    https://BrownMath.com/
    Shikata ga nai...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From VanguardLH@21:1/5 to Stan Brown on Mon Feb 17 09:25:36 2025
    Stan Brown <the_stan_brown@fastmail.fm> wrote:

    On Sun, 16 Feb 2025 18:08:46 -0600, VanguardLH wrote:
    Stan Brown <the_stan_brown@fastmail.fm> wrote:

    [quoted text muted]
    rather not use it if that can be avoided.

    (*) I can't complain: I bought it for about $30 in a clearance sale
    at Staples around 2003, so I got 20 years out of it.

    I suspect the buttons on the scanner are like extra keys on some
    keyboards: they aren't functional alone, but need to have some
    ancilliary software work with those extra buttons or keys. That is, the
    buttons are usable as long as some background or loaded process is
    monitoring for the button presses. Do the buttons work when you have
    loaded the IJ program?

    Nope. Not when the IJ program was merely installed, not
    when it was actually running.

    But the only reason I mentioned the buttons was in
    hopes that it would be useful data. I'm much more
    concerned about the lost integration with Irfanview.

    https://www.google.com/search?q=irfanview+twain+missing

    found:

    https://superuser.com/questions/1747998/irfanview-stopped-recognizing-any-scanner-driver-twain-source-after-either-win

    While the respondent has you unregister twaindsm.dll, perhaps you have
    to follow with registering the twain_32.dll.

    I would first try to unregister twaindsm.dll, and then reregister it to
    check if the problem goes away. If not, unregister twaindsm.dll, and
    register twain_32.dll. I did not find a twain_64.dll on my Win10 x64
    22H2 setup.

    Some users reported they had to uninstall the 64-bit version of
    Irfanview to then install the 32-bit version of Irfanview. My guess is
    the 64-bit client is trying to access functions in the 32-bit library.
    If you had plug-ins (64 bit) installed in Irfanview64, you'll need to
    install the 32-bit equivalent plugins into Irfanview32.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Johnson@21:1/5 to the_stan_brown@fastmail.fm on Mon Feb 17 16:19:58 2025
    On Sun, 16 Feb 2025 14:36:41 -0800, Stan Brown
    <the_stan_brown@fastmail.fm> wrote:



    What do I need to do to make the Canon scanner show up in the TWAIN
    list dialog?

    You have rebooted the PC since installing the new drivers?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stan Brown@21:1/5 to VanguardLH on Mon Feb 17 16:28:44 2025
    On Mon, 17 Feb 2025 09:25:36 -0600, VanguardLH wrote:

    Stan Brown <the_stan_brown@fastmail.fm> wrote:

    On Sun, 16 Feb 2025 18:08:46 -0600, VanguardLH wrote:
    Stan Brown <the_stan_brown@fastmail.fm> wrote:

    [quoted text muted]
    rather not use it if that can be avoided.

    (*) I can't complain: I bought it for about $30 in a clearance sale
    at Staples around 2003, so I got 20 years out of it.

    I suspect the buttons on the scanner are like extra keys on some
    keyboards: they aren't functional alone, but need to have some
    ancilliary software work with those extra buttons or keys. That is, the >> buttons are usable as long as some background or loaded process is
    monitoring for the button presses. Do the buttons work when you have
    loaded the IJ program?

    Nope. Not when the IJ program was merely installed, not
    when it was actually running.

    But the only reason I mentioned the buttons was in
    hopes that it would be useful data. I'm much more
    concerned about the lost integration with Irfanview.

    Thanks for replying, Vanguard. As it happens, the solution was
    simpler than either of us thought -- Peter Johnson nailed it. Just
    rebooting after the install solved it. (I'm pretty sure Canon's
    software never said I should reboot.)

    Deleting the LiDE 50 from Settings » Devices » Scanners and Printers
    did not make it stop showing up in the TWAIN selection dialog, but
    deleting this registry key did:

    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Canon\ScanGear\11.1

    (Actually I didn't delete it, but renamed it to "Obsolete 11.1.")

    https://www.google.com/search?q=irfanview+twain+missing

    found:

    https://superuser.com/questions/1747998/irfanview-stopped-recognizing-any-scanner-driver-twain-source-after-either-win

    While the respondent has you unregister twaindsm.dll, perhaps you have
    to follow with registering the twain_32.dll.

    I would first try to unregister twaindsm.dll, and then reregister it to
    check if the problem goes away. If not, unregister twaindsm.dll, and register twain_32.dll. I did not find a twain_64.dll on my Win10 x64
    22H2 setup.

    Some users reported they had to uninstall the 64-bit version of
    Irfanview to then install the 32-bit version of Irfanview. My guess is
    the 64-bit client is trying to access functions in the 32-bit library.
    If you had plug-ins (64 bit) installed in Irfanview64, you'll need to
    install the 32-bit equivalent plugins into Irfanview32.



    --
    Stan Brown, Tehachapi, California, USA https://BrownMath.com/
    Shikata ga nai...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From VanguardLH@21:1/5 to Stan Brown on Mon Feb 17 19:24:51 2025
    Stan Brown <the_stan_brown@fastmail.fm> wrote:

    As it happens, the solution was simpler than either of us thought --
    Peter Johnson nailed it. Just rebooting after the install solved it.
    (I'm pretty sure Canon's software never said I should reboot.)

    Many installs and updates never inform the user a reboot is required.
    Updates can leave the fileset for a program out of sync with each other:
    some got replaced, some did not (like they were inuse or locked), while
    the some that got replaced expect differences in the old files that have
    not yet gotten replaced. Even Microsoft does updates where it does not
    tell the user to reboot, but problems arise that a reboot fixes. During
    the reboot, and Windows startup, the inuse or locked files can get
    replaced, so then the fileset for the program are all in sync.

    I didn't think of mentioning a reboot, because it's been a long-time troubleshooting mantra for Windows. Guess I assumed you rebooted.

    The point of the PendingFileRenameOperations registry key is to have
    Windows rename, move, or delete files early in the startup that could
    not be touched during the update. Besides installers and updaters using
    it to remove old or inappropriate files after an install or update,
    tools also use it to delete files you can't delete (e.g., Unlocker, Lockhunter). Those files are listed in the registry key, Windows sees
    the key is defined (it is absent otherwise), and renames, moves, or
    deletes the list of files in that registry key. It's hard to change
    your socks without first removing your shoes.

    After an install (which is actually an update, but sometimes doesn't
    touch the old install, and instead puts the new version in a new
    destination) or after an update, I do a reboot whether the installer or
    updater says so, or not. Gotta flush out the old turds, so the new
    turds are all the same color.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stan Brown@21:1/5 to VanguardLH on Tue Feb 18 06:25:14 2025
    On Mon, 17 Feb 2025 19:24:51 -0600, VanguardLH wrote:
    Many installs and updates never inform the user a reboot is required.
    Updates can leave the fileset for a program out of sync with each other:
    some got replaced, some did not (like they were inuse or locked), while
    the some that got replaced expect differences in the old files that have
    not yet gotten replaced. Even Microsoft does updates where it does not
    tell the user to reboot, but problems arise that a reboot fixes. During
    the reboot, and Windows startup, the inuse or locked files can get
    replaced, so then the fileset for the program are all in sync.

    I didn't think of mentioning a reboot, because it's been a long-time troubleshooting mantra for Windows. Guess I assumed you rebooted.

    I guess it's a matter of which software one has been
    exposed to. I don't install a lot of software, and I
    guess it just worked out that everything I did install
    told me if it needed a reboot. I will form the habit of
    just routinely rebooting after a software install.



    --
    Stan Brown, Tehachapi, California, USA
    https://BrownMath.com/
    Shikata ga nai...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Newyana2@21:1/5 to Stan Brown on Tue Feb 18 10:39:45 2025
    On 2/16/2025 5:36 PM, Stan Brown wrote:

    What do I need to do to make the Canon scanner show up in the TWAIN
    list dialog? I suppose I could just give up having Irfanview manage
    the scanner, but Canon's interface is really clunky and I'd really
    rather not use it if that can be avoided.


    I'm not sure, but it could be that your new scanner doesn't
    use TWAIN. Microsoft came up with a new interface some
    years ago, using WIA. It allows you to automate contact with
    the scanner. (I actually wrote my own VBScript/IE utility for it.)

    If you don't like the utility that came with the scanner then you
    might look around for a generic WIA program. They should exist.
    Though how well they work depends on the scanner. For example,
    my HP Envy allows me to ask it for a TIF file, but it can't give me
    a TIF file. I just get a JPG. So there are a few loose ends with WIA. :)

    But that scanner was cheap and is fairly old. Newer hardware
    should be better.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to All on Tue Feb 18 18:23:25 2025
    On Tue, 2/18/2025 10:39 AM, Newyana2 wrote:
    On 2/16/2025 5:36 PM, Stan Brown wrote:

    What do I need to do to make the Canon scanner show up in the TWAIN
    list dialog? I suppose I could just give up having Irfanview manage
    the scanner, but Canon's interface is really clunky and I'd really
    rather not use it if that can be avoided.


        I'm not sure, but it could be that your new scanner doesn't
    use TWAIN. Microsoft came up with a new interface some
    years ago, using WIA. It allows you to automate contact with
    the scanner. (I actually wrote my own VBScript/IE utility for it.)

      If you don't like the utility that came with the scanner then you
    might look around for a generic WIA program. They should exist.
    Though how well they work depends on the scanner. For example,
    my HP Envy allows me to ask it for a TIF file, but it can't give me
    a TIF file. I just get a JPG. So there are a few loose ends with WIA. :)

      But that scanner was cheap and is fairly old. Newer hardware
    should be better.

    I have a LIDE 300 and the file references are mostly to WIA
    as far as I can see. There is also a mention of StillImage (STI)
    but that does not ring any bells. No mention at all of TWAIN.

    But the way the software installation sorta poops all over the
    place, there could still be a folder somewhere with TWAIN stuff
    in it.

    I picked up the scanner last year, to scan my taxes.
    My other scanner was producing dim scans, even though
    the light level from the CCFL looks like it is still
    working. The older scanner does a "calibration cycle",
    and the dim scan could be due to a calibration error.
    It scans a white strip out of view of the glass,
    to determine whether the CCFL is warmed up enough.
    The docs on the old scanner, say that it could take
    up to 20 minutes to really warm up, but the calibration
    just before each scan, allows the scanner to do scans
    even when the CCFL is lit (but cold). The CCFL stays
    on the whole time, and isn't modulated.

    By comparison, the LIDE 300 is lightweight, and it
    doesn't mess around when it comes to scanning.

    One difference though, is the old scanner is CCD
    and has depth of field. The LIDE 300 is CMOS and
    you have to press your original strongly against
    the glass, to get it "in focus" in a sense. I
    was trying to scan a DVD box, to get the text off
    the back of the box, and the only good scan came
    when I weighed down the cardboard against the glass
    (putting a weight inside the DVD retail box). Then
    the halftone used to print the box, was picked up
    nicely in the scan (a halftone being a bad thing
    if you're trying to do OCR later). But it was worth
    a shot, to see if I could scan something other than
    my taxes on it :-) The CCD scanner, the paper doesn't have
    to be pressed hard to work (at least, while the scanner
    was working).

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stan Brown@21:1/5 to All on Wed Feb 19 08:28:21 2025
    On Mon, 17 Feb 2025 16:19:58 +0000, Peter Johnson
    wrote:

    On Sun, 16 Feb 2025 14:36:41 -0800, Stan Brown
    <the_stan_brown@fastmail.fm> wrote:



    What do I need to do to make the Canon scanner show up in the TWAIN
    list dialog?

    You have rebooted the PC since installing the new drivers?

    I thought I followed up on this one on Monday the 17th,
    but I don't see my followup in my Usenet feed.

    Peter, you nailed it. When I tried again after
    rebooting, the Irfanview TWAIN selection dialog worked
    again, and I was able to do my scans. Thank you!

    --
    Stan Brown, Tehachapi, California, USA
    https://BrownMath.com/
    Shikata ga nai...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)