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

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

  • 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!

  • 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. 

  • 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

  • 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

  • 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>

  • Read images from external jar file (Sun's Java L&F Graphics repository)

    Hi!
    I don't know how to read images from an external jar file. Sun has a Java Look and Feel graphics repository that contains a lot of good images that can be used on buttons and so on. This repository is delivered as a jar file, containing only images, and I want to read the image files from that jar file directly without including them inside my application jar file. The application and image jar files will be in the same directory.
    I have absolutely no clue how to solve this. Is it necessary to include the images inside my application jar file or is it possible to have them separate as I want.
    Would really appreciate some help!
    Best regards
    Lars

    Hi,
    There is two ways :
    1) Add your jarfile to the classpath.
    Use the class loader :
    URL url = ClassLoader.getSystemResource("your/package/image.gif");
    Image im = (new ImageIcon(url)).getImage();
    or
    Image im = Toolkit.getDefaultToolkit().getImage(url);2)If you don't want to add the jar to the classpath you can use this (under jdk 1.4):
    import java.util.*;
    import java.util.jar.*;
    import java.awt.*;
    import java.io.*;
    import java.awt.image.*;
    import javax.imageio.*;
    public class ImageUtilities {
         public static Image getImage(String jarFileName, String fileName) {
              BufferedImage image = null;
              try {
                   JarFile jar = new JarFile(new File(jarFileName), false, JarFile.OPEN_READ);
                   JarEntry entry = jar.getJarEntry(fileName);
                   BufferedInputStream stream = new BufferedInputStream(jar.getInputStream(entry));
                   image = ImageIO.read(stream) ;
              catch (Exception ex) {
                   System.out.println(ex);
              return(image);
    }I hope this helps,
    Denis

  • Importing image from scanner

    How can I import an image from my scanner (Epson Artisan 837) directly into Photoshop 5?  When I go to import, there is ONLY the message: "Video Frames to Layers"...whatever that means.  I don't know how I can now use Photoshop to open my scanner and import images  like I could with an older version of Photoshop. 

    Before anyone can help you, they will need what OS you are using and the version of the OS as the scanner driver differs for each OS and version.

  • Importing Images from Scanner

    For 15 years I have used Adobe Elements as my photo-editing software. I import images from my scanner, camera, etc. My computer hard drive crashed last week. I have a new hard drive and had to reload all my programs. Now when I'm in Adobe PE 10 and say I want to import an image from my scanner or camera, it won't see them. Might be a twain issue -- but I can find NO help on the Adobe sight. My Brother MFC can print and scan (so the problem is not with them). I can pull photos from my camera "the long way." I just can't get Adobe to see my scanner or camera. HELP! Who can I call (for free) or where can I go for live chat? I'd like to get this solved NOW!

    Hope that this helps. Let us know if this is correct.
    TWAIN not installed | Photoshop Elements 9 and later

  • PSE10- Possible to multi-crop images from scanner?

    I'm taking the task of digitizing hundreds of old photos.  Currently, using my flatbed scanner, I scan 4 pics at a time.  Then I use PSE10 Editor's tool of "Divide Scanned Photo" to split the pictures into 4 different files.  However, sometimes this tools doesn't recognize all 4 pics correctly and I have to crop manually.  This can be tedious to crop, save, open the old file again, crop, save....and do this 4 times.  Is there a way to select multiple crop images from a file and export each to a new file? 
    Any advice is appreciated on my tedious task. 

    Thanks Barbara.  I have a really old flatbed HP scanner and am using regular Windows fax & scan to capture the images.  It's my understanding that newer HP scanners come with this type of software.  Didn't really want to invest in a new scanner.  I've tried a few trials of scanning software, but found PSE10 actually does a better job than them in it's dividing scanner pics.  I'll just deal with the ones that it can't handle manually.  Maybe we'll see a feature where we can crop and export multiple parts of a file in a future release. 

Maybe you are looking for

  • Error while starting CE7.2 instance from SAPMMC

    Get an error while "Synchronizing Binaries". Installed CE7.2 trial on Windows7 Laptop with 3GB RAM. Swap space is 6GB. MAXDB is running fine now.Volume and Log files are not full.. dev_start trace below: Has this pbm been sorted out before? trc file:

  • USB external hard drive and thumb drive don't work any more...

    I have a dual 2GHz PowerPC G5...and i've been using my USB external hard drive and thumb drives for a year with no problems....but now when i plug them in, my mac does not see them...the lights on the external hard drive and thumb drives come on as n

  • Non supported character set: oracle-character-set-178

    Hi All. I have a WebService deployed in JBoss server in the HP Unix environment. When it accesses my Oracle Database (the database is in another Windows system), I get this error. My DB NLS details : NLS_CHARACTERSET : WE8MSWIN1252 NLS_NCHAR_CHARACTE

  • Error opening editor for file

    When I'm opening files via a SFTP connection the file opens; however, I get a somewhat annoying "Error opening editor for file c:\users\[user]\AppData\Local\Temp\[connection]\[folder]\(SFTP)[file]" I can't figure out why! Any ideas?

  • Word format

    hi when i save as word 2007 file as pdf contain images and text that has some formating but when i open in illustrator this open in same as in word ok, but when i click on text text breaks in words is there any script or any way to combine text