Need to read image from scanner

Hi,
I wnat to load image from scanner directly into forms. Then save it into table.
Shahin

Here we are..
This is my "bean" for scanning over twain driver or SANE (linux)..
I have used morena twain drivers (JNI), apache httpclient library for java (i need it for http communication between forms and database) and Itex pdf library for java.
The bean has three options..
1. you can select the twain device and start to scan
2. you can view scanned images
3. you can generate PDF from scanned images and store it to local disk or database..
For example how the form look like:
!http://freeweb.siol.net/peterv6i/scan1.jpg!
On the first form you can start a new scann or just delete the temporary files in the local folder (user temporary folder).
After you press the "scann" button the twain dialog apear
!http://freeweb.siol.net/peterv6i/scan2.jpg!
The dialog of twain device will startup. Here you can set everythig you can (scann area, colors, dpi ...)
!http://freeweb.siol.net/peterv6i/scan3.jpg!
The scanned images are transfered on local disk (temp folder). Every scanned images got timestamp value as name of the image (on the picture this are located in the select list)
!http://freeweb.siol.net/peterv6i/scan4.jpg!
If you click on the item the scanned image will aper on the screen
!http://freeweb.siol.net/peterv6i/scan5.jpg!
The last screen is for saving / generate a pdf from the array of images or image.
!http://freeweb.siol.net/peterv6i/scan6.jpg!

Similar Messages

  • Read image from scanner

    i want to interact with hardware(scanner) in java
    i want to read image and store in database
    for this
    1.) i want to read image from scanner
    2.) how do i start scanner process
    from where i gonna start
    plz help me to interact with hardware

    Hi, I have faced a similar problem and solved it using the morena api http://www.gnome.eu/Twain/examples/studio.html
    Problem is the scanner works fine with TWAIN, but with SANE, it is totally failing. There is a permanent connection refusal form the scanner ip whenever
    i try to use a network scanner. I am not sure how to solve it. If anyone has solved this please revert back.
    Regards,
    Anthony

  • Read Image from Scanner Twain

    Hi,
    Iam working with Developer 2000 with Forms 6i.
    I want one information.
    I want to access the scanner through D2k Form and i have
    put that image which is one the scanner Twain to image item place on the my form6i.
    so please guide how to do this one
    waiting for ur reply
    so please give reply to [email protected]
    Eagerly waiting for the reply
    Thanks & Regards
    A. Darwish

    Hi, I have faced a similar problem and solved it using the morena api http://www.gnome.eu/Twain/examples/studio.html
    Problem is the scanner works fine with TWAIN, but with SANE, it is totally failing. There is a permanent connection refusal form the scanner ip whenever
    i try to use a network scanner. I am not sure how to solve it. If anyone has solved this please revert back.
    Regards,
    Anthony

  • Want to scan image from scanner by oracle forms

    Hi all,
    I am using oracle developer suite 10g, oracle application server 10g and oracle database 10g. I can load image or picture in forms by webutil from a location. But now i need that i have a button on the form and when i click then it will scan image from the scanner installed on that machine. I do not khow the way. Pls help me.
    Message was edited by:
    Tarik_kuet

    I have made a bean for scanning images..
    you can scann images..
    convert scanned images to pdf
    Store images,pdf to local disk
    Store images or pdf to database using servlet and HTTPClient library ..
    (if someone need source please send me a mail to: [email protected])
    look here: Need to read image from scanner
    Edited by: user651799 on Nov 26, 2008 7:46 AM

  • Import Image from scanner to database Direct ..

    can any Colleagues help me ..
    how can i Import Image From Scanner directly
    if anyone can descuss code and how can i do that
    thank for all Colleagues .......

    You cannot.. unless you are prepared to get your hands dirty writing code to integrate a scanner API into Oracle.
    Oracle has a feature called extproc. This allows you to define external "procedures" - these procedures are for example shared object libraries (Linux/Unix) or dynamic link libraries (Windows). A scanner API will be typically implemented by its driver as a shared object/DLL. Which means it is callable from within PL/SQL.
    It may however not be usable - extproc does not support callbacks, does not own a window or process handle, and so on.
    In which case you may need to wrap the DLL into a custom DLL that implements callbacks. perhaps create a hidden window if a window handle is needed, and so on.
    In other words, this is not a trivial thing. You need to know more than just a bit about o/s side (systems) programming.
    You should also ask yourself why you want to do this. Architecturally wiring a scanner into Oracle via PL/SQL and an extproc interface make absolutely no sense at all.
    Especially since operator input/control is required to physically manage device... That is on the very opposite side of the Oracle server spectrum. That is clearly a client function to interact with such a device and not a server function.

  • Read image from excelsheet using labview

    i need to know how to read image from excel sheet using Labview...m not able to get the appropriate property to display the image stored in excel sheet.
    thank you

    you need to ask Microsoft to find out the property name/location under Microsoft Excel. 

  • Elements freezing on acquire image from scanner

    When using a Neat NM-1000 scanner and I acqire image from scanner the program loads the Neat software to scan the image and runs the photo through the scanner and then freezes the software and will not allow me to continue. Is there and update I need or some settings I should make somewhere in the software?

    Thanks for your response.
    Can you please try scanning once outside of Oragnizer and import the scanned image manually in EO?
    Thanks
    Andaleeb

  • Read image from R3

    Hi everyone,
    How can I read images from R3?
    Regards
    Eduardo Campos

    you need to ask Microsoft to find out the property name/location under Microsoft Excel. 

  • I am facing a Problem with reading images from database

    Hi everybody..
    any help will be most appreciated, I am facing problem with reading images from database. I am pasting my code... 
                    string connect = "datasource = localhost; port = 3306; username = root; password = ;"; 
                    MySqlConnection conn = new MySqlConnection(connect); // creating connecting string
                    MySqlCommand sda = new MySqlCommand(@"select * from management.add_products ", conn); //creating query
                    MySqlDataReader reader; 
                    try
                        conn.Open(); // Opening Connection
                        reader = sda.ExecuteReader(); // Executing my Query..
                        while (reader.Read())
                            byte[] imgg = (byte[])(reader["Picture"]);
                            if (imgg == null)
                                pc1.Image = null;
                            else
                                MemoryStream mstream = new MemoryStream(imgg);
                                pc1.Image = System.Drawing.Image.FromStream(mstream);
    It says Parameter not Valid... i am reading all the images from database

    I agree with Viorel. You are getting the error because the format of the data is incorrect probably because the data was modify. It may not be the reading of the database the is incorrect, but the application that wrote the data into the database. You need
    to compare the imgg array data with the data before it was written to the database to see if the data matches.  I usually start by comparing the number of bytes which is easier to check then compare the actual to isolate which function is changing the
    byte count.
    An image is binary data.  The standard VS methods for reading and writing data (usually stream classes) default to ASCII encoding which will corrupt binary data.  The solution usually is to use UTF8 encoding instead of the default ascii encoding. 
    Ascii encoding with stream often aligns the data and adds extra null bytes to the end of the data which can produce these type errors.
    jdweng

  • Need to read data from a text file

    I need to read data from a text file and create my own hash table out of it. I'm not allowed to use the built in Java class, so how would I go implementing my own reading method and hash table class?

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • What plug-in do I need to import file from scanner to make a batch job

    what plug-in do I need to import file from scanner to make a batch job

    Hi Atul,
    I`m having PS Elements Ver.13 and scanner Epson V500 Photo.
    Nice if your can help me.
    Sten

  • Need to read data from pipe separated file using POJO?

    Hi,
    I need to read data from pipe separated file using POJO.
    There is config.properties file which consists of the
    data mapping.
    Can you help me with sample code or help?
    Regards
    Regards
    Taton
    Edited by: Taton on Mar 7, 2009 4:41 PM

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Reading Images from JAR Files

    Hi,
    I am having a very difficult time being able to read images from a JAR file via my Applet. I have tried everything that I know about with no luck. The only way I can get this to work is to store the images individually in a sub directory of public_html on the websever. This works, but I would like the images to come down in a JAR file for performance reasons.
    I am using Internet Explorer 5.5 for my browser. I checked the options and everything seems to be in order, but......
    I would appreciate any feedback that anyone might have on this topic..........
    Thank You....

    once in a jar file i inserted a image
    the jar file on clicking starts an frame.
    so the image was for getting that image at the icon place at top and at minimized window
    i could not get that image from jar file by new imageicon().getimage();
    but i get the image if it is in the directory in which jar file is.....
    can one explain the reason

  • I need to read data from MQ? any example of OFSML   ?

    I need to read data from MQ so what I should know about this MQ properties ?? such ip,name,....
    I'm new in MQ programming
    and it can be over internet or local network only ?
    I will used the OFSML
    any one know any thing about OFSML or any example ?? Open Financial Services XML interface
    (http://dts.temenos.com/ofsml/)

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Reading Images from DB2 content Manager

    Has anybody have read images from IBM db2 content manager using oracel forms.
    any links will be helpfu;
    or any links to how to make windows API calls in forms 5.0.

    OK, I found Greg's reply and that fixed it, once I played with it a bit.
    "Cory McGinnis" <[email protected]> wrote:
    >
    I am displaying an html page from a <cm:select> but the images do not
    display.
    I have set up the dmsbase directory as per the samplePortal, and loaded
    the content.
    The HTML displays, but with errors for the images.
    Here's the select from the portlet:
    <cm:select contentHome="<%=ContentHelper.DEF_CONTENT_MANAGER_HOME%>"
    query="type='page'"
    id="textDocs"/>
    <es:forEachInArray array="<%=textDocs%>" id="aTextDoc" type="com.bea.p13n.content.Content">
    <p><cm:printDoc id="aTextDoc" failOnError="true" /></p>
    </es:forEachInArray>

Maybe you are looking for

  • Geforce4 ti4400 slow

    I just got a msi geforce4 ti4400, installed it and even downloaded the latest drivers. System is WindowsXP Pro. MSI 850 pro with 512 rdram 1.6 ghz processor intel I had a geforce2 gts and it gave me benchmarks much higher then my geforce4. I benchmar

  • How can I get my 5524 to print 7x5 instead of 6x4 on 7x5 photo paper?

    How can I get my photosmart 5524 to print proper size on 7x5 photo paper.  It always comes out 6x4?

  • File Import Error - Adobe Media Encoder, help!

    I'm at a complete loss. AME worked very well for me for a long time and booting it up yesterday gave me a paralyzing error. Upon trying to import an MOV, MP4, and later a WMV, I received the following error: File Import Error The file C:\Users\tj\Des

  • Schedule report and download generated PDF issue

    Hi, I am trying to run a rpt file, which is stored on CR server, on the CR server 2008, the generated pdf to be stored in inbox, and the pdf will be retrieved using IPDF class and inputstream. Ideally, whole process is running within one session usin

  • Problem when transform a smartform to pdf

    Hi all:    When I run the program to dispaly pdf transformed from smartform,  the IE explorer is busy dead, have you ever met the same problem? thank you very much