A sheet of shelf labels

This is the sheet a shop prints a hundred at a time, on paper that has already been cut. Everything therefore hangs on one thing: what is drawn has to land inside the pieces the blade has already made, on every sheet of the run, or the whole run goes in the bin and the paper is not cheap.

The sheet here carries fifteen labels, three across and five down. That grid is described by the paper and nothing else — how many labels each way, how big one is, how far apart their corners sit — so the day the shop buys its paper from somebody else, six numbers change and the sheet comes out right again. Print one, hold it up to the light against a blank sheet, and you can see in a second whether those six numbers are the right ones.

What this example shows

  • Fifteen labels, three across and five down, on one pre-cut sheet.
  • A scannable article number under every label.
  • Trim marks in the four margins, for the guillotine or for the die that cuts the shapes out.

The source code, complete

Nothing is left out and nothing is simplified: this is the program exactly as it runs, for the developer who uses this library. The third is the description itself: a plain list of what the page has to say, which is what the service is sent.

Read the Rust source Read the Python source Read the JSON source

The document itself

Open the document in English Open the document in French

Examples near this one

A commercial invoice

An invoice whose lines and totals fall where the text puts them, and whose QR code lets a telephone pay the exact sum into the exact account with nothing retyped.

A delivery note

The note that travels with the goods: a barcode against each article, a box the receiver ticks, and the consignment's own code.

A payslip

A payslip: eighteen contribution lines with employee and employer shares, the month against the year to date.

A landscape certificate

A certificate whose border, ribbon and seal are drawn as lines rather than photographed: sharp at any size, and a fraction of the weight.

A boarding pass

A boarding pass carrying, as a QR code, the one line the gates at an airport read — one character out of place and it is refused.

Every example, by subject