Loading...

Canon MP270

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Canon MP270

Postby kraken17 » Thu Oct 22, 2009 11:20 am

I have managed to find and make the software pickup and scan from this AIO - but it will only scann a very small portion of the A4 page.

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?
kraken17
 
Posts: 3
Joined: Thu Oct 22, 2009 10:38 am

Re: Canon MP270

Postby Loïc » Thu Oct 22, 2009 11:38 am

Hi,

Could you attach the resulting bitmap of the scan ?

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Canon MP270

Postby kraken17 » Fri Oct 23, 2009 9:45 am

Scanned file attached.
Attachments
SorterTemp.jpg
Scanned file attached.
SorterTemp.jpg (13.97 KiB) Viewed 206 times
kraken17
 
Posts: 3
Joined: Thu Oct 22, 2009 10:38 am

Re: Canon MP270

Postby kraken17 » Fri Oct 23, 2009 10:14 am

Having looked through the previous posts I came across one talking about WIA and microsoft bridge.

I changed my code to use the Canon MP270 ser TWAIN and all works ok now.

Thanks in advance for any help anyone was going to give me.

Tim
kraken17
 
Posts: 3
Joined: Thu Oct 22, 2009 10:38 am

Re: Canon MP270

Postby Loïc » Fri Oct 23, 2009 1:47 pm

Yes Tim !

Go to TWAIN, Goodbye WIA ! :D

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 3 guests

cron