Questions? Call us at: (800) 722-6004 or (215) 496-0222

Reading Barcodes Directly from a Computer Screen

It is entirely possible to read barcodes directly from a computer screen however there are a number of considerations that must be dealt with first.

First of all, the resolution of most computer screens is too low to render a readable barcode if the standard barcode dimensions are used. The width of the smallest bar or space in a normal sized barcode is on the order of 13 mils wide yet the screen resolution of most computer monitors is typically 72 dots per inch or 13.88 mils per pixel. Since a computer screen draws graphics using fixed size pixels, it cannot draw bars that have a width that is not an exact multiple of the width of a single pixel. In order to display readable barcodes on a computer screen, you must choose a bar width for your barcodes that is an integer multiple of the width of a screen pixel. For example, if your screen resolution is 72 DPI, then you should use barcodes that have a narrow bar width of 13.88 mils, 27.77 mils or 41.66 mils, etc. This will cause your barcodes to be larger than a normal barcode however they will at least be readable. Also, if the barcode symbology that you want to use supports a "Narrow to Wide Bar Width Ratio", then this value should be set to an integer value of either two or three; with three being the preferred value.

Secondly, there are several different types of barcode readers on the market including wands, laser scanners, CCD readers and camera based readers. The only types that can successfully read a barcode off a computer screen are CCD readers and camera based readers. CCD readers typically have difficulty reading barcodes off a normal glass tube computer monitor however they can easily read barcodes off an Active matrix or other flat panel display. The best type of reader to use when reading barcodes from a normal computer monitor is a camera based reader. The camera type readers actually take a picture of the barcode and use digital image processing techniques to decode the barcode so that it is much easier for it to read off a computer screen. The only drawback to camera type readers is that they are extremely expensive with a typical price tag of $1500 and up.

All other types of barcode readers (pens and laser scanners) measure the intensity of reflected light and therefore cannot be used to read from a monitor because the glass or plastic in the monitor screen does not reflect light back to the reader.


"TALtech Bar Code ActiveX Control has all the features necessary to easily add professional-quality bar codes to Windows applications. A well designed product that produces professional bar codes that print quickly and scan accurately. TALtech provides example code within VB projects, and you also get sample VBA applications in Access, Excel and Word. I would like to see more OCX publishers follow TALtech's example."

Visual Basic Programmer’s Journal Editor

"I would like to compliment you for your assistance and patience. It is so refreshing to work with a vendor with customer service such as yours."

Bill Keen Intertek ETL SEMKO

News & Updates