Menu
  • HOME
  • TAGS

Listener not working correctly within Swing application

java,swing,scanning

Try making the Swing class itself listening to the ScannerListener event. In other words move the code into the Swing UI part and see if it works.

Twain Driver - TWAINDSM.DLL Error in Windows OS x64

c#,winforms,scanning,twain,twaindotnet

We have found out another way instead of looking for TwainDSM dll for x64 which we couldn't actually within my company. I had posted a subject to twainforum about it, after some time an answer has been returned to me - the link is below: TwainForum Link That I posted...

zxing run time exception into android application

java,android,zxing,barcode-scanner,scanning

As from log I found that the code you are facing error only on DecodeHandler.handleMessage(DecodeHandler.java:57) & IF you are using zxing basic android code there are switch statements. switch (message.what) { case R.id.decode: decode((byte[]) message.obj, message.arg1, message.arg2); break; case R.id.quit: running = false; Looper.myLooper().quit(); break; } I am facing same...

Scan from Automatic Document Feeder (ADF) with recent printers

c#,printers,adf,scanning,wia

For those who wants to know what appens, I just asked my client if he would agree to change the printer. He did agree. When I called the Epson Support they told me that this printer was not the best printer to do things like that. With a better printer...

Read “bitmap” pixels in c++

c++,bitmap,pixel,scanning

in order to read bitmap u can use this and save .bmp bits as char to a vector(for example)... #include<vector> using namespace std; int main() { char bit; vector<char> name; while(cin.get(bit)) { name.push_back(bit); } return 0; } ...

How to set DPI information in a grayscale image?

java,image,dpi,twain,scanning

thanks one more time in advance. I found an answer and one way to do this !!! In the following link: How to change the DPI from 96 to 300 of an image in java after resizing? the "user3603284"posted an solution that helped me doing this. I changed from png...

Scan aPDF file using online scanner [closed]

python,scanning

You can automate the process by using python tools like selenium, mechanize or urllib(I'm not sure about urllib). Fill the form using mechanize (a simple example of filling a form and submitting) response = br.open(url) print response.read() response1 = br.response() print response1.read() br.select_form("form1") br.form = list(br.forms())[0] response = br.submit() print...

Java - An extra character in my code?

java,char,console-application,newline,scanning

You're running on a Windows system. The code doesn't handle a newline in the form of \r\n, just \n. I was able to produce output that makes sense with this change. Add this case to the switch: case '\r': return String.format("%6d %-6d " + " winNewline", lineIndex, columnIndex); Resulting output:...

VB.NET MD5 Comparing using large files

vb.net,hash,md5,scanning

I would first create functions to split the functionality. It's a lot easier to understand the code afterward. Store the hashes in a list, this list can then be cached is needed. Try TextBox2.Text = e.FullPath ListBox3.Items.Add(TextBox2.Text.ToString) Me.OpenFileDialog1.FileName = "" Dim allHash As List(Of String) = GetAllHash() Dim curHash As...

Is it possible for a closed form's events to fire?

c#,forms,barcode,barcode-scanner,scanning

…how could any of these methods call StartRead() after the form has been closed? That depends. Is the barcode reader object still around? I.e. is it referenced by anything? Closing a form does one of two things, depending on if it's modal or not: hides the window (for modal...

Connect scanner to server [closed]

javascript,php,html,amazon-web-services,scanning

A scanner (the hardware) is connected to the computer of the client. The OS uses a driver to work with the scanner. For most scanners this would be a TWAIN driver: http://www.twain.org Software on the computer can connect to the API of this TWAIN driver and collect data from the...

How to scan in PHP

php,linux,scanning

PHP cannot access the USB scanner because www-data (the user who is running the PHP script) is not a member of the group that the USB scanner belongs to. Add the user, www-data, to the group the USB scanner belongs to. To find the group the USB scanner belongs to,...

OpenCV - Scan an image with a rectangle

python,opencv,scanning

Currently your rectangle has no fixed size. Shouldn't it be: pt1 = (i, j) pt2 = (pt1.x+20, pt1.y+20) And additionally you might want to check that the rectangle does not overlap your image....