image-scanner

How Can I Trigger a Scanner from a Browser?

淺唱寂寞╮ 提交于 2019-12-03 12:06:44
问题 I have Fujitsu fi-6130 TWAIN / ISIS scanners that I'd like to trigger from a button in a jQuery Rails web page. Not only would I like to have the page tell the scanner to "go", I'd also like to upload the resulting file via Paperclip once the (single) page is scanned - ideally without requiring the user to navigate a file explorer widget to find the file manually. Each scanner is usb attached to a Windows XP desktop, though we may replace these call center desktops with Google Chrome OS. This

Set page size using WIA (with scanner)

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 06:56:32
I'm using WIA to acquire images from a scanner with C#. I can scan the papers, but I can't set up the page size correctly, it always defaults to A4 and I need to use Letter or Legal sometimes. I tried with the WIA_DPS_PAGE_SIZE property, but when I try to set a value, I always get an error, that the value is out of the interval (tried a lot of possible values). I wan't to be able to use WIA_DPS_PAGE_SIZE = WIA_PAGE_AUTO (for automatic page size), but I can't find anything on the web related to this. Does anyone know a solution? thanks! Piotr Justyna I know this is probably too late to actually

Are there Virtual Twain Scanners? Sort like Daemon Tools virtual CD [closed]

落爺英雄遲暮 提交于 2019-12-03 05:39:47
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I am testing a scanning application and currently I dont have any scanner to plug it in. Is there anyway to have a virtual scanner like Daemon Tools does with Virtual CD Drives? There's a Sourceforge project with a sample TWAIN implementation, including a virtual scanner. I haven't found anything similar for WIA. Yes, there is a pretty simple to use application called UniTwain. I am using it and it works really nice for

How Can I Trigger a Scanner from a Browser?

社会主义新天地 提交于 2019-12-03 01:41:56
I have Fujitsu fi-6130 TWAIN / ISIS scanners that I'd like to trigger from a button in a jQuery Rails web page. Not only would I like to have the page tell the scanner to "go", I'd also like to upload the resulting file via Paperclip once the (single) page is scanned - ideally without requiring the user to navigate a file explorer widget to find the file manually. Each scanner is usb attached to a Windows XP desktop, though we may replace these call center desktops with Google Chrome OS. This question was asked almost a year ago, but mainly received suggestions requiring the use of commercial

C# WIA Image Scanning fails with HRESULT: 0x80070050

☆樱花仙子☆ 提交于 2019-12-02 01:05:36
I'm hoping someone has come across this - I'm trying to capture images from a document scanner using WIA, however on random machines when attempting to transfer the image result - WIA reports "The file exists. - HRESULT: 0x80070050)". On All machines with this issue, initial use of the software was successful. I am able to connect successfully to the scanner, query for Name, Manufacturer,etc. I've determined that i can successfully scan an image, if i run the code under an alternative user account (Using right-click run as administrator). However, running the code under the same user account

TWAIN/WIA implementation for JAVA [closed]

眉间皱痕 提交于 2019-11-30 19:54:16
I am working on an application(Java Applet) that interacts with scanner. I understand I need a Twain library or WIA library to make it work in windows. But I am not sure what are the differences of two? I am trying to use this library: http://thorntonzone.com/manuals/Compression/Fax,%20IBM%20MMR/MMSC/mmsc/uk/co/mmscomputing/device/twain/index.html JAR file link is broken so I got it from here. http://rsbweb.nih.gov/ij/plugins/twain-scan.html And DLLs from here: http://sourceforge.net/projects/twain-dsm/?source=dlp But, it does not detect the source. Here is the error log: http://pastebin.com

Getting Java and TWAIN to play together nicely [closed]

Deadly 提交于 2019-11-30 05:17:18
I'm working on building an app to scan directly from TWAIN scanner to a Java applet. I'm already aware of Morena and JTwain , but they cost money. I need free. I could re-invent the wheel with JNI, but it seems like someone has probably already done this as a FOSS tool. Is anyone familiar with a free tool that can get a Java applet to read directly from a TWAIN scanner? Spike0xff Calling the TWAIN API from anything except C/C++ is going to be a major pain, it relies entirely on complicated C structures that you have to replicate exactly in memory. If you need only fairly basic scanning, you

TWAIN/WIA implementation for JAVA [closed]

血红的双手。 提交于 2019-11-30 05:03:06
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I am working on an application(Java Applet) that interacts with scanner. I understand I need a Twain library or WIA library to make it work in windows. But I am not sure what are the differences of two? I am trying to use this library: http://thorntonzone.com/manuals/Compression/Fax,%20IBM%20MMR/MMSC/mmsc/uk/co

Interfacing with the end-user's scanner from a webapp (web/scanner integration)

筅森魡賤 提交于 2019-11-30 03:05:35
Consider the following scanning procedure in a typical document handling webapp: The user scans a document using a scanner connected to his/her computer The scanned image is saved locally on the user's computer as a BMP/JPG/TIF/PNG file The user hits a file upload "Browse.." button in the web application The user is presented with a file dialog which he/she uses to locate the scanned image The user hits "Upload image" and the scanned image is uploaded to the server where it is stored This process is quite complicated and I'd like to reduce the number of steps in order to make the process more

Using a scanner without dialogs in C#

房东的猫 提交于 2019-11-29 01:10:36
问题 I'm building a .Net 4.0 application for remote control of a scanner device. I have tried both TWAIN and WIA libraries, but I have the same problem. Scanning images without scanner selection and scanning settings dialogs . I found a useful article on WIA scripting in .Net, and modified it to this: private Image Scan(string deviceName) { WiaClass wiaManager = null; // WIA manager COM object CollectionClass wiaDevs = null; // WIA devices collection COM object ItemClass wiaRoot = null; // WIA