/scan

💧 SCAN: Scanning Agent

Primary LanguageC#ISC LicenseISC

SCAN: Scanning Agent

МІА: Сканування is a simple Windows tray application as a scanning service for МІА: Документообіг clients.

Screenshot

It supports unread messages counter and native system notifications:

Screenshot

Features

The minimal OS supported is Windows 7 SP1. The minimal .NET Framework version embedded in each supported OS is 4.6.2. The default target platform is set to x86 for TWAIN32 as setting to x64 will reduce the range of supported devices.

  • Microsoft .NET Framework 4.6.2 Target (30 March 2016)
  • TWAIN 32/64-bit protocol version 2.5
  • Multiple Scan-Profiles per Data Source
  • Acquiring with Duplex and Autoscan enabled as multipage PDF
  • Delivery to Web Browser
  • Windows Tray Application
  • System Notifications
  • МІА: Документообіг Companion Application

Articles

We carefully noted each step of creating МІА: Сканування:

Dependencies

  • Kodak Alaris C# TWAIN SDK (256KB)
  • Empira C# PDF SDK (700KB)
  • INFOTECH F# WebSocket server (64KB)
  • Xamarin C# MQTT client (160KB)

Build

Having Windows is the only prerequisite:

> C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe mia-agent.csproj

Scanners

API

Connect from JavaScript console:

> ws = new WebSocket("ws://127.0.0.1:50220")
> ws.onmessage = function (evt) { console.log(evt.data); }
> ws.send('SCAN,DS-530,AUTOSCAN+AUTOFEED')

Systems

  • Windows 20H1
  • Windows 20H2
  • Windows 21H1
  • Ubuntu 20.10

Credits

  • Artem Sitalo
  • Andrii Zadorozhnii
  • Maksym Sokhatskyi
  • Siegmentation Fault