Barcodes and label size for a thermal printer
A thermal printer prints a ribbon of stickers, not an A4 sheet. A layout built as a document crops the edges, shifts the text, and leaves a barcode that will not scan. Here the size is set for the sticker, and the PDF matches it in millimetres.
Tasks this helps solve
- You print on a 58 mm ribbon or another roll, and the layout is still A4.
- The barcode was pasted as a picture — on a small sticker the bars merge and the scanner stays silent.
- Name, article and code need to sit inside the sticker edge.
Size and resolution
The template has two numbers: width and height in millimetres. 58×40 is a sticker 58 mm wide and 40 mm tall. The numbers come from the roll, not from a sheet. Another ribbon means another template size. You do not redraw the label.
The code is drawn for the printer resolution: usually 203, 300 or 600 dpi. The template uses the same value. The module lands on the dot grid and the edges stay sharp.
A barcode is not a picture
The symbology is set in the template. The value comes from what you type, from a product card, or from a spreadsheet row. The code is drawn again for the sticker size and the printer. Name and code share the same data: one template, different values on the labels.
Before the run, check three things: the template size matches the sticker, the bars are large enough for this printer, and on the preview the text and code do not hit the edge. Print at 100% scale.