Decode barcodes (Codabar, Code39, Code128, EAN2, EAN5, EAN8, EAN13, Interleaved2of5, GS1, UPCA, UPCE) from images files (BMP, JPG, PNG, TIF, GIF) directly from command line.

Console version (Bytescout.BarCodeReader.Console.exe) is included with the latest versions of Bytescout BarCode Reader SDK
for barcode image recognition directly from command line.

Usage:

Bytescout.BarCodeReader.Console.exe <filename> <parameters…>
<filename> Input document of one of following formats: JPEG, PNG, BMP, GIF, TIFF.
Wildcards are supported.

Command line interface parameters:

/N:<regname> BarCode Reader SDK – Command Line License registration name. Must be quoted if contains spaces.
/K:<regkey> BarCode Reader SDK – Command Line License registration key.
/F:<file> Output file. If not specified, application will display results on the console.
/S:<types> Barcode symbologies to find. Comma separated. Valid values: Codabar, Code39, Code128, EAN2, EAN5, EAN8, EAN13, Interleaved2of5, GS1, UPCA, UPCE.
If unspecified, all symbologies will be used for search.
/O:<orient> Orientations. Comma separated. Valid values: Horizontal, Vertical, TopLeftToBottomDiagonal, BottomLeftToTopDiagonal.
If unspecified, all orientations will be used for search.
/A:<areas> Search areas. Comma separated. Valid values: TopLeftQuarter, TopRightQuarter, BottomLeftQuarter, BottomRightQuarter
If unspecified, all areas will be used for search.
/L:<length> Minimal decoded data length.
/M Search mirrored barcodes.
/Q Require “quiet zones” before and after barcode.
/1S Each image contains barcodes of only one symbology.
/1B Each image contains only one barcode.
/P Decode orphaned supplemental barcodes.

Examples:

Bytescout.BarCodeReader.Console.exe “C:Scanned Labels*.jpg” /S:Code39,Code128
Bytescout.BarCodeReader.Console.exe catalog.tif /F: out.txt /O:Horizontal /Q /L:8