2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-27 04:56:45 +00:00

[REPO] Add plugin inventree-niimbot-plugin (#215)

* [REPO] Add plugin inventree-niimbot-plugin

* Update inventree-niimbot-plugin.md

added package to PyPi

---------

Co-authored-by: piramja <piramja@honeymelon>
This commit is contained in:
piramja 2024-10-24 00:17:36 +02:00 committed by GitHub
parent a40af042c4
commit ad97166043
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 64 additions and 0 deletions

7
_publishers/piramja.md Normal file
View File

@ -0,0 +1,7 @@
---
short_name: piramja
name: Martin P.
github: piramja
website: https://www.piramja.de/
---
And in the end, we have no choice but to embrace the chaos and laugh about it.

View File

@ -0,0 +1,57 @@
---
name: inventree-niimbot-plugin
author: piramja
license: MIT
open_source: true
stable: true
maintained: true
pypi: true
package_name: inventree-niimbot-plugin
github: https://github.com/piramja/inventree-niimbot-plugin
issue_tracker: https://github.com/piramja/inventree-niimbot-plugin/issues
categories:
- Label
tags:
- Niimbot
- Printer
- Label
---
## Introduction
A label printing plugin for [InvenTree](https://inventree.org), which provides support for the [Niimbot Label Printers](https://www.niimbot.com/enweb/product_label.html?category_id=6). This plugin is based on the amazing work from [labbots/NiimPrintX](https://github.com/labbots/NiimPrintX/tree/main) and modifications from [LorisPolenz/NiimPrintX](https://github.com/LorisPolenz/NiimPrintX/tree/main).
## Installation
Install this plugin manually as follows:
```
pip install inventree-niimbot-plugin
```
Or, add to your `plugins.txt` file to install automatically using the `invoke install` command:
```
inventree-niimbot-plugin
```
## Configuration Options
The following list gives an overview of the available settings. You find them under the InvenTree plugin specific settings.
* **Printer Model**
Currently supported models are:
b1, b18, b21, d11, d110 (but i was only able to test b1 because i don't have other printer models. Please report back if you can test other models!!).
* **Density**
The print density. Different models seem to accept only certain values (b1 accepts 1-3).
* **Rotation**
Rotation angle, either 0, 90, 180 or 270 degrees.
* **Scaling**
Scaling factor, from 10% to 200%.
* **Vertical Offset**
Vertical offset, from 0 to 200px.
* **Horizontal Offset**
Horizontal offset, from 0 to 200px.