QR Code Label Generator for ASN in Paperless-ngx

This tool generates QR code labels for the Archive Serial Number (ASN) feature in Paperless-ngx.

The ASN feature allows you to assign a unique serial number to each document in your archive. This is useful if you want to refer to a document in a paperless workflow. For example, you can print the ASN on a document and then use it to search for the document in Paperless-ngx.

A typical workflow: stick a label on each paper document you keep, scan it, and file the paper in a binder in ASN order. Paperless-ngx reads the QR code during consumption, so the ASN in Paperless-ngx tells you where the original is. The blog post How I over-engineered my private document management system describes this workflow in a full Paperless-ngx setup.

This tool generates QR code labels for the ASN feature. You can generate labels for up to 189 documents at once. The labels are formatted to fit on Avery L4731 labels. Every L4731REV-xx pack size, such as L4731REV-25, shares the same layout.

To use this tool, enter the start number, prefix, and number of leading zeros. The labels below update as you type. You can then print the labels by clicking the "Print Labels" button. "Next Sheet" moves the start number on by one sheet for the next print run. "Hide Prefix in Label Text" prints only the number on each label, while the QR code keeps the prefix.

Print from a desktop browser. On iPhone and iPad, the printout ignores the page's size and margins, so the labels move and spill onto a second page.

The number of labels generated will be 7 x 27 = 189. This means the next batch of labels should start with 190.

If you change this, update the prefix in Paperless-ngx accordingly via PAPERLESS_CONSUMER_ASN_BARCODE_PREFIX.

This may be useful for debugging or to calibrate the print out.

Prints only the number next to the QR code. The QR code still contains the prefix, so Paperless-ngx reads the full ASN.