NiimPrintX is a Python library designed to seamlessly interface with NiimBot label printers via Bluetooth. This library supports a range of models including D11/B21/B1, D110, and B18.
Not all possible sizes are covered by the app, and new sizes might become available in the future. Each new size requires an update to the app.
Solution
I suggest a configuration file that holds the values from AppConfig.py in JSON, YAML, or TOML format. This would allow users to manually modify the parameters more easily.
Optional
To avoid overwriting the default file when a new version of the app is released, it would be useful to support both a default config and a user config that would be added to .gitignore. Additionally, there could be a CLI command to add the required label size to the user config file.
Problem
Not all possible sizes are covered by the app, and new sizes might become available in the future. Each new size requires an update to the app.
Solution
I suggest a configuration file that holds the values from
AppConfig.py
inJSON
,YAML
, orTOML
format. This would allow users to manually modify the parameters more easily.Optional
To avoid overwriting the default file when a new version of the app is released, it would be useful to support both a
default
config and auser
config that would be added to.gitignore
. Additionally, there could be a CLI command to add the required label size to theuser
config file.