Skip to main content

inventree-dynamic-template-functions-plugin

A plugin for InvenTree, which provides some more helper functions for label templates.

Old below

This plugin supports printing to some Brother label printers with network (wired or WiFi) support. Refer to the brother_ql docs for a list of label printers which are directly supported.

Installation

Minimum Requirements

[!IMPORTANT] This plugin now requires the "modern" InvenTree UI - version 0.18.0 or newer. The plugin will not function correctly on an InvenTree instance below version 0.18.0

Installation Procedure

Install this plugin manually as follows:

pip install inventree-brother-plugin

Or, add to your plugins.txt file to install automatically using the invoke install command:

inventree-brother-plugin

Now open your InvenTree's "Admin Center > Plugins" page to activate the plugin. Next, read below for instructions on setting up a printer via "Admin Center > Machines".

Setup a machine instance for a Brother Label Printer

This plugin provides a driver for the machine registry in InvenTree, where multiple instances of this driver can be set up for each physical label printer you want to connect to. Each machine has its own individual configuration set.

To set up a new machine, go to "Admin Center > Machines" and hit the "+" button. Now choose a name for this specific printer, select "Label Printer" as machine type and "Brother Label Printer Driver" as a driver, then submit. The new printer will now be listed in the machines table. To configure the printer, click on its line to open the "Machine detail" panel where you can set the "Driver Settings" to match your label printer.

Configuration Options

The following list gives an overview of the available settings. Also check out the brother-ql package for more information.

  • Printer Model Currently supported models are: QL-500, QL-550, QL-560, QL-570, QL-580N, QL-600, QL-650TD, QL-700, QL-710W, QL-720NW, QL-800, QL-810W, QL-820NWB, QL-1050, QL-1060N, QL-1100, QL-1100NWB, QL-1115NWB, PT-P750W, PT-P900W, PT-P950NW

  • Label Media Size and type of the label media. Supported options are (not all labels are available on all printers): 12, 18, 29, 38, 50, 54, 62, 62red, 102, 103, 104, 17x54, 17x87, 23x23, 29x42, 29x90, 39x90, 39x48, 52x29, 54x29, 60x86, 62x29, 62x100, 102x51, 102x152, 103x164, d12, d24, d58, pt12, pt18, pt24, pt36

  • IP Address If connected via TCP/IP, specify the IP address here.

  • USB Device If connected via USB, specify the device identifier here (VENDOR_ID:PRODUCT_ID/SERIAL_NUMBER, e.g. from lsusb).

  • Auto Cut Cut label after printing.

  • Rotation Rotation angle, either 0, 90, 180 or 270 degrees.

  • Compression Set image compression (required for some printers).

  • High Quality Print in high quality (required for some printers).

Metadata

Release files for inventree-dynamic-template-functions-plugin 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inventree-dynamic-template-functions-plugin 0.1.0
File Size Uploaded
inventree_dynamic_template_functions_plugin-0.1.0.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for inventree-dynamic-template-functions-plugin 0.1.0
File Interpreter ABI Platform
inventree_dynamic_template_functions_plugin-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.3 kB

Release files / inventree_dynamic_template_functions_plugin-0.1.0.tar.gz

Download URL inventree_dynamic_template_functions_plugin-0.1.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
22d96eb6f6683763e396b50e4817587900fe47283ba0323fe980f367c459e075
BLAKE2b-256 checksum
How to use checksums
1025fd9b4de6ffaf7611abaa560f203857c3123a8e321105e18da05dcc924f0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / inventree_dynamic_template_functions_plugin-0.1.0-py3-none-any.whl

Download URL inventree_dynamic_template_functions_plugin-0.1.0-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
629d7036f27b00bf79fa22c66bf5066780928902b72177281aad85b5853c470c
BLAKE2b-256 checksum
How to use checksums
dc90a2ce13bfaa18eb709ef0266402467eb43287c8f13e9eb0c35e7d7a4fb177
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page