I can enable the GUI for the Canon and make it scan full page, but of course I need it to be automatic.
Attached is the code we are using.
- Code: Select all
ClientMain.MousePointer = 11
StatusBar1.Panels(1).Text = "Current Status: Scanning Image........."
Imaging1.TwainSetIndicators (True)
Imaging1.TwainSetHideUI (True)
Imaging1.TwainSetAutoBrightness (True)
Imaging1.TwainSetCurrentResolution (100)
Imaging1.TwainSetPaperSize (A4)
'If Option1.Value Then
' Imaging1.TwainSetCurrentPixelType (TWPT_GRAY) 'Black and White option selected
'Else
Imaging1.TwainSetCurrentPixelType (TWPT_RGB) 'Colour option selected
'End If
'Imaging1.TwainSetCurrentBitDepth (8) ' 24 bpp
nImageID = Imaging1.TwainAcquireToGdPictureImage(Me.hWnd) 'Acquire scanned image
Can anyone help please?
