Steps to BardecodeFiler Desktop to BardecodeFiler Service: 1. Save your current BardecodeFiler settings to an “ini” file. 2. Right click on BardecodeFiler and select “Run as admin” 3. Go to Options/Service Settings/BardecodeFiler Service 4. Import the settings from the “ini” file. 5. Adjust the input/output/processed and exception folders (they do not get imported). 6. Set
Softek Barcode Reader SDK for Linux Version 184.108.40.206 has been released. The main change in this version is the addition of functions to read from TIF, and JPEG files held in memory rather than as files on disc. The new function is called mtScanBarCodeFromString. The C interface has also been brought in line with the
Softek Barcode Reader SDK for Windows Version 220.127.116.11 has been released. The main change in this version is the addition of functions to read from TIF, PDF, JPEG,GIF or PNG files held in memory rather than as files on disc. The new functions are called ScanBarCodeFromString for the DLL or ScanBarCodeFromByteArray for the .Net interface.
Here is the command line to convert an Adobe PDF document to TIF on Linux, in a suitable format to be used as input for the Linux version of the Softek Barcode Reader Toolkit: For color documents: gs -dNOPAUSE -r300 -sDEVICE=tiffscaled24 -sCompression=lzw -dBATCH -sOutputFile=output.tif input.pdf For black and white: gs -dNOPAUSE -r300 -sDEVICE=tiffg4 -sCompression=lzw -dBATCH
Here’s some C code that shows how to read an opencv cv::Mat image using the barcode reader toolkit. The main points to note are: Read the image using the cv::IMREAD_GRAYSCALE flag Flip the image vertically Align the scan lines to 4 byte boundaries #include <barcode.h> #include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> static void
If you are handling binary data in barcodes such as you find in some 2-D barcodes (PDF417, QrCode or DataMatrix) then the following method will allow you to create a byte array that contains the original binary data from the barcode – including all the null and 8-bit values. 1. Using Quoted printable Encoding barcode.Encoding
The default time out for the scan of a page on Linux is 5000ms, but how can you detect if a time out has occurred? The following snippet of C code can be used in bardecode.c at the end of the main function… uint16 t; STGetParameter(hBarcode, ST_DID_TIMEOUT, &t) ; if (t)
Here is a list of all possible values that can be returned for the bar code type. Note that GS1-128 is a subset of Code 128 and is controlled by the ReadCode128 property. Value Property STSetParameter value for Linux “CODABAR” ReadCodabar ST_READ_CODABAR “CODE128” ReadCode128 ST_READ_CODE128 “CODE25” ReadCode25 ST_READ_CODE25 “CODE39” ReadCode39 ST_READ_CODE39 “CODE93” ReadCode93 ST_READ_CODE93 “DATABAR”
Version 18.104.22.168 of the Softek Barcode Reader Toolkit for Windows has been released. This version addresses an issue with handling UTF-8 encoded data in a PDF-417 or DataMatrix bar code. The problem… Say you have a PDF417 bar code that encodes the characters: キヤノン電子 ….in UTF-8 format with the following bytes of hex data: E3
Softek Barcode Reader Toolkit for Windows Version 22.214.171.124 has been released with the following fixes: 1. Fixed handle leak on multi-processor systems. 2. Modified Code 39 parameters to handle larger differences between the sizes of spaces and bars.