[Gambas-user] gb.scanner

Johny Provoost johny.provoost at ...27...
Wed Mar 11 17:58:39 CET 2015


Hello,

Is there's some place where I can get some more help about gb.scanner.  
The help in Gambas doesn't show much.

I'll tried

Public Sub Button1_Click()
   Dim HPScan As Image
   Dim MyScan As Scanner
   Scanners.Search
   MyScan.Scan(HPScan)
End

scanners.search find my scanner (see in the terminal window: 
hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one)
but myscan.scan(HPScan) gives 'Null Object'

Do I somewhere config my scanner like you have to config your printer?

Regards,
Johny




More information about the User mailing list