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.

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 L4731REV-25 labels.

To use this tool, enter the start number, prefix, and number of leading zeros. Then click the "Regenerate Labels" button. The labels will be generated and displayed below. You can then print the labels by clicking the "Print Labels" button.

To fine-tune the label alignment for your specific printer or label sheet, you can adjust the following parameters: Vertical Offset moves the entire label grid up or down on the page, while Horizontal Offset shifts it left or right. Label Height controls the height of each individual label, and Content Scale resizes the text and QR code inside each label. The Show Border option adds a visible border around each label, which can help with calibration and print alignment. Use these settings to ensure the labels are printed accurately on your sheet.

One known limitation of this tool is that it only works on Google Chrome and possibly Firefox. This is because it uses the @page CSS rule to control the page size, margin, and to turn off the default header and footer of the browser.

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.

The following parameters are useful for debugging or to calibrate the print out.

Adjusts the vertical position of the entire label sheet on the page. Use this if the labels are printing too high or too low.

Adjusts the horizontal position of the entire label sheet on the page. Use this if the labels are printing too far to the left or right.

Sets the height of each individual label in millimeters. Adjust this if the labels don't align vertically with the label sheet.

Scales the entire content inside each label. Use this if the text or QR code is too large or too small.