CONFIGURING ZBAR

Top  Previous  Next

If your installation uses the Image Manager, you might wish to install Zbar, an open source barcode reading engine.  If configured, UnForm can read barcode zones in Image Manager jobs.  Zbar supports these barcode types: EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code.  Note that best results will be obtained with an up-to-date version of this software, which will require a fairly up-to-date Linux installation.

 

Zbar can be installed on Linux using standard package management tools.  It is available for Windows, and in source code, from: http://zbar.sourceforge.net/

 

Use the following commands for Linux installations:

 

Redhat/Fedora/CentOS: yum install zbar
 
Ubuntu/Debian: apt-get install zbar-tools
 
SUSE Linux: visit https://software.opensuse.org to locate rpm install packages for your version.

 

 

Redhat Enterprise users may need to first install EPEL repository extensions (Fedora installs should already have these available).  The following web page provides copy/paste command lines and information:

 

https://fedoraproject.org/wiki/EPEL

 

As of this writing, there are relevant command lines:

 

CentOS 6:        yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

 

CentOS 7:        yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
         
Redhat:        subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"

 

 

Once installed, restart the UnForm server and it should locate Zbar automatically, assuming you choose a default installation path.  On Linux, it will locate it in /usr/local/bin or /usr/bin.  If necessary, you can manually configure the path to the zbarimg executable in uf100d.ini, the [zbar] section, setting zbarimg=path.