Elias Probst f9d2cb4469 feat: improve handling of output directory
- don't fail, when the directory doesn't exist but create it instead
- handle failures to create the output directory properly
- use f-string formatting to simplify building the output filename
- use OS-independent `os.path.join` to build the output path
2023-11-17 18:35:13 +01:00
2023-10-29 15:03:47 +00:00
2023-10-29 15:03:47 +00:00
2023-10-29 15:03:47 +00:00
2023-10-29 15:03:47 +00:00
2023-10-29 15:03:47 +00:00

ASN labels for Paperless-ngx on Avery labels

The recommended workflow of Paperless-ngx uses QR codes for ASN (archive serial number) labels. This script helps creating them using Python. It outputs a PDF for printing on the label sheets. Make sure to set print size to 100%, not fit to page or similar.

Other Avery (or competitor's) label sizes can be added to labelInfo in AveryLabels.py. All other settings are configured at the top part of main.py.

Use these settings for an initial position test to align your printer:

mode = "text"
debug = True

labelsAlreadyPrinted = 0
labelsCorrupted = 0
labelsToPrint = 1

positionHelper = True

Credits

This is based on the work from timrprobocom

Description
No description provided
Readme 67 KiB
Languages
Python 100%