Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-11

Accessing a scanner

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lukas Gradl

Hi!

Has anyone experiences accessing a scanner with lazarus? Perhaps even cross-platform?

I'm dreaming of embedding scanner-functionality in one of our programs.

Any hint would be appreciated...

regards
Lukas

-------------------------- software security networks Lukas Gradl <fpc#ssn.at> Eduard-Bodem-Gasse 9 A - 6020 Innsbruck Tel: +43-512-214040-0 Fax: +43-512-214040-21 --------------------------

Reply by email

Malcolm Poole
to Michael Schneider
Lukas Gradl wrote 6 lines
> Has anyone experiences accessing a scanner with lazarus? Perhaps even > cross-platform? > > I'm dreaming of embedding scanner-functionality in one of our programs. > >

Attached are libsane bindings for lazarus. Everything works except functions SANE_OPTION_IS_ACTIVE and SANE_OPTION_IS_SETTABLE. I think these would be easily fixed by someone with a better grasp of bitwise operations :)

Let me know if you need any help implementing use of libsane

Malcolm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sane.pas
Type: text/x-pascal
Size: 8113 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081105/f6955eba/attachment.bin

Reply by email

Lukas Gradl
to Malcolm Poole

Thanks to all that helps. I'll have a look on that codes...

regards
Lukas

Show quoted text 23 lines
Am Montag, 3. November 2008 18:08:02 schrieb Lukas Gradl: >> Has anyone experiences accessing a scanner with lazarus? Perhaps even >> cross-platform? >> >> I'm dreaming of embedding scanner-functionality in one of our programs. >> >> Attached are libsane bindings for lazarus. Everything works except functions SANE_OPTION_IS_ACTIVE and SANE_OPTION_IS_SETTABLE. I think these would be easily fixed by someone with a better grasp of bitwise operations :) Let me know if you need any help implementing use of libsane Malcolm ------------------------------------------------------------------------ _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------------------- software security networks Lukas Gradl <fpc#ssn.at> Eduard-Bodem-Gasse 9 A - 6020 Innsbruck Tel: +43-512-214040-0 Fax: +43-512-214040-21 --------------------------

Reply by email