Anybody had successfully configured webusb to scan a document ? I am able to connect to the usb scanner but wasn\'t able to find any documentation on commands to scan docume
I'm hoping this will be helpful, though it's not a direct answer to the question.
After spending a lot of time trying to get WebUSB to work try researching other options, I found a solution that works well for my web app. Simply use scanimage
to scan to the server. The client sends and AJAX request, the server builds a command string to run with shell_exec
in PHP, then use file_get_contents
or whatever with the scanned image. In my situation, there's no reason for the scanner to talk to the client, since the image is going to end up in a database on the server anyway.
See also: Browser based document scanning