While using ADempiere many times we come across a need to scan a document or image and upload that scanned document into one of ADempiere standard window as an attachment. Right now, It is two step process where you need to manually scan the entity and store it in your system and them upload that document as attachment
Scope of Article :
This article demonstrates automation of scanning and uploading of documents in ADempiere in one step. It demonstrates seamless integration of scanner device with ADempiere attachment functionality.
1. ADempiere 343 onwards
2. Jfreesane.jar ( Version 0.8)
3. guava.jar ( Version r09)
4. Sane Daemon (SANE Server)
Sane daemon must be installed in machine where scanner is attached, it can be server machine or any machine in the server LAN. Steps install SANE daemon is not covered in this document, but you can find detailed steps at http://www.sane-project.org/docs.html
Implementation Detail :
Step 1: Create system configuration variables to allow user to configure machine on which scanner is connected and device name
Step 3: Enhance attachment functionality to store the scanned image as attachment in database or file system
Once all the steps are completed, you can see the scan of image in live.
Steps for Scan :
Step 1: Log into application with any role you would like
Step 2: Open any standard ADempiere window and select an existing record or create a new record if no record is available and click on attachment button
Step 4: Click on Scanner Button..
Step 6: Now scanning is completed, you can see the scanned image rendered in attachment popup window
After going through this article you must have an overall idea about what you need to do to successfully integrate Scan devices with Adempiere. I hope you found this article useful and it helps you in improving efficiency of your end users.
Walking Tree promotes Adempiere and we support the users as well as the developers to ensure that business is able to take complete advantage of Adempiere’s wonderful capability. In case you are looking for a professional assistance then do visit our website to get in touch with us.