MorenaCapabilities library example
MorenaCapabilities library allows these new features:
- Pops up pure Java user interface windows to allow users to set the required scanning capabilities (options in Sane).
- It remembers the last used interface (Twain/Sane), last used hardware, last used capabilities and their values.
Morena Capabilities Example contains three buttons
- Select source = selects new source: Twain (MS Windows, MAC OS X) or Sane (Linux, MAC OS X)
- Custom dialog window = pops up a dialog window.
The window will display the last used capabilities with the last used values. It contains "Select capabilities" button through which
users can select their preferable capabilities. All capabilities supported by the source will be offered.
By default, the library will restart the source after the image preview; because of frequent source's bugs. Users can switch this feature off by selecting "Preferences" button. The restart
can take longer in case of some sources. Users can set up the preferred waiting time before the source starts up again.
- Repeat scan = acquires the image from the last used source setting the last used capabilities.
This is the often required "One button scanning" solution.
Technical notes
-
MorenaCapabilities library stores necessary information to the properties files located in the .morena directory of the user's home directory.
-
It is possible to turn on a debug mode by setting -Dmorena.capabilities.debug=true system property.
Please, notice, that this library is in beta version and can be changed. We appreciate your experiences with using this library.