LNScan is a Windows DLL application which works with Lotus Notes and your scanner. Lotus Notes communicates with LNScan via LotusScript functions, LNScan.dll connects to the scanner via TWAIN. When the scanning is complete, LNScan is closed and images are put to LotusNotes document.

LNScan uses the Twain interface to communicate with the scanner, hence it supports a wide range of scanners.

  • Can create JPG, BMP, TGA, PNG, TIFF (multipage too) and PDF, image attachments in a LN document.
  • Can set the JPEG quality.
  • Can set the DPI and color type in scanning environment before scanning.
  • Can start scanning immediately (scanning environment is not displayed).
  • Can modify the DPI, color type, bitdepth and scale of the scanned image.
  • Can paste scanned pictures into a richtext field.
  • Can load the image from disk into a clipboard and paste it as picture into a richtext field.
  • Is shipped with a LotusScript library which contains scanning functions for your use (but you can still call the DLL directly and write your own handling).
  • Can be modified to perform special image transformations - rotiations, sharpening and many more.
  • No temporary files are left on disk(our script library deletes them after they were put to a notes document).

Creating image-file attachments
USER'S VIEW: "Just click the Scan button in your LN database and scan the images. Attachments are created automatically."
PROGRAMMER'S VIEW: LN database application calls the function ScanImageAttachments(...) from LNScanLib script library. Supply the notes document, richtext field name and image file name as parameters.
Presetting DPI & Colors:
USER'S VIEW: "Do you find annoying that your HP scanning always preset 200 DPI when you want 150, and 16.7 millions of colors when you want Grayscale ? LNScan can do it for you".
PROGRAMMER'S VIEW: When calling the scanning function, supply your DPI and Colors type and LNScan will preset them before the scanning environment is opened.

Modifying the image after scanning:
USER'S VIEW: "Okay, you do not need to understand how to scan, just press the button and the image will look like we need, ok ?".
PROGRAMMER'S VIEW: Image can be modified after scanning before it's imported into LN. Supply your own DPI, COLORS, BITDEPTH and SCALE to the scanning functions ScanImageAttachment(...) or ScanImageClipboard(...) and the image will be changed so. For example you want to store all your incoming invoices as images in some database. Images have to be readable and files have to be reasonably small. Then you have to choose the proper format and color palette. Not all scanners support creating 4 colour grayscale PNGs. LNScan can.

Direct scanning:
USER'S VIEW: "Look, to start scanning you need to click only ONCE."
PROGRAMMER'S VIEW: It's nothing difficult, there's a parameter for it. Scanner will start scanning immediately and the result image will be in the desired format.

Picture in a Richtext field
USER'S VIEW: "Click the Scan button and the picture will appear in mail body"
PROGRAMMER'S VIEW: LN database application calls the function ScanImageClipboard(...) and specifies the notes UI document and richtext field name. Images are scanned and one by one are pasted into selected richtext field.

Creating new documents with images
USER'S VIEW: "It's all the same, press the button, scan images and a new document will appear".
PROGRAMMER'S VIEW: Directly call the DLL function ScanToAttachments(...) and supply the path-and-image-name in a folder where images should be created. It's return value is the sum of the created images. Then, for each image just create new document and attach the image to it (browse LNScanLib script library for hints). You control how new documents will look and which fields they will contain.

Modifying LNScan
USER'S VIEW: "We want to rotate the image by 10 degrees clockwise, little bit brighten it, and then apply our own convolving matrix"
PROGRAMMER'S VIEW: There are many things which can be adjusted to your needs. Some can be already preset and/or adjusted by user, but special wishes like rotating, brightening, sharpening, convolving matrix operations and other can be granted too. Send us an e-mail and we'll modify the LNScan to do exactly what you want.









TOPlist