If not working, run "Filter Wizard" (lib-win32 filter installer), remove all filters and install fresh.
When preparing a project with several dootronics labels are always some work. Labdoo.org offers the possibility to print several labels in a sheet, but still have to be printed and cut. The idea of this script is automatize this process with a QL Brother label printer.
The idea is simple:
- Read configurations parameters of a file (printer and model) - config.json
- Read the dootronics ids to be printed from a file - tags.txt
- Iterate through the ids and print the device label, the power adapter label and battery label
Between every label a user iteraction will be waited to give the user time to cut the label.
It is still a mock-up and the script is not very programmable... i.e. 50 mm label I am using is hard coded... There is still missing some error detection i.e. if a Dootronic ID does not exists...
For the installation just clone the repository and installed the needed libraries with pip (Requirements.txt will follow)
Customize the config.json with your settings:
- brother_ql_cmd : if the "brother_ql" command is not in your PATH, you can enter the full path name here
- printer : printer path with QL-500 on windows, likely: "usb://0x04f9:0x2015"
- model : model of the printer
- print_device_tag : true / false, whether you want the device tag printed
- print_power_adapter : true / false, whether you want the power adapter tag printed
- print_battery_comp : true / false, whether you want the battery tag printed
Write the Dootronics IDs in tags.txt - one ID per line and just 5 digits (omiting 000 of the beginning)
Thanks @pklaus (https://gist.github.com/pklaus) for the great library https://github.com/pklaus/brother_ql
Thanks @jfdzar for the linux version https://github.com/jfdzar/brother_ql_labdoo_tags_printer