You are viewing limited content. For full access, please sign in.

Question

Question

DIY: Scan to Laserfiche from Network Scanners/Copiers (not a question)

asked on April 3, 2014 Show version history

A while back I'd asked a few questions on the Laserfiche forums about using the import feature. I feel I should leave some feedback (as well as some code) showing what I managed to do with the advice I was given.

 

The end goal was to create a DIY tool for scanning files into Laserfiche from a network scanner or copier, or any other number of devices we have laying around out here that can scan to a computer, but might not necessarily work with Laserfiche for one reason or another. There were a few commercial tools that offered this functionality for some of our hardware, but most of those wanted licensed per device, and cost hundreds of dollars per license. Yuck. Someone recommended Laserfiche's Import Agent, and although cheaper and albeit easier to maintain, that would still be overkill for our purposes.

 

I started with a quick design. Since none of our hardware had any FOSS API's or SDK's I opted to write an application that would sit in the middle, between the scanner(s) and Laserfiche. The benefit here is, anything that can scan to a computer can scan to Laserfiche using this method.

 

I'll spare you all the gory details and just do a quick diagram of how the script works:

 

[S] = network scanner or copier

[F] = Secure network folder. Script watches, imports new files to LF, then deletes original copy.

[L] = Laserfiche Repositories

--> Indicates document path

 

[S] --> [F] --> [L]

 

Anyway, if you can write a service in any language and you only plan to use this feature sparingly, this method will be perfect for you. It'll save you time and money, and all you need do is program something to watch a couple folders for changes and react to those changes. If you can't write a proper service, do what I did and run the script as a scheduled task every minute.

 

Feel free to message me here for more details or some code snippets.

 

EDIT: Things I forgot to mention. I'm using Laserfiche 8.3 and plan to upgrade to 9 shortly. In order to use the .NET namespaces I downloaded version 9 of the SDK. 

0 1

Replies

replied on April 3, 2014

Import Agent is just a basic interface to do exactly this task. I am not sure that I would consider it overkill.

 

There may be advantages to this script method though if you wanted to add customized control over the import. For example rejecting certain types of documents.

 

If you don't know programming languages you could also just batch xcopy to a WebDAV share.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.