Sign in Join
Wiki copytemporary

Revision 1 of 1, by Mgpoole on 11-1-2019. The page as it is now.

PascalSane

About

PascalSane provides pascal bindings for the libsane library, enabling Lazarus and FreePascal applications to access scanners under Linux.

Principal operations :

The download contains the libsane bindings and a unit saneutils.pas which provides some simple functions for manipulating scanner data. It also contains a demonstration Lazarus application, which contains examples of operations that can be performed using libsane.

Author

Malcolm Poole: mgpoole at users.sourceforge.net

License

The libsane headers are in the public domain. The demo application is licensed under the GPL

Download

The latest stable release can be found at https://code.google.com/archive/p/ocrivist/downloads.

Change Log

- Added missing functions and bitwise enumerations

- corrected translation of constraint union in SANE_Option_Descriptor

- fixed a number of memory management issues in demo project

- added libsane test backend to demo project

Dependencies / System Requirements

Documentation

Documentation for the Sane API covers all the functions provided by the bindings. The C source code for scanimage and other simple scanning applications are recommended for guidance.

How to include PascalSane in a Lazarus application

The PascalSane Example Application


From the Free Pascal wiki, page "PascalSane", as it stood on 2019-11-01 after a change by Mgpoole, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.