That sounds fantastic, Allan.  Thank you.  I’d be interested in learning more 
about this solution.

Currently two different vendors are trying to figure out what happens to those 
files when they don’t make it to the doc storage.

From: m. allan noah [mailto:[email protected]]
Sent: Monday, May 18, 2015 2:15 PM
To: Greg Kontos
Cc: [email protected]
Subject: Re: [sane-devel] How can I get a count of pages scanned by scanimage 
using batch mode?

Greg- I need to do some research to be sure, but I think we can get the page 
count out of the scanner. That would probably require you to call scanimage an 
extra time after each batch, and perhaps add a new option to reset the page 
counter with the start of each batch, if the scanner does not do that 
automatically.
allan



Greg Kontos
LIMS Integration Specialist

Innovative Diagnostic Laboratory
8751 Park Central Drive, Suite 200
Richmond, VA 23227
Phone: (804) 261-3340 ext.1846
Cell Phone:
Fax: (804) 515-7291
[email protected]<mailto:[email protected]>

Visit our website: www.myinnovativelab.com<http://www.myinnovativelab.com>

[cid:[email protected]]<http://>

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.

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.

On Fri, May 15, 2015 at 11:35 AM, m. allan noah 
<[email protected]<mailto:[email protected]>> wrote:
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?
allan

On Fri, May 15, 2015 at 10:46 AM, Greg Kontos 
<[email protected]<mailto:[email protected]>> wrote:
Hi Allan,

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.

Thanks,
Greg

From: m. allan noah [mailto:[email protected]<mailto:[email protected]>]
Sent: Friday, May 15, 2015 10:22 AM
To: Greg Kontos
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [sane-devel] How can I get a count of pages scanned by scanimage 
using batch mode?

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...
allan



Greg Kontos
LIMS Integration Specialist

Innovative Diagnostic Laboratory
8751 Park Central Drive, Suite 200
Richmond, VA 23227
Phone: (804) 261-3340 ext.1846<tel:%28804%29%20261-3340%20ext.1846>
Cell Phone:
Fax: (804) 515-7291<tel:%28804%29%20515-7291>
[email protected]<mailto:[email protected]>

Visit our website: www.myinnovativelab.com<http://www.myinnovativelab.com>

[cid:[email protected]]

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.

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.
On Fri, May 15, 2015 at 9:34 AM, Greg Kontos 
<[email protected]<mailto:[email protected]>> wrote:
Hello,

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.

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.

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.

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.

Thank you for any advice,
G Kontos


Greg Kontos
LIMS Integration Specialist

Innovative Diagnostic Laboratory
8751 Park Central Drive, Suite 200
Richmond, VA 23227
Phone: (804) 261-3340 ext.1846<tel:%28804%29%20261-3340%20ext.1846>
Cell Phone:
Fax: (804) 515-7291<tel:%28804%29%20515-7291>
[email protected]<mailto:[email protected]>

Visit our website: www.myinnovativelab.com<http://www.myinnovativelab.com>
[cid:[email protected]]

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.

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.


--
sane-devel mailing list: 
[email protected]<mailto:[email protected]>
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to 
[email protected]<mailto:[email protected]>



--
"well, I stand up next to a mountain- and I chop it down with the edge of my 
hand"




--
"well, I stand up next to a mountain- and I chop it down with the edge of my 
hand"



--
"well, I stand up next to a mountain- and I chop it down with the edge of my 
hand"


-- 
sane-devel mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [email protected]

Reply via email to