[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![PEP](https://github.com/inventree/inventree-python/actions/workflows/pep.yaml/badge.svg)
# inventree-brother-plugin
A label printing plugin for [InvenTree](https://inventree.org), which provides support for the [Brother label printers](https://www.brother.com.au/en/products/all-labellers/labellers).
This plugin supports printing to *some* Brother label printers with network (wired or WiFi) support. Refer to the [brother_ql docs](https://github.com/pklaus/brother_ql/blob/master/brother_ql/models.py) for a list of label printers which are directly supported.
## Installation
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
```
### Debian / Ubuntu requirements
The following command can be used to install all OS-requirements on Debian / Ubuntu-based distros:
```bash
apt install build-essential libpoppler-cpp-dev pkg-config poppler-utils
```
You might also need the following Python packages:
```bash
pip install pdf-info python-poppler
```
## 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).
Raw data
{
"_id": null,
"home_page": "https://github.com/inventree/inventree-brother-plugin",
"name": "inventree-brother-plugin",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "inventree label printer printing inventory",
"author": "Oliver Walters",
"author_email": "oliver.henry.walters@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2c/0e/6415c132465d30141be576998fbdac30849b9cef7633f16f4ae4187899b6/inventree-brother-plugin-0.9.0.tar.gz",
"platform": null,
"description": "[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n![PEP](https://github.com/inventree/inventree-python/actions/workflows/pep.yaml/badge.svg)\n\n\n# inventree-brother-plugin\n\nA label printing plugin for [InvenTree](https://inventree.org), which provides support for the [Brother label printers](https://www.brother.com.au/en/products/all-labellers/labellers).\n\nThis plugin supports printing to *some* Brother label printers with network (wired or WiFi) support. Refer to the [brother_ql docs](https://github.com/pklaus/brother_ql/blob/master/brother_ql/models.py) for a list of label printers which are directly supported.\n\n## Installation\n\nInstall this plugin manually as follows:\n\n```\npip install inventree-brother-plugin\n```\n\nOr, add to your `plugins.txt` file to install automatically using the `invoke install` command:\n\n```\ninventree-brother-plugin\n```\n \n### Debian / Ubuntu requirements\n\nThe following command can be used to install all OS-requirements on Debian / Ubuntu-based distros:\n```bash\napt install build-essential libpoppler-cpp-dev pkg-config poppler-utils\n```\n\nYou might also need the following Python packages:\n```bash\npip install pdf-info python-poppler\n```\n\n## Configuration Options\nThe following list gives an overview of the available settings. Also check out the `brother-ql` package for more information.\n\n* **Printer Model**\nCurrently supported models are: \nQL-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\n\n* **Label Media**\nSize and type of the label media. Supported options are (not all labels are available on all printers): \n12, 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\n\n* **IP Address**\nIf connected via TCP/IP, specify the IP address here.\n\n* **USB Device**\nIf connected via USB, specify the device identifier here (VENDOR_ID:PRODUCT_ID/SERIAL_NUMBER, e.g. from `lsusb`).\n\n* **Auto Cut**\nCut label after printing.\n\n* **Rotation**\nRotation angle, either 0, 90, 180 or 270 degrees.\n\n* **Compression**\nSet image compression (required for some printers).\n\n* **High Quality**\nPrint in high quality (required for some printers).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Brother label printer plugin for InvenTree",
"version": "0.9.0",
"project_urls": {
"Homepage": "https://github.com/inventree/inventree-brother-plugin"
},
"split_keywords": [
"inventree",
"label",
"printer",
"printing",
"inventory"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ff243a7de7d9945fd4cc2c49545a279045b1c49097f27bec7a0b266f37689115",
"md5": "ca4d0ad28c5f4f44645024c31edc695c",
"sha256": "1b81c6389d4b3310fbcc784097bb2cc36d4cca3fd1b3e25e60888bc99bd43c4a"
},
"downloads": -1,
"filename": "inventree_brother_plugin-0.9.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "ca4d0ad28c5f4f44645024c31edc695c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.9",
"size": 6777,
"upload_time": "2024-03-18T21:59:51",
"upload_time_iso_8601": "2024-03-18T21:59:51.476867Z",
"url": "https://files.pythonhosted.org/packages/ff/24/3a7de7d9945fd4cc2c49545a279045b1c49097f27bec7a0b266f37689115/inventree_brother_plugin-0.9.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2c0e6415c132465d30141be576998fbdac30849b9cef7633f16f4ae4187899b6",
"md5": "25c3d92ba8f760844a1d0faf88298c6d",
"sha256": "d25972895f2233ab3b288d72c3114eef712eb2339d982b4880760dc5b9daaf37"
},
"downloads": -1,
"filename": "inventree-brother-plugin-0.9.0.tar.gz",
"has_sig": false,
"md5_digest": "25c3d92ba8f760844a1d0faf88298c6d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 5604,
"upload_time": "2024-03-18T21:59:53",
"upload_time_iso_8601": "2024-03-18T21:59:53.803602Z",
"url": "https://files.pythonhosted.org/packages/2c/0e/6415c132465d30141be576998fbdac30849b9cef7633f16f4ae4187899b6/inventree-brother-plugin-0.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-18 21:59:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "inventree",
"github_project": "inventree-brother-plugin",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "inventree-brother-plugin"
}