Skip to content

codingkrabbe/brother_ql_labdoo_tags_printer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brother QL Labdoo Tags Printer

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:

  1. Read configurations parameters of a file (printer and model) - config.json
  2. Read the dootronics ids to be printed from a file - tags.txt
  3. 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...

Installation

For the installation just clone the repository and installed the needed libraries with pip (Requirements.txt will follow)

Usage

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)

Acknowledgment

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%