Releases: pklaus/brother_ql
brother_ql v0.9.4
Architectural:
- Probably the biggest change happened under the hood:
This change introduces the new modulesbrother_ql.models
andbrother_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 modulebrother_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:
- Related (and unrelated) software now to be found in a separate Gist (bc9564e)
- Printer model QL-1060N confirmed to be working (63f05c2).
- Printer model QL-560 confirmed to be working (#51, 40a1bad).
Bug Fixes:
brother_ql v0.9.3
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 thebrother_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:
brother_ql v0.9.2
New Functionality:
Miscellaneous:
Bug Fixes:
brother_ql v0.9.1
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 toolbrother_ql analyze
(and the old onebrother_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
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
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
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
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
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
New Functionality:
- New flag
--600dpi
forbrother_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) forbrother_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 aValueError
upon bad image pixel size (die-cut labels only) instead of callingsys.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 -