Skip to contentTalk to us
Windows apps

How to print barcode labels from your own program

A guide to printing barcode labels: which barcode type, label printer or A4 sticker sheets, a design that scans first time, why scans fail, and a Windows tool.

Fanann Team9 min read
WhatsApp
Setup.exe
Quick answer

To print barcode labels you need three things: an item list with a unique code per item, a label design matching your printer's paper size, and a printer installed in Windows. For internal codes in your shop or warehouse, Code 128 is enough. For a product sold in other people's stores you need numbers registered through GS1. Print one label and scan it with your own scanner before a batch. Tools ship with many printers, and if you want one tied to your item list and in Arabic, Fanann's Warehouse labels template imports items from a file, picks a label template and sends the print job from a Windows program.

People look for this as
  • print barcode labels
  • how to print barcodes for my products
  • barcode label printing program for pc
  • how do I make barcodes for my shop items
  • price label printing software with arabic
  • code 128 vs ean 13 which should I use

What do I need to print barcode labels for my products?

Many assume printing a barcode takes a complicated system. In truth a barcode is the item number drawn as bars that a scanner reads faster than you type. You need three things:

1. An item list
A unique code per item, plus name and price
2. A label design
Sized to the paper in your printer
3. A printer
A label printer, or an office printer with sticker sheets
To verify
A barcode scanner to read the test label
Illustration: stockroom shelves and a laptop. The label on each shelf and carton starts as a row in the item list.Illustration
Illustration: stockroom shelves and a laptop. The label on each shelf and carton starts as a row in the item list.

Order matters: buy the printer before cleaning the item list and you get handsome labels with duplicate codes. Start with the list, even if it lives in Excel.

Which barcode type should I choose: EAN, Code 128 or QR?

TypeLook and contentWhen to use itWatch out
EAN-1313 digits, what you see on supermarket goodsA product you sell in other shops or large retailersNumbers are registered through GS1 in your country, not made up
Code 128Digits and letters, compact and clearYour internal codes: items, shelves, cartonsThe best general choice inside your own business
Code 39Digits and capital letters, widerOlder systems that require itTakes more room for the same content
QRA 2D square holding longer text or a linkA product page link, or more data than a numberNeeds a 2D scanner or a camera. A linear scanner cannot read it
Real screenshot of “Store Inventory”, a Windows program built with Fanann: the product table with codes, categories, quantities and prices, “Low” and “Out” flags, and the new product and export buttons
Store InventoryReal screenshot of a program built with Fanann

Tap the picture to zoom in, then drag to move around it.

Real screenshot of a program built with FanannA real screenshot of an inventory program built with Fanann. Labels come out of a list like this, with a code column per item.
Where will the label be scanned?

Pick the one that sounds like you to see the advice.

A thermal label printer, or an office printer with sticker sheets?

Thermal label printer
  • Prints one label or a thousand from a roll with no waste
  • No ink in the direct thermal kind
  • Fast, suited to daily printing
  • Needs the label size set precisely in its driver
  • Direct thermal labels fade with heat and sunlight
Office printer with A4 sticker sheets
  • No new device to buy
  • Fine for small, occasional batches
  • Printing one label wastes the sheet or upsets alignment
  • Aligning to the die cuts takes trial runs
  • Laser is sharper and more durable than inkjet for barcodes

A shop pricing new stock weekly should get a thermal label printer. For monthly printing, A4 sheets do. Either way the printer must be installed in Windows and print a correct test page first.

What goes on the label, and how do I design it to scan first time?

A label is a small space, and every extra line shrinks the barcode. Choose what the person reading it really needs:

Label typeWhat it carries
Price label on a productShort name, price including VAT, barcode, number beneath
Shelf labelFull item name, price in large type, barcode, unit
Warehouse carton labelItem code, name, count per carton, receiving date, shelf location
Label for goods you packName in Arabic and English, weight, production and expiry dates, barcode
  • White margin left and right of the barcode. Without it the scanner cannot tell where the code starts.
  • Enough size: do not squeeze the barcode to fit more text. Shrink the text first.
  • Black on white: colors and tinted backgrounds weaken reading.
  • The number printed under the bars, for manual entry if the label is damaged.
  • A flat surface: a label on a sharp curve or a carton corner is hard to scan.

How does printing a batch of labels go, step by step?

  1. 1
    Prepare the list

    A file with columns for code, name and price, and an optional column for copies. Make sure no code repeats.

  2. 2
    Import it into the label program

    Pick the file from your PC and check each column landed in place.

  3. 3
    Choose a label template

    By paper size: a small price label, a shelf label or a carton label.

  4. 4
    Select items and copies

    Twenty labels for an item that arrived as twenty pieces, one for a shelf.

  5. 5
    Print a test label

    Just one. Stick it on the real product and scan it with your own scanner.

  6. 6
    Send the batch

    After the scan succeeds. Watch the first ten labels to confirm alignment has not drifted.

A list tidied once serves the cashier, stock and labels together: see from a spreadsheet to an app.

Why does the scanner not read the label I printed?

SymptomMost likely causeFix
Reads no label at allThe scanner does not support the type, or the code is 2D and the scanner is linearTry the scanner on a factory barcode, then switch to Code 128
Reads after several triesBarcode too small or print too faintEnlarge the code and raise print darkness in the printer settings
Reads a short or wrong numberThe code is cut at the label edgeSet the label size in the printer driver and leave a white margin
Print drifts label after labelPaper size in Windows does not match the rollEnter the real width, height and gap, and run printer calibration
Reads, but the item does not appearThe printed code differs from the stored one (leading zero, extra space)Unify the code format and store it as text, not a number
White streaks inside the barcodeA dirty or damaged print headClean the head as the manufacturer instructs

Row five is the sneakiest. Excel drops leading zeros unless the column is text, so 00123 becomes 123 and no longer matches the cashier program. Check this before any import.

Should I use a ready tool or build a label program?

Candidly: many label printers come with design software, and some cashier and inventory programs print their own labels. If one is enough, use it. Building makes sense when:

  • You want staff to print straight from your item list in two clicks, not design a label each time.
  • You want an Arabic interface and Arabic names on the label as you write them.
  • You have rules of your own: copies equal the quantity received, or an expiry date calculated from the production date.
  • You want fixed templates nobody can tamper with.
  • You want labels as a screen inside the inventory program itself, not separate software.

More ideas: Windows program ideas for small businesses.

How do I build a label printing program with Fanann?

Animated explainer: a written description becomes a Windows program window, then a choice between a local and a cloud database, then a ready installer.
Animated explainerThe description, then a window running in the browser, then the data choice, then the installer.

Windows Studio has a Warehouse labels template: it imports items from a file and exports them, offers label templates to choose from, and sends a print job for the labels you selected. Printing goes through printers installed in Windows, so success depends on your label printer being set up in Windows with the right paper size.

Label tool for a perfume and incense shop

I want a label tool for a perfume and incense shop, in Arabic (right to left) with English. I import items from an Excel file with the columns: code, Arabic name, English name, size, price including VAT. Store the code as text so leading zeros are kept, and warn me if a code repeats. Three label templates: a small 40×30 mm price label (short name, price, Code 128 barcode with the number beneath), a 60×40 mm shelf label (Arabic and English name, price in large type, barcode), and a 100×50 mm carton label (code, name, count per carton, receiving date). Leave a white margin around the barcode. I select items by ticking or searching, type the number of copies per item, and see a preview before printing. A Print test label button prints just one, and a Print batch button. A log of what was printed and when. Add an item by hand and edit a price, then reprint its label.

Try it in Fanann

The tool runs on the PC connected to the printer with local data, unless you want an item list shared between several PCs.

What should I review before printing a first large batch?

Before printing the batchTap an item when it is done. Your progress is kept in this browser.
One test label saves you a whole roll of labels that will not scan.

Once labels work, link them to what comes before and after: the inventory program the codes come from, and the cashier program that scans them.

Key takeaways

  • A barcode is just the item number drawn as bars. Its value comes from the item list behind it.
  • For internal use choose Code 128 with your own codes, and never invent EAN numbers for a product sold elsewhere.
  • A thermal label printer is faster and leaner for volume. A4 sticker sheets are fine for occasional printing.
  • Most scan failures come from one of three causes: a label too small, a missing white margin, or faint print.
  • Never print a batch before scanning a test label with your scanner on the real product surface.

Frequently asked questions

How do I print barcodes for my products?
Give each item a unique code in a list, choose a barcode type (Code 128 for internal use), then print from a label program on a label printer or A4 sticker sheets, and scan a test label before the batch.
Do I need a license or registration to make barcodes?
For codes scanned only inside your shop or warehouse, no: you choose your own numbers. A product sold through other traders needs global numbers registered through GS1 in your country.
Can I print barcodes with an ordinary printer?
Yes, on A4 sticker sheets divided into labels, preferably with a laser printer. That suits small quantities. For daily printing, a thermal label printer is faster and wastes less.
Will the program work with the label printer I have?
Printing goes through printers installed in Windows, so if yours prints at the right size from other Windows programs, it most likely will. No device is guaranteed, so print a test label before relying on it.
What is the difference between a barcode and a QR code?
A linear barcode holds a short number and any ordinary scanner reads it, which suits cashier and stock work. A QR code is a square holding longer text or a link and needs a 2D scanner or a phone camera.
Why does the scanner read the number but no item appears?
Usually the printed code differs from the one stored in the program: a dropped leading zero or an extra space. Store codes as text in the import file and match them with the cashier's list.

Ask your AI assistant about this

Copy this prompt into the AI assistant you use, then add the details of your own case.

I am reading this guide: “How to print barcode labels from your own program” https://fanann.com/en/blog/barcode-label-printing-program/ My question: print barcode labels Use that page as a source and explain the answer step by step for my situation, tell me what to check before I start, and cite the page link.

Terms in this article

Your idea deserves to see the light.

Describe it in Arabic or English and Fanann builds, tests and ships it — no coding knowledge needed. Start free, no credit card.