Paperless-ngx
Paperless-ngx has no lookup plugin in Labelyard. Labels for documents, such as archive serial number (ASN) labels, are printed by calling the hub’s API.
- In Labelyard, create an API key with
printscope for this purpose (see API keys). - Optional: under Settings > Integrations > Paperless enter the Paperless address and an API token and test the connection. Or set
LABELYARD_PAPERLESS_URLandLABELYARD_PAPERLESS_TOKEN.
Printing a label
Section titled “Printing a label”Send the text and the QR content yourself in data:
curl -X POST https://labelyard.example.com/api/v1/print \ -H "X-Label-Hub-Key: lh_..." -H "Content-Type: application/json" \ -d '{"content_type": "qr_one_line", "data": {"title": "ASN 000123", "primary_id": "ASN000123", "qr_payload": "ASN000123"}}'The response carries the job ID; the print queue shows how to follow it. For many labels at once onto a sheet, see the sheet endpoints in the API reference.