Skip to content

Releases: pklaus/brother_ql

brother_ql v0.9.4

13 Jan 00:51
Compare
Choose a tag to compare

Architectural:

  • Probably the biggest change happened under the hood:
    This change introduces the new modules brother_ql.models and brother_ql.labels, which use attrs for the modeling of their main classes Label() and Model(). Previously, the definition of models and their capabilities was done with simple structures (lists and dictionaries) in the module brother_ql.devicedependent. In order not to break older code relying on those definitions, the data structures in the devicedependent module are still accessible (with no changes to existing code), but might be removed at a later stage. (1cfc7e7)

Documentation:

Bug Fixes:

  • Fixed: USB Operation Timeout while printing label #48 (16dccc1)

brother_ql v0.9.3

14 Sep 15:09
Compare
Choose a tag to compare

New Functionality:

  • brother_ql.backends.helpers.send() now returns a dictionary containing a lot of information about the success of sending the instruction file and thus printing a label in the usual case (801b36b).
  • CLI command brother_ql print does now accept image input from stdin when the placeholder filename - is provided (0c59fa9).

Improved Documentation:

  • New section Backends to be found in the README / package description including a table about OS support (#38, 660c7bb, 4820b67, 5bc0f94, 1aa793b).
  • Printer model QL-810W confirmed to be working with the brother_ql package (d589f4e).

Bug Fixes:

  • Fixed: CLI flag --no-cut of the brother_ql CLI tool was functionless (abd9ebe).

Changed Behaviour:

  • brother_ql CLI: Removed the --cut option. As cutting is the default, only the inverted flag --no-cut is left (abd9ebe).
  • Failure interpreting a printer state response now raises NameError instead of failing an assert check (ec4b7a9).
  • The optional dependency pyusb is now a full dependency of the package as its package size is quite small anyhow (#38, 6b39795).

Miscellaneous:

  • New module brother_ql.exceptions now containing the custom exceptions used within this software. They were defined at the package level (brother_ql.init) previously (35a53b9, f7e34a3).
  • A message logged within the class BrotherQLRaster (raster_image_size) is now silenced to debug level (f183afb).

brother_ql v0.9.2

03 Sep 15:34
Compare
Choose a tag to compare

New Functionality:

  • New CLI command brother_ql info env 78b5667
  • new CLI option brother_ql --version (#34) 1fb11eb

Miscellaneous:

  • Updated README: Installation, Deprecated CLI Tools, Author, Contributing 90076be,
    0f03cfe

Bug Fixes:

  • fixed: running brother_ql on Python 2 was raising NotImplementedError (#40) 7ab1e67
  • fixed: convert() failed when supplied with PIL.Image instance instead of image filename (#39) 4ac1c76
  • fixed pyusb backend: make the right iface is being selected d209040, fe55344

brother_ql v0.9.1

08 Aug 17:53
Compare
Choose a tag to compare

improvements:

  • The README now contains the table of labels and ideal pixel sizes for input images again, based on the new CLI tool brother_ql info.

fixes:

  • The module brother_ql.reader used by the CLI tool brother_ql analyze (and the old one brother_ql_analyze) is now working on Python2 as well. Thanks @spidfire for reporting a possible fix.
  • A small error in the help of the brother_ql CLI was fixed.

brother_ql v0.9.0

08 Aug 17:09
Compare
Choose a tag to compare

This release ships with a new unified CLI named brother_ql, just like the package itself is called.
It is based on click giving it a lot of features out of the box such as setting parameters via environment variables, very flexible command handling, tab completion in Bash and many more.

To implement the new CLI with as little overhead as possible, a lot of the code previously found in the source files of the old CLI tools was moved into generic modules. For example, the code to create a label is now found in the function convert() in brother_ql.conversion instead of its previous place in the function create_label() in brother_ql.brother_ql_create.

This will slowly deprecate the other CLIs such as

  • brother_ql_create
  • brother_ql_print
  • brother_ql_info
  • brother_ql_analyze
  • brother_ql_debug

In addition, a small error was fixed in the BrotherQLReader class resulting in a TypeError raised. It's output image file names are now configurable.

API changes: The dictionary data structure returned by list_available_devices() has now a renamed key: What was string_descr before is now called identifier.

brother_ql v0.8.6

10 Jul 10:17
Compare
Choose a tag to compare

Bug Fixes:

  • Printing greyscale images to black&red tape should work now without causing a 'ValueError: conversion from L to HSV not supported' exception

brother_ql v0.8.5

02 Jul 12:37
Compare
Choose a tag to compare

Version 0.8.5 is now available. It has the exact same features as v0.8.4 as it's based on the exact same source code. However the distribution is now available in source and binary distribution format.

Miscellaneous:

  • The package is now built as a universal binary wheel distribution using python setup.py bdist_wheel --universal.

brother_ql v0.8.4

20 Feb 20:44
Compare
Choose a tag to compare

New Functionality:

  • QL-1050 confirmed to work.

Miscellaneous:

  • Inform in the README about the need to disable the "Editor Lite" mode where available.
  • There is a web interface for brother_ql: brother_ql_web. The link is now part of the README.
  • The readme was claiming incorrectly that the 600dpi wasn't supported (it is supported since a354cde).

Bug Fixes:

  • The right margin on the QL-1050 (and QL-1060N) are now fixed. The printout should now be properly aligned with the labels.
  • Removed undesirable and old dependency on numpy in brother_ql/reader.py.
  • Require the pillow package newer or equal to version 3.3.0. Using older versions of that package together with brother_ql resulted in errors like this when creating labels:

    TypeError: an integer is required (got type tuple)

brother_ql v0.8.3

06 Jan 17:34
Compare
Choose a tag to compare

Bug Fixes:

  • Printing on Brother DK-11241 (102mm x 152mm) would fail because of incorrect dimensions (fix for issue #27)

brother_ql v0.8.2

18 Oct 22:17
Compare
Choose a tag to compare

New Functionality:

  • New flag --600dpi for brother_ql_create! You can now print with the higher resolution (600x300 dpi). Just provide an image file with twice the number of pixels in both dimensions as you'd do for the (normal) 300dpi mode.
  • New flag --lq (low quality) for brother_ql_create to enable faster printing with (much) lower quality.

Bug Fixes:

  • Printing of GIF images is fixed regardless of the --red flag
  • Fixed a timeout issue with the network backend of brother_ql_print, that occurred when printing longer labels (or via slow connections).

Changed behaviour:

  • The create_label() function in brother_ql_create.py may now raise a ValueError upon bad image pixel size (die-cut labels only) instead of calling sys.exit()
  • brother_ql_print now lists ALL printers found, not just one. A connection string per device will be printed to stdout (one printer per line) and more verbose information will be printed to stderr. This helps with parsing the output of the tool in scripts.
  • brother_ql_analyze can now read from stdin (with -). This means you can directly pipe the output there like this:
    brother_ql_create --rotate 90 --model QL-710W your_image.png | brother_ql_analyse -