<div dir="ltr"><div>Then it sounds like your doc store should contain the images, just with the old filename, or missing the pdf tag? Can you search for them there?<br><br></div>allan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 15, 2015 at 10:46 AM, Greg Kontos <span dir="ltr"><<a href="mailto:gkontos@myinnovativelab.com" target="_blank">gkontos@myinnovativelab.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div link="blue" vlink="purple" lang="EN-US">
<p></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Allan,
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">As far as I can tell, ABBYY passes the files through without successfully parsing them.  All the files that go through ABBYY end up in a processed folder.  The
 trouble is that ABBYY looks at the files for a barcode and doesn’t always find the barcode.  After processing, ABBYY renames (or adds some pdf metatag to) the files based on the barcode and passes it to a document management application.  It’s the point between
 ABBYY and our document management where we lose track, but it’s ABBYY that’s not finding the barcodes.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks,
<br>
Greg<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> m. allan noah [mailto:<a href="mailto:kitno455@gmail.com" target="_blank">kitno455@gmail.com</a>]
<br>
<b>Sent:</b> Friday, May 15, 2015 10:22 AM<br>
<b>To:</b> Greg Kontos<br>
<b>Cc:</b> <a href="mailto:sane-devel@lists.alioth.debian.org" target="_blank">sane-devel@lists.alioth.debian.org</a><br>
<b>Subject:</b> Re: [sane-devel] How can I get a count of pages scanned by scanimage using batch mode?<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Greg- Does ABBYY just eat the images it cannot process, or does it silently pass them thru without parsing them? It really seems like they should be able to tell you...<u></u><u></u></p>
</div>
<p class="MsoNormal">allan<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"></p>
</div>
</div>
</span></div>
<br><div><div class="h5">
<br>
Greg Kontos<br>
LIMS Integration Specialist<br>
<br>
Innovative Diagnostic Laboratory<br>
8751 Park Central Drive, Suite 200<br>
Richmond, VA 23227<br>
Phone: <a href="tel:%28804%29%20261-3340%20ext.1846" value="+18042613340" target="_blank">(804) 261-3340 ext.1846</a><br>
Cell Phone: <br>
Fax: <a href="tel:%28804%29%20515-7291" value="+18045157291" target="_blank">(804) 515-7291</a><br>
<a href="mailto:gkontos@myinnovativelab.com" title="Click to send email to Greg Kontos" target="_blank">gkontos@myinnovativelab.com</a><br>
<br>
Visit our website: <a href="http://www.myinnovativelab.com" title="" target="_blank">
www.myinnovativelab.com</a><br>
<br>
<a><img style="border:0px Solid" src="cid:image1f1204.PNG@26bc4f3e.4eab0063" height="59" width="170"></a><br>
<br>
CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files or previous e-mail messages attached to it contain confidential and/or privileged information meant for the listed recipient(s) only. You may not distribute or share this correspondence
 without written authorization from the above author.<br>
<br>
If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is
 STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify me by reply e-mail and destroy the original transmission and its attachments without saving them in any manner.<br>
<br>
</div></div><div>
<div>
<div><div><div class="h5">
<p class="MsoNormal">On Fri, May 15, 2015 at 9:34 AM, Greg Kontos <<a href="mailto:gkontos@myinnovativelab.com" target="_blank">gkontos@myinnovativelab.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div><div><div class="h5">
<div>
<p class="MsoNormal">Hello,
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">First off, thank you.  The sane project has been easy to use and install with boat loads of documentation and examples online.  The sane driver for our scanner lets us use these
 scanners more effectively than the available windows drivers.  <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I’d like to push a little further and count pages that do not get the number of pages scanned with the number of pages processed by our image processing software (ABBYY).  Unfortunately,
 we haven’t been able to find a hook in the image processing software that allows us to count un-processable images.  So, I’m hoping to leverage scanimage and scanb to count of the number of pages scanned and compare it to the number of pages successfully processed
 in order to ensure documents aren’t missed.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">A little about our setup.  We are using fujitsu fi-7160 scanners with the 1.0.25 sane backend.  I’m currently using scanbd to trigger the scanimage task.  The scanimage task is
 using the batch mode to use the adf functionality of the scanner.  The files created by scanimage are sent directly to ABBYY for processing. 
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Scanbd runs a script to trigger the scanimage task.  What I would like to do is to add something to this script which captures the number of pages scanned.  I would then add this
 number to a file and create a counter.  I’ve looked through the options available in scanimage –d –A as well as scanimage –d –help and I do not see anything that would accomplish this directly.  The scanner’s display lists the number of pages scanned, but
 I suppose the driver doesn’t access this information.  It looks I have two options available 1. parse the log files, or 2. drop the files into a triage folder where they can be counted before moving to processing.   I’d like to implement something that’s more
 stable than reading log files, and doesn’t involve the processing overhead of moving files multiple times. 
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thank you for any advice,<u></u><u></u></p>
<p class="MsoNormal">G Kontos<u></u><u></u></p>
</div>
</div></div><p class="MsoNormal" style="margin-bottom:12.0pt"></p><div><div class="h5"><br>
<br>
Greg Kontos<br>
LIMS Integration Specialist<br>
<br>
Innovative Diagnostic Laboratory<br>
8751 Park Central Drive, Suite 200<br>
Richmond, VA 23227<br>
Phone: <a href="tel:%28804%29%20261-3340%20ext.1846" target="_blank">(804) 261-3340 ext.1846</a><br>
Cell Phone: <br>
Fax: <a href="tel:%28804%29%20515-7291" target="_blank">(804) 515-7291</a><br>
<a href="mailto:gkontos@myinnovativelab.com" title="Click to send email to Greg Kontos" target="_blank">gkontos@myinnovativelab.com</a><br>
<br>
Visit our website: <a href="http://www.myinnovativelab.com" title="" target="_blank">
www.myinnovativelab.com</a><br>
<br>
</div></div><img src="cid:image001.png@01D08EFC.68B30590" alt="cid:image001.png@01D08EFC.107D8A30" height="74" border="0" width="212"><span class=""><br>
<br>
CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files or previous e-mail messages attached to it contain confidential and/or privileged information meant for the listed recipient(s) only. You may not distribute or share this correspondence
 without written authorization from the above author.<br>
<br>
If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is
 STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify me by reply e-mail and destroy the original transmission and its attachments without saving them in any manner.<br>
<br>
<br>
<u></u><u></u></span><p></p>
</div><span class="">
<p class="MsoNormal"><br>
--<br>
sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org" target="_blank">sane-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
             to <a href="mailto:sane-devel-request@lists.alioth.debian.org" target="_blank">sane-devel-request@lists.alioth.debian.org</a><u></u><u></u></p>
</span></blockquote>
</div><span class="">
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<p class="MsoNormal">"well, I stand up next to a mountain- and I chop it down with the edge of my hand"<u></u><u></u></p>
</div>
</span></div>
</div>
<br>
<br>
<p></p>
</div>

</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">"well, I stand up next to a mountain- and I chop it down with the edge of my hand"</div>
</div>