Skip to content

Stock

How does a weighing scale barcode work?

A weighing scale barcode is a 13-digit EAN-13 label printed by the scale, starting with a prefix from 20 to 29 that GS1 keeps for in-store use. After the prefix come the item code, the weight or the price, and a check digit. The billing counter reads the item and the quantity from the label, so loose goods are billed without typing.

Reading the label 2100451012503 digit by digit

This is the most common layout: two digits of prefix, five of item code, five of weight and one check digit. Your scale may use other digit counts, so check its manual.

13 digits
A weight-embedded EAN-13 label for 1.250 kg of loose moong dal
 DigitsIn this label
Prefix for in-store use221
Item code, also called PLU500451, loose moong dal
Weight in grams501250, read as 1.250 kg
Check digit13

Weight labels and price labels look the same

The same five digits can be a weight or a price. Nothing in the barcode says which, so the scale and the billing software must be set to the same layout.

Same 5 digits
Weight-embedded compared with price-embedded scale labels
 Weight-embeddedPrice-embedded
What the 5 digits holdWeight: 01250 is 1.250 kgPrice: 08750 is ₹87.50
Who works out the moneyThe billing software, at its own rateThe scale, at the rate loaded into it
Worked example1.250 kg of moong dal at ₹140 a kg = ₹175₹87.50 of sweets at ₹250 a kg = 0.350 kg
Full label21004510125032200452087507
Rate changesChange the rate in the billing software onlyChange the rate in the scale as well

Setting up a label scale with a billing counter

This is how vegetables, sweets, dry fruit, loose grain and pulses, and nails or wire sold by the kilo are billed in seconds.

5 steps
Give each loose item a code
Assign a short item code (PLU) to every item sold by weight: 00451 for moong dal, 00452 for mixed sweets.
Load the codes into the scale
Enter the same codes in the scale, with rates too if it will print price labels.
Match the layout on both sides
Set the prefix, the number of item and value digits, the decimals, and whether the value is weight or price, the same in the scale and the software.
Weigh, print, stick
Staff weigh the bag, press the item key, and stick the printed label on it.
Scan at the counter
The counter checks the check digit, finds the item from the code, and puts the weight and price on the bill.

How Dhaaga reads scale labels at the counter

The label layout is a setting each shop fills in to match its own scale. A shop that weighs nothing leaves it empty and nothing changes.

Your layout
  • Your scale's layout

    Set the prefix, the item and value digits, the decimals, the label length, and whether the label carries weight or price. More than one layout can be kept.

  • Registered codes first

    A scanned code is looked up in the item master first. Only an unknown code is read as a scale label, and only if the length, prefix and check digit all match.

  • Weight or price, never guessed

    A weight label bills the weight at the item's rate. A price label bills the price and works out the weight as price ÷ rate.

  • Bad labels stopped

    A label with a wrong check digit or a zero reading is refused rather than read, and a price label is refused for an item with no selling rate, since its weight cannot be worked out.

Questions people ask first.

6

GS1 keeps prefixes 20 to 29 for numbers used inside one store or company. A code starting with 2 is never a manufacturer's product barcode, so the counter knows to read it as a scale label.

Price look-up code: the short number given to a loose item in the scale. It is the item code inside the label.

Not reliably. The prefix and item codes are local to each shop, so another shop's software will either not know the item or read it as a different one.

The check digit will not match and the label should be rejected. Reprint it rather than typing the weight by hand.

No. A label-printing scale works on its own, and the label carries the reading to the counter. Some scales instead send the weight down a cable to the counter.

Yes. Weighing instruments used in trade must be verified and stamped under the Legal Metrology Act, 2009 and the state's rules, and re-verified at the intervals those rules set.

The fastest honest test

Put one real day through it.

Not a sandbox with sample data — your own bills, your own items, your own customers. By evening you will know whether this runs your business.

A full business day flowing through Dhaaga from opening tasks to balanced books