Code for generating paperless ASN labels with QR codes
Project description
paperless-asn-qr-codes
paperless-asn-qr-codes
is a command line utility for generating ASN labels
for paperless with both a human-readable representation, as well as a QR code
for machine consumption. The labels are Avery 4731 labels.
Installation
pip install paperless-asn-qr-codes
Usage
usage: paperless-asn-qr-codes [-h] [--format {averyL4731,avery5160,avery5161,avery5163,avery5167,avery5371}] [--border] start_asn output_file
CLI Tool for generating paperless ASN labels with QR codes
positional arguments:
start_asn The value of the first ASN
output_file The output file to write to (default: labels.pdf)
options:
-h, --help show this help message and exit
--format {averyL4731,avery5160,avery5161,avery5163,avery5167,avery5371}, -f {averyL4731,avery5160,avery5161,avery5163,avery5167,avery5371}
--digits DIGITS, -d DIGITS
Number of digits in the ASN (default: 7, produces 'ASN0000001')
--border, -b Display borders around labels, useful for debugging the printer alignment
Mandatory arguments
<start_asn>
: The value of the first ASN to generate
Optional arguments
<output_file>
: The name of the output file to write to (default: labels.pdf)
-h
,--help
: Shows the help message-f
,--format
: Selects the format of the output sheet (see Supported Sheets)-d
,--digits
: Specifies the number of digits in the ASN (e.g. for the default number 7, the ASN will look like 'ASN0000001')-b
,--border
: Generates the borders around the labels to help debug alignment issues (see Tips & Tricks)
Supported Sheets
Some different sheet types are supported with the -f
/--format
argument, however, not all are tested.
The default is Avery L4731.
Currently tested and known working are:
- Avery L4731 (DIN A4 Labels)
Tips & Tricks
In case your printer has alignment issues, you can generate a PDF with borders around the labels by using the
-b
/--border
option.
License
paperless-asn-qr-codes
is distributed under the terms of the
GPL-3.0 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for paperless_asn_qr_codes-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36124319b0d4ab2d6f4dfa8508d2cf81e385de0462632ffdd3309033c5d1e08d |
|
MD5 | 585be7bfba50440f6d9596641cff6a57 |
|
BLAKE2b-256 | ea478d46467a7f5d7d68cf11eecd958d3d2e2ae0015b541b4d8a337109439576 |
Hashes for paperless_asn_qr_codes-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2bb9282b9989b2cdb496f5acc46843a19dde7871b7edc20848d3218f365f205 |
|
MD5 | 1bf96f731fac5e40844bc3025be97722 |
|
BLAKE2b-256 | b00b67ff75725c91b2219657fd50f895f650c7b5c9db3fe2066c86d01b4b9172 |