[Gambas-user] gb.scanner
Johny Provoost
johny.provoost at ...27...
Thu Mar 12 10:53:15 CET 2015
Thank you Ron. Will look in to it.
Regards
Johny
Op 11-03-15 om 21:02 schreef Ron:
> Here a cleanup of an already existing Gambas Scanner app using
> scanimage cli command I use regularly.
> https://github.com/cyberjunky/gbscan/
>
> It does all the option parsing from cli output...
>
> Maybe we can make it better using gb.scanner component and vice versa..
> Thinks I want to add are digital stamps like "Confidential" and signatures...
>
> Regards,
> Ron.
>
> 2015-03-11 19:24 GMT+01:00 Johny Provoost <johny.provoost at ...27...>:
>>
>> Op 11-03-15 om 19:10 schreef Fabien Bodard:
>>> Le 11 mars 2015 17:59, "Johny Provoost" <johny.provoost at ...27...> a écrit :
>>>> 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
>>>>
>>> Well I've not documented the component yet
>>>
>>> But you must do :
>>>
>>> Himg =Scanners["
>>> hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"].scan()
>>>
>>> Or
>>>
>>> Hmyscan as scanner
>>> Hmyscan =scanners["hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"]
>>>
>>> Himg=Hnyscan.scan()
>>>
>>> I will send an example on the farm quikly
>>>
>>> -----------------------------------------------
>>>
>> Thank you Fabian.
>> Can start now. Looking forward to your example.
>>
>> Johny
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for all
>> things parallel software development, from weekly thought leadership blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
--
*Vriendelijke Groeten*
*Johny Provoost*
*mailto: johny.provoost at ...27... <mailto:johny.provoost at ...27...>*
*mailto: johny.provoost at ...626... <mailto:johny.provoost at ...626...>*
*Website:* *http://www.johnyprovoost.net* <http://www.johnyprovoost.net/>
More information about the User
mailing list