News combit Dev Blog

Four Steps We Took to Improve Our Barcode Printing Quality

Posted: Monday, August 4, 2014 | 0 comment(s)
 

Through a cooperation with REA, a renown vendor of barcode verifiers, we were able to grade and improve our barcodes according to the usual ISO standards. Amongst other optimizations we completely changed the rendering algorithm to optionally match the bars exactly to the device pixels, eliminating all rounding effects this way. Typically, at least a grade of "B" is required by barcode consuments. This should now be easily achievable on typical hardware.


Printing barcodes is a very tricky task. Even on high resolution devices, rounding errors can heavily decrease the legibility of barcodes. A typical bar width for a barcode is in the range of 0.5 mm. On a 600 dpi device (actual pixel density 609,6), this corresponds to just 11-12 pixels. If you're working in absolute coordinates you'll end up with a bar code that has bars between 0.45 and 0.55 mm (approximately +-1 pixel error). While this barcode may still be legible, its usability under heavy load in high performance environments will be quite restricted. 

To get a reliable grade for barcode quality, barcodes are verified according to ISO/IEC 15416 (see http://en.wikipedia.org/wiki/Barcode#Quality_control_and_verification), receiving a grade between F (worst) and A (best). Often, a grading result of at least B is required by barcode consumers. The verification process includes the recording of a "Scan Reflectance Profile" and the thorough analysis of this scan, including a number of parameters such as Decodeability, Modulation etc.
 
Through a cooperation with REA, a renown vendor of barcode verifiers, we were able to grade and improve our barcodes. So what we did was

  • Analyzing the current grading results
  • Changing the rendering algorithm
  • Intoducing a factor to account for device specific "overprinting"
  • Verifing the effects of these changes through a second analysis

During the process we changed the rendering algorithm to optionally match the bars exactly to the device pixels, eliminating all rounding effects this way. Each step of this change was closely monitored and verified using the equipment REA provided us with.
 
This leads to a great improvement in the decodability of the barcodes and improves the typical grading result from a "C" in LL19 to an "A" or at least "B" in LL20 where the limiting factor is basically depending on the paper and printer quality for most barcodes. When printing with high quality equipment, a Grade "A" is usually achievable. The following shot shows part of the calibration sheet for the 2/5 interleaved symbology before and after the optimization. The parameters are – from top to bottom: Decoding, Symbol Contrast, Edge Contrast, Modulation, Rmin/Rmax, Defects and Decodeabilicy. The Grading result improved from "C" before to "A" after.

Barcode-Pre-Optimization-1.png Barcode-Post-Optimization-2.png

Another improvement is the introduction of a pixel reduction parameter. Especially ink jet printers (albeit some laser printers, too) "overprint" their dots slightly depending on paper quality and other physical parameters. This new parameter allows to take this effect into account and reduces bar widths by the given amount of pixels. This way, the printing result can be optimized exactly for the used hardware.

Both new features are combined in a new property that's available for barcodes in List & Label 20:

Barcode-Optimization-Properties.png




Author: Jochen Bartlau
Head of Development List & Label

Jochen Bartlau leads the development at combit as Managing Director. He's a Microsoft .NET enthusiast driving innovation & agile project management. The mobile devices geek who used to be a physicist in his first life loves to spend his spare time with his family.


  

RSS
combit Development BlogRSS
What’s this blog for?
A place to share updates about the ongoing development of our products. General musings on the software industry included.
Archive
January 2021 (1)
December 2020 (2)
November 2020 (1)
October 2020 (2)
September 2020 (1)
August 2020 (2)
July 2020 (1)
June 2020 (1)
May 2020 (2)
April 2020 (2)
March 2020 (2)
February 2020 (1)
January 2020 (1)
December 2019 (1)
November 2019 (2)
October 2019 (2)
September 2019 (2)
August 2019 (2)
July 2019 (2)
June 2019 (2)
May 2019 (1)
April 2019 (0)
April 2019 (1)
March 2019 (1)
February 2019 (1)
January 2019 (1)
December 2018 (1)
November 2018 (2)
October 2018 (4)
September 2018 (4)
August 2018 (2)
July 2018 (2)
June 2018 (2)
May 2018 (1)
April 2018 (1)
March 2018 (1)
February 2018 (2)
January 2018 (1)
December 2017 (1)
November 2017 (2)
October 2017 (3)
September 2017 (3)
August 2017 (2)
July 2017 (2)
June 2017 (1)
May 2017 (2)
April 2017 (1)
March 2017 (1)
February 2017 (1)
January 2017 (2)
December 2016 (1)
November 2016 (1)
October 2016 (4)
September 2016 (5)
August 2016 (2)
July 2016 (2)
June 2016 (3)
May 2016 (2)
April 2016 (3)
March 2016 (3)
February 2016 (1)
January 2016 (2)
December 2015 (2)
November 2015 (1)
October 2015 (4)
September 2015 (5)
August 2015 (2)
July 2015 (2)
June 2015 (2)
May 2015 (1)
April 2015 (2)
March 2015 (1)
February 2015 (1)
January 2015 (1)
December 2014 (2)
November 2014 (1)
October 2014 (1)
September 2014 (2)
August 2014 (1)
July 2014 (2)
June 2014 (1)
May 2014 (2)
April 2014 (1)
March 2014 (2)
+1 800 256 3608 (toll-free North America only)