Skip to content
Tobias L. Maier

ASN QR code labels

Printable archive serial number labels for Paperless-ngx.

If you change it, set the same prefix in Paperless-ngx as PAPERLESS_CONSUMER_ASN_BARCODE_PREFIX.

Outlines every label, to check the alignment on a test print on plain paper.

Prints only the number next to the QR code. The code itself keeps the prefix, so Paperless-ngx still recognises it.

What it is for

Paperless-ngx can give every document an archive serial number (ASN). The labels from this page carry that number as a QR code:

  1. Stick a label on each paper document you keep, before you scan it.
  2. Scan the document. With PAPERLESS_CONSUMER_ENABLE_ASN_BARCODE on, Paperless-ngx reads the QR code and sets the document’s ASN.
  3. File the paper in a binder in ASN order. The ASN in Paperless-ngx tells you where the original is.

Documents you don’t keep need no label: scan them and shred them. How I over-engineered my private document management system shows this workflow in a full Paperless-ngx setup.

How to use it

Enter the first number of the sheet, check the preview and print. One sheet holds 189 labels, 7 across and 27 down, so the next sheet starts 189 numbers later; Next sheet moves there. The form is kept in the address, so a bookmark brings back the same sheet.

Leading zeros pad a one-digit number: with three, label 7 reads ASN0007. Larger numbers grow past that width rather than being cut off. Hide prefix in label text prints only the number; the QR code still carries the prefix.

Printing

The layout fits Avery L4731 labels (25.4 × 10 mm) on A4. Every L4731REV-xx pack size, such as L4731REV-25, has the same sheet layout. Print at 100 % scale, without “fit to page”. Try a sheet on plain paper first: with Show label borders on, hold it against a label sheet to check the alignment.

Print from a desktop browser. On iPhone and iPad, every browser prints through the same WebKit print path. It ignores the paper size and margins the page sets, so the labels shift and spill onto a second page.

How it works

Everything runs in your browser. The QR codes are generated on the page, so the numbers never leave it. The generator is open source on GitHub, under the AGPL 3.0, and this page uses it unchanged.