![]() ![]() In most cases the scanner needs some driver support and that's usually easily confirmed via MsPaint scanning (or if it is installed Fax scanning). The generic method to talk to a scanner is via Windows Image Acquisition. I cannot answer for Linux only for Windows. So, is there any way to just tell Windows to send the "scan" command and save the output to a specific file that I can access? Maybe just using like a command through os.system()? (Basically, if windows can do it, can't I just use windows tools?)Ī way to do this through linux would be helpful, too, but Windows 10 is the primary concern. I don't really need much control over the scanner, just "scan the image and save the file here _". The confusing part for me, is that I can still get the scanner to scan just fine by using Windows Fax and Scan, so I feel like there must be a way to get the scanner to receive a scan command from programs. ![]() I have a printer/scanner combo, but I can't find a TWAIN driver for it since it is not an 'enterprise' printer, but even then I don't know that this specific printer is what users would have, so I am looking for a more general solution. Most of the solutions I have found say that you need to use pyTwain, pySane, Libinsane, python-imagescanner, or the likes, which all seem to revolve around using TWAIN for Windows or SANE for Linux. I have looked around at all the options I could find, including this answer : I want to connect my program to image scanner I have been trying to find a way to connect to the scanner to request a scan, but with no real progress. I am building an application with python that needs to be able to connect to a scanner and process the data from the resulting pdf/jpeg/whatever. ![]()
0 Comments
Leave a Reply. |