This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new!

Feature: Reviews

KBarcode prints labels as well as barcodes

By Bruce Byfield on January 16, 2008 (9:00:00 AM)

Share    Print    Comments   

Free software projects have the irritating habit of choosing names that fail to reflect what the software does. A case in point is KBarcode. Although KBarcode does generate the barcodes you would expect from its name, for most people, it is probably far more useful as a label and business card editor. Anyone looking for these functions could easily overlook it because of the name -- and that would be unfortunate because, even with some awkward interface designs, KBarcode still compares favorably to similar programs.

KBarcode is a standard program in most distributions' KDE offerings. It opens with a configuration wizard (also available from Settings -> Start Configuration Wizard) whose main purpose is create an SQL database for use with the program. KBarcode supports MySQL, PostgreSQL, and SQLite, but not common data sources such as Mozilla address books or other KDE programs such as Kontact, let alone GNOME's Evolution.

Although you can use KBarcode without a database, you are well advised to use one, because without one, you can only do mail merges using a CSV file that you have to create separately. In addition, you have to disable a box on the third screen of the wizard after clicking through a summary of the databases detected and a warning that none has been detected.

Once past the configuration wizard, KBarcode opens a small floating window with buttons for opening the subprograms that generate barcodes, create labels, and print saved files. Via the menu, you can also configure the program. Whatever else you customize, you will almost certainly want to change the printer settings from 300dpi to a higher resolution. Strangely, though, KBarcode does not set the default printer, which means that, on systems with multiple printers, it sometimes tries to print to the last one listed, regardless of whether it is turned on.

The Barcode Generator presupposes -- probably reasonably enough -- that you know what type of barcode encoding you require. The only other choice you need to make is whether to display text below the barcode or not. However, if you need more control, you can adjust the white space around the barcode and the scale and orientation of the image, or crop it. Advanced users can also press the Advanced button to set up a sequence of barcodes, or add a data field to the image. With each set of changes, you have to click the Generate button to see how the bar code currently looks. When finished, you can print out the result or save it to a common graphics format. Although the layout of options in the window seems slightly haphazard, most users should learn their way around the Barcode Generator quickly and with a minimum of effort.

The Label Editor is even more straightforward. It starts with a New Label wizard, from which you can choose the manufacturer and paper size, followed by the label type. It places these choices in two long combo boxes, which is not a convenient way for users to choose the labels they want -- but, to be fair, no other program that works with labels does any better.

After you select the label or business card type, the editing window displays a full-size version of a single label. While this choice could be enhanced by a Zoom function for some of the smaller labels, it is generally adequate, especially once you select View -> Grid to give yourself guidelines for positioning objects. As another preliminary, you will probably want to configure the database the label set will use from Tools -> Addressbook.

Following these preliminaries, label and card design is largely a matter of using the Insert menu to add text, shapes, and imported graphics. If you are working with a database, you also have the option of creating tables in it and of selecting the fields to use in a mail merge. All of these items are treated as objects with handles for moving, resizing, reshaping, and cropping them. If necessary, you can use the entire window as a work space, dragging objects off the label or card temporarily while you adjust others.

If you are printing sequential barcodes or labels with a mail merge, the most convenient way to proceed is by saving your results and selecting Batch Printing from KBarcode's start window. Batch printing requires a saved file from a previous session to work with, and gives you the options of importing data fields or selecting entries individually. When ready, you can print to hard copy or paper as required.

KBarcode suffers from a sometimes awkward interface. Yet, functionally, it is both more powerful and easier to use than gLabels, its GNOME equivalent, particularly when you work with a database. Similarly, because of its extensive wizards, KBarcode is more accessible than the functions for labels and cards in Writer, whose display of an entire sheet of labels, as well as its mysterious synchronize button, has puzzled more than one beginning user. If KBarcode would only take a release to polish its layout -- and, of course, choose a meaningful name -- then maybe the program would gather the respect that its functionality and ease of use merits.

Bruce Byfield is a computer journalist who writes regularly for

Share    Print    Comments   


on KBarcode prints labels as well as barcodes

Note: Comments are owned by the poster. We are not responsible for their content.

KBarcode prints labels as well as barcodes

Posted by: Anonymous [ip:] on January 16, 2008 02:49 PM
Thanks for this article, it just motivated me to start testing this application myself after having it installed for a while.
In the process of trying to figure which database to use i came across the following.

The KBarcode handbook states that it can import data from KDE address book.

Still searching for an inexpensive usb/serial laser barcode scanner that is compatible with linux.
TIA for any hints


KBarcode prints labels as well as barcodes, but what does Excel do?

Posted by: Anonymous [ip:] on January 16, 2008 05:03 PM
Thank you for explaining that "KBarcode" has more than one use. But to "blame" them for choosing a name like that is nitpicking at best. What the heck does "Excel" do? Excel at what? Accelerate (with an obvious homonym in mind) work? What kind of work? I haven't a clue from the name, yet it's used in virtually every business in the world.

The name "KBarcode" is more descriptive of a major part of the functionality of the program. That's more than I can say about a lot of products that we buy, such as Excel, Access, Cingular, Viagra, ....


KBarcode prints labels as well as barcodes

Posted by: Anonymous [ip:] on January 16, 2008 05:23 PM
Correction: that should be "homophone" not "homonym".


KBarcode prints labels as well as barcodes

Posted by: Anonymous [ip:] on January 18, 2008 08:51 PM
This is a real life example:
This week one of my costumer called me to ask, if it was possible to print bar code for his product using Mandriva Linux. He was quite nervous because usually his costumer made there own bar code but now they had decided to ask there supplier to do it for them. The alternative for my costumer would have been to purchase a 190$ software + a barcode printer + win XP. He was really piss. So I showed him Kbarcode and I teach him how to use it.

Let's say he was one happy Linux user who didn't have to paid a dime extra for his bar code.


KBarcode prints labels as well as barcodes

Posted by: Anonymous [ip:] on January 19, 2008 03:52 PM
Any leads on an inexpensive linux compatible laser barcode scnner, usb or serial.



This story has been archived. Comments can no longer be posted.

Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya