How can i use twain from java servlet?

dear all
iam a web developer ,iam haviving now a task to search in point pf scanning image through web (Intranet) using java
can any one tell where can i find resources how to deal with Twain using java (On web specially not from a desktop application)
i hope u can help me
Thanks in advance
Yours,
Amr
Senior Java Web developer

Hi,
You can try a package named: JTwain, which is available at http://asprise.com/product/jtwain.
JTwain supports all kinds of digital cameras and scanners. You can use Java to access, contorl digital cameras and scanners, and of course, to acquire images with flexible settings.
The developers' guide is available @ http://asprise.com/product/jtwain/devGuide.php
In the simplest case, one line of Java code can solve your problem.
Good luck!

Similar Messages

  • I want to hook up a mac mini and us my tv as a monitor. how can I use airplay from my phone on the mac mini like i can with an apple tv (without having to buy an apple tv!). the airplay capabilities i want to use are mirroring and streaming from my iphone

    i want to hook up a mac mini and us my tv as a monitor. how can I use airplay from my phone on the mac mini like i can with an apple tv (without having to buy an apple tv!). the airplay capabilities i want to use are mirroring and streaming from my iphone!

    Download AirPlayer for Mac - Transforms your Mac into an AirPlay-compatible display. MacUpdate.com

  • How can I use music from two different iTunes accounts?

    how can I use music from two different iTunes accounts?

    If you mean iTunes Store accounts, there's really nothing for you to do. Just add the tracks to the iTunes library and play them. Music purchased prior to late-2009 will been to be authorized, though. Pull down Store > Authorize... and type the credentials of the Apple ID used to buy the tracks.
    If you mean something else, please describe in more detail.

  • ... how can i use 'enter' in java (text) -.-

    Hi all,
    first the simple version;
    How can i use 'enter' in java. Like turn HELLO into
    H
    E
    L
    L
    O
    The not so simpler version IF needed;
    I have the following piece of code;'
    if (line.startsWith("Monday")) {
         String subjectsMonday = " math and philosophy";
         Calendar c = Calendar.getInstance();
              System.out.format("School begins at" +" 08:10", c, c, c);
              System.out.format(" school ends at " +" 15:55", c, c, c);
         System.out.println("We have the following subjects;" + subjectsMonday);the thing is ... i want the text "we have the following subject; math and philosophy" to start at a new line.
    HOW am i supposed to do that.

    %n may work for you:
            String subjectsMonday = " math and philosophy";
            Calendar c = Calendar.getInstance();
            System.out.format("School begins at" + " 08:10%n", c, c, c);
            System.out.format(" school ends at " + " 15:55", c, c, c);
            System.out.println("We have the following subjects;" + subjectsMonday);

  • Hi how can i use imessage from my mac

    hi how can i use imessage from my mac , i tried to text message to one of my contact name but it said the number is not registered with imessage so how can i registered all my contacts to the imessage . thanks

    The person you try to contact has to register his number/his appleID with iMessage.

  • How to Call SQL Loader from Java ( servlet )?

    We need to call SQL Loader command from Java Servlets? Any suggestions how this can be done?
    Thanks
    Rahul

    Probably not the best way, but you could try using JNI to call a C function which then invokes SQL Loader via system() or exec(). I haven't done this myself though...

  • How can I use HyperLink In Java Applet..

    I am new In Java Programming And i Want to create a Hyperlink OR URL in java Applet, How can be It possible?

    well u can use a hyperlink as a url by using url from java.net.url class
    define ur url .... u can check the API fo r that
    and by using wht u mean .. u want to browse in applet with that url or wht
    if u want to do browing in applet than u will also have to do parsing of all HTML tags
    hope it will help u

  • How can i use plugins from main stage like space designer in logic express 9.1.6

    I'm using logic express 9.1.6. today I bought Mainstage 2 in the appstore. there are a lot of powerfull plugins. some of them, like e.g. space designer, are not included in logic express.
    how can I use the in logic express? they are not listed automatically with all the others...
    thanx

    Hi
    No can do.... these plugs etc are part of the code for Logic Pro and MainStage (and not for Express)
    CCT

  • How can I call EJB from JSP/Servlets in iWS?

    Hi!!
    My JSP/Servlets are on iWS, and I deploy EJB on iAS.
    In this case, I don't know how JSP/Servlet call EJb on iAS.
    I'd like to know how I can set JNDI name in JSP/Servlet on iWS.
    I will thank you if you give me a simple example source using JSP/Servlet
    and EJB.
    Thanks in advance!!!
    - Park-

    Park,
    Why Are you running your JSP/Servlets in iWS instead of iAS? For whatever
    reason,
    look at the Converter sample from iAS. You will be doing RMI/IIOP in this
    case and the sample explains in detail what to do.
    hth,
    -robert
    "SungHyun, Park" <[email protected]> wrote in message
    news:9jpfmt$[email protected]..
    Hi!!
    My JSP/Servlets are on iWS, and I deploy EJB on iAS.
    In this case, I don't know how JSP/Servlet call EJb on iAS.
    I'd like to know how I can set JNDI name in JSP/Servlet on iWS.
    I will thank you if you give me a simple example source using JSP/Servlet
    and EJB.
    Thanks in advance!!!
    - Park-

  • Adobe is asking for Java SE 6 runtime. How can I use Oracle's Java 7 instead?

    Platform: Mac OS X, version 10.9.2 (the latest available as of May 11, 2014)
    When trying to open my old Adobe Illustrator, as part of Creative Suite CS4, I get the following error message:
    To open "Adobe Illustrator CS4," you need a Java SE 6 runtime. Would you like to install one now?
    I have the latest Oracle Java 7 (Version 7 Update 55) installed and I don't want the historic Apple Java 6. How can I configure Adobe software to use the already installed Java 7?
    Best, regards
    Tom

    despite this being for a different os, read (especially the end paragraphs) Install Java (JRE) | Mac OS 10.7 Lion

  • How can I use software from mac os 8.6

    I have old mac 4400/160 with os 8.6. Can I use program files from that os on os x and how?

    Hi, Boopsy. Welcome to the Discussions.
    By "program files" I presume you mean "applications." If you mean data files, that's a different question.
    It really depends on the applications (apps).
    First, they will only run in Classic mode, if they run at all. Classic mode is a "hardware compatibility layer." Basically, this allows you to run Mac OS 9 and Mac OS X simultaneously, meaning you can use Mac OS 9 apps and Mac OS X apps simultaneously. Both Mac OS X and Mac OS 9.2.2 must be installed on the computer in question.
    Some Mac OS 8.x apps have been known to run in Classic, but it's really suited to Mac OS 9 apps.
    Second, any apps that require direct access to the hardware — a common issue with games developed in Mac OS 9 and earlier — won't run in Classic mode.
    Finally, if you buy a new Intel-based Mac, Classic is not even an option: Classic mode is not available on Intel-based Macs, signaling the true death of Mac OS 9. So, if you're planning on getting a new, Intel-based Mac, none of the OS 8.6 apps you have can be used on such. You would need a Mac that employs PowerPC architecture, which are the last Macs that can run Classic.
    If you had a PowerPC-based Mac with Mac OS X and Mac OS 9.2.2 installed, you could then try installing your old apps using the original installation disks using the instructions in "Mac OS X 10.4 Help: Installing applications made for Mac OS 9." You'd probably also need an external USB floppy drive, assuming the apps are distributed on the usual 3.5" floppy disks.
    However, given the items noted above, there's no guarantee they would either install or work.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • How can I print things from java alllication ?

    I have made an java application using Swing with JDBC
    now I want to take print from java application directly
    any help is apprecicable
    thanks in advance

    Jean-Pierre Dube has written a series of articles about printing in Java for the online magazine JavaWorld.
    You can find the first article at http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-print_p.html.
    Ronald.

  • How can I use JAXB on Java 1.4?

    My code is developed on 1.4 and my firm has not upgraded to 1.5 yet.
    Can I use JAXB?
    All I see on web is JAXB2.0 hat requires Java 1.5.
    What can I do? Is there any pre-2.0 release of JAXB - I am sure they had JAXB before Java 1.5
    Please shed some light, thanks.

    https://jaxb.dev.java.net/servlets/ReadMsg?list=users&msgNo=4868
    Turadg Aleahmad:
    Could JAXB2 work in JSE 1.4 if it was run through Retrotranslator?
    http://retrotranslator.sourceforge.net/
    Kohsuke Kawaguchi:
    It isn't officially supported, but it actually works. Yes, use retrotranslator.
    You'd also have to use @xexplicitAnnotation="true" (for Ant) and use
    -XexplicitAnnotation for CLI to work around some of the issues.

  • How can I use images from Jar files

    Hi,
    I would like to use the images provided by ADF if any on my UI like pencil Icon for Edit, pushpin for freeze and so on.
    How can I refer them in Image source. Custom images I have stored in my pubilc_html directory and using them.
    Do I need to unzip that to my project public_html directory ?
    Thanks,
    Satya

    Hi Satya,
    you can reference those images via the ADF resources servlet once you know the correct URL to an image.
    For example, in 10g the pencil icon is called lovi.gif, so its full URL will be
    http://host:port/context-root/adf/images/oracle/lovi.gifand you can use it in an af:objectImage like
    <af:objectImage source="/adf/images/oracle/lovi.gif" />Hope this helps,
    Patrik

  • How can I using tpcall from one service to another service in the same server

    When I using tpforward between two services in one server, it's working ok. However,
    when I using tpcall from one service to another service, it's failed?
    anybody can tell me why?
    thanks
    george

    "george" <[email protected]> wrote:
    >
    When I using tpforward between two services in one server, it's working
    ok. However,
    when I using tpcall from one service to another service, it's failed?
    anybody can tell me why?Basically, tpcall:ing another service in the same server is a no-no, unless you
    a) are running a multi-threaded server (requires TUXEDO 7 or newer + compilation
    options) or
    b) use tpacall() instead of tpcall() and specify the flag TPNOREPLY. This is probably
    not what you want to accomplish, though.
    The reason is that TUXEDO servers by default (and always in versions before 7)
    are single-threaded. If service A and B both reside in server X, server X will
    be busy taking care of the call to A. If A makes a call to B, the call will be
    put on the queue to X, but X will not look at the queue until it is done with
    A, which won't happen until B returns... deadlock!
    You can play tricks with starting multiple instances of X, but in the end you
    will always face a risk (something lika a race-condition) for a dead-lock.
    Solution: Move service B to another server (usually quite easy) OR switch to multi-threading,
    if that's possible. Just make sure all code your service calls is MT-safe as well...
    thanks
    georgeHope this helps you,
    /Per

Maybe you are looking for