This is a large refactor. Code has been run through Black-formatter.
A new CLI tool, cli.py, has been added to interface with the new niimprinter class that has been added. This CLI tool allows the end-user to print a label using a text string as input. The new niimprinter class interfaces with the module source, this was done to further add modularization so that the module can support different devices.
Pillow has been downgraded to version 9.5 to accommodate the new requirement, piltextbox, which is used for printing labels from a given text string.
This is a large refactor. Code has been run through Black-formatter. A new CLI tool,
cli.py
, has been added to interface with the newniimprinter
class that has been added. This CLI tool allows the end-user to print a label using a text string as input. The newniimprinter
class interfaces with the module source, this was done to further add modularization so that the module can support different devices.Pillow has been downgraded to version 9.5 to accommodate the new requirement,
piltextbox
, which is used for printing labels from a given text string.