There are two possible locations where you can download the software (driver and CaptureOnTouch) for the R40: https://www.usa.canon.com/internet/portal/us/home/support/details/scanners/ document-scanner / imageformula-r40 - office - document-scanner ?tab=drivers_downloads Canon USA website:
The length of documents that can be scanned with the R40 / RS40 is normally 356mm (14"), but you can scan documents up to 3,000mm (118.1") long by setting the scanner to the Long Document mode. Follow the steps below to enable Long Document mode.
Click the Start button, and then click [Canon R40 ] and [Canon imageFORMULA Driver Setting Tool]. imageFORMULA Driver Settings Tool starts. Click the [Maintenance] tab and then move the slider to change the value of [Reduction ratio adjustment].
Click the Start button, and then click [Canon R40 ], and [Canon imageFORMULA Driver Setting Tool]. imageFORMULA Driver Setting Tool starts. Click the [Maintenance] tab and then select [Reset].