From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.48.210 with SMTP id w201mr13837025iow.25.1474230357223; Sun, 18 Sep 2016 13:25:57 -0700 (PDT) X-Received: by 10.157.59.194 with SMTP id k60mr1029139otc.10.1474230357200; Sun, 18 Sep 2016 13:25:57 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!x192no1875363itb.0!news-out.google.com!b4ni4922iti.0!nntp.google.com!x192no1875355itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 18 Sep 2016 13:25:57 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.218.37.33; posting-account=W2gdXQoAAADxIuhBWhPFjUps3wUp4RhQ NNTP-Posting-Host: 76.218.37.33 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <197b234f-c0e8-4b30-931e-0f97e8718168@googlegroups.com> Subject: Scanner library Ada binding? From: Stephen Leake Injection-Date: Sun, 18 Sep 2016 20:25:57 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:31810 Date: 2016-09-18T13:25:57-07:00 List-Id: I'm scanning all the liner notes from my CDs (several hundred). I've been using some old Epson software, but it's tedious. There are only 3 sizes of paper I need to scan, but the software doesn't provide for saving the sizes, so I have to "preview" and "drag the rect" for each change in size. So I'd like to write some code to do that. I found a Python TWAIN module, but the binary distribution is not compatible with any binary Python I could find, and compiling it from source requires MSVC (which I don't have). So I'm looking for an Ada solution. A web search for "Ada TWAIN" didn't find anything relevant. Does anyone have an Ada binding to the Windows TWAIN interface? I'm on 64 bit Windows 8.1, GNAT GPL 2016 (32 bit). Or I could try Linux; I've got VMWare installed (haven't tried to see if that can see the scanner). -- Stephe