Philipp Klaus
69d8b0395f
brother_ql_print network backend timeout fix ( #23 )
2017-10-18 23:55:52 +02:00
Philipp Klaus
e27bc9d491
brother_ql_analyze can now read from stdin (with '-')
2017-10-18 23:28:46 +02:00
Philipp Klaus
aaf9a085b8
brother_ql_print: log discovered devices to stderr
2017-10-06 22:02:30 +02:00
Philipp Klaus
2f3655b648
Allow low quality printing with --lq
2017-10-06 22:01:52 +02:00
Philipp Klaus
a354cde4eb
New --600dpi flag to support 600x300 dpi mode
2017-10-01 20:59:05 +02:00
Philipp Klaus
88c0920768
create_label() convert rotate to int() early on if not 'auto'
2017-10-01 13:26:37 +02:00
Philipp Klaus
fae49bc1dc
brother_ql_print fix --list-printers to print all found printers
2017-09-19 21:57:59 +02:00
Philipp Klaus
5b3d70842e
brother_ql_analyze: improved INFO output
2017-09-19 21:12:05 +02:00
Philipp Klaus
467c15ef0f
raise exception (instead of sys.exit()) in create_label()
...
create_label() is the most important function to be used (imported)
by other Python scripts and packages. It shouldn't force its calling
code or program to terminate in case of invalid input.
2017-09-19 21:06:39 +02:00
Philipp Klaus
baea505a46
brother_ql_create: fix b/w label creation from .gif files
2017-09-19 21:04:47 +02:00
Philipp Klaus
ee16bd68bb
pushing version to v0.8.dev0
2017-09-19 14:25:43 +02:00
Philipp Klaus
b96cd35ea1
prevent using --red (two color printing) if not supported by model
2017-09-19 14:23:18 +02:00
Philipp Klaus
d373acbbc7
collection of similar software with a link in the README
2017-09-19 13:52:41 +02:00
Philipp Klaus
27c35710cd
also apply --threshold to --red labels
2017-09-19 13:02:47 +02:00
Philipp Klaus
a15084ad02
Convert indexed images (GIF) to RGB (if printing in --red)
2017-09-19 12:54:49 +02:00
Philipp Klaus
610954f800
brother_ql_create --red speedup (saving 90% CPU time)
...
The dissection of the color into red, black, & white now
takes part in the HSV color space (instead of HLS before).
Pillow's built-in capabilities to convert RGB → HSV
are now used.
While the creation of --red labels still takes 16 times longer
than the simple black/white ones, it is now 90% less time than
before this commit.
2017-09-19 12:49:00 +02:00
Philipp Klaus
f52afbac62
brother_ql_analyze: black overrides red
2017-09-19 10:43:21 +02:00
Philipp Klaus
ed97975b9c
QL-800 series: printing black/red/white labels (CLI: --red)
2017-09-19 10:42:12 +02:00
Philipp Klaus
f1fd99f9a7
brother_ql_create new CLI argument --compress
...
* create_label() now accepts a new keyword argument compress.
The default is False → no compression if not set manually.
This will speed-up the label creation in many cases
at the expense of larger file sizes. Set to True if you
don't care about processing time but want to store the
generated label files.
* The brother_ql_create CLI offers this via the new
argument --compress.
New default (if not set): no compression.
2017-09-18 21:05:50 +02:00
Philipp Klaus
00c2cb9712
fix documentation of usb:// descriptor string
2017-09-17 22:04:00 +02:00
Philipp Klaus
ee69e04f80
round labels: state actual / expected size when failing
2017-09-17 21:33:02 +02:00
Philipp Klaus
e2b7e2d7f6
create_label(): first .paste(), then .convert("L")
...
The advantage is that the conversion to grayscale is now done
in the same way for all labels just before the conversion
to b/w.
The memory footprint shouln't increase too much.
And profiling showed that the the performance for small labels
that need pasting didn't deteriorate.
2017-09-17 21:28:17 +02:00
Philipp Klaus
11227c0db6
brother_ql_create: new CLI parameter --dither
2017-09-17 20:44:08 +02:00
Philipp Klaus
d681d0ee9c
new kwarg dither in create_label()
2017-09-17 18:50:03 +02:00
Philipp Klaus
707c33ffff
QL-820NWB is now supported, printing red/black/white not yet
2017-09-16 22:42:59 +02:00
Philipp Klaus
555a51a0ad
adding device dependent settings for QL-800 series
2017-09-16 12:23:34 +02:00
Philipp Klaus
f2c7dbcbce
brother_ql_analyze now supports .bin files for the QL-800 series
2017-09-16 12:15:43 +02:00
Philipp Klaus
b60d140ff4
README: new QL-800 series
2017-08-20 09:35:28 +02:00
Philipp Klaus
3584b6ba5d
Merge pull request #16 from iegomez/master (w/o multiprocessing)
...
Speed up implementation
2017-07-03 11:05:36 +02:00
Philipp Klaus
2c8620f94e
raster.py: Py2 compat
2017-07-03 09:46:15 +02:00
Philipp Klaus
670068ce95
removed multiprocessing for now
2017-07-03 09:45:56 +02:00
Philipp Klaus
f0d924b6f6
Adding/fixing support for round labels
2017-01-01 17:13:31 +01:00
Philipp Klaus
70f500b8d0
QL-550 marked as supported
2016-12-31 17:46:01 +01:00
Philipp Klaus
6e757e1ba9
brother_ql_print's instruction_file argument now accepts - for stdin
2016-12-29 09:09:22 +01:00
Philipp Klaus
5e7855eecf
adding 'name' to the label_type_specs and making it more readable
2016-12-29 09:07:55 +01:00
Philipp Klaus
a4dc9e89f3
Also use transparency fix from 69ba25e for die-cut labels
2016-12-22 23:22:28 +01:00
Philipp Klaus
69ba25ee1a
Fix: images with a transparency layer now use a white background
2016-12-20 14:00:25 +01:00
Philipp Klaus
a8fcd553de
README: link to DEBUG docs fixed
2016-12-18 12:06:29 +01:00
Philipp Klaus
15788ccbe6
PyUSB backend: specify both timeouts in ms
2016-12-17 20:18:56 +01:00
Philipp Klaus
6173a4a470
fix PyUSB backend timeout for long labels
2016-12-17 20:18:13 +01:00
Philipp Klaus
35eae0ab99
fix regression from 44228e6 concerning compression
2016-12-15 20:24:29 +01:00
Philipp Klaus
44228e6b16
Fix: last row not printed
2016-12-15 18:23:36 +01:00
Philipp Klaus
e9159bc88a
fix QL-500 / QL-570 incomplete printing (issue #11 )
2016-12-15 17:48:44 +01:00
Philipp Klaus
74faec45bd
Adding new --rotate argument to brother_ql_create
2016-12-13 15:54:20 +01:00
Philipp Klaus
9da7e0ba28
fixing the --threshold setting (given in percent)
2016-12-13 15:51:58 +01:00
Philipp Klaus
4d842f1fd6
reset version to 0.7.dev0
2016-12-10 17:52:17 +01:00
Philipp Klaus
677259c1f9
releasing v0.7.1
2016-12-10 15:24:19 +01:00
Philipp Klaus
76f4677c12
create/reader: Removing remaining traces of the numpy package
2016-12-10 15:23:57 +01:00
Philipp Klaus
bfad2148b0
README: Default way to install brother_ql is now via PyPI
2016-12-10 14:31:31 +01:00
Philipp Klaus
b0dd96ea47
reset version to 0.7.dev0
2016-12-10 14:30:35 +01:00
Philipp Klaus
8ab1105b26
releasing v0.7.0
2016-12-10 11:50:34 +01:00
Philipp Klaus
87537cb682
setup.py: pandoc README conv & update for PyPI listing
2016-12-10 11:49:45 +01:00
Philipp Klaus
93463234c4
README: make compatible to pandoc's md -> rst conversion
2016-12-10 11:48:56 +01:00
Philipp Klaus
00c9ad870b
README: Add link to PyPI and make Github links absolute
2016-12-10 11:46:14 +01:00
Philipp Klaus
188dea7e96
README: Simplifying the first bullet point about what this does
2016-12-10 11:31:47 +01:00
Philipp Klaus
17274a8f9d
Removing the numpy dependency
2016-12-10 08:51:04 +01:00
Philipp Klaus
c18c3f6faa
removing unused matplotlib requirement
2016-12-06 14:01:37 +01:00
Philipp Klaus
30cf13be48
README: slightly bigger headlines
2016-11-27 10:48:18 +01:00
Philipp Klaus
5537f265d6
README: make matching pixel size a Pro Tip™
2016-11-27 10:46:55 +01:00
Philipp Klaus
4693fe375f
README: fix sentence about Py2/3; setup.py: add QL-570 to keywords
2016-11-25 21:18:02 +01:00
Philipp Klaus
cffdf8c1b7
README: documenting the label sizes
2016-11-25 21:10:15 +01:00
Philipp Klaus
14bcfe9ff4
QL-570 works reportedly
2016-11-22 22:30:16 +01:00
Philipp Klaus
743d9638b8
brother_ql_create: fix creation of endless label size files (black bars)
2016-11-22 20:55:11 +01:00
Philipp Klaus
333cc1f7bb
README: clarify usage w.r.t. CLI tools vs. API
2016-11-20 13:50:11 +01:00
Philipp Klaus
6e06149579
README: Moving the *Analyze* section into DEBUG.md
2016-11-20 13:37:09 +01:00
Philipp Klaus
e0e53bc502
README: wording
2016-11-20 13:10:59 +01:00
Philipp Klaus
f63c40fec3
brother_ql_info: modified CLI, highly improved list-label-sizes output
2016-11-20 13:05:12 +01:00
Philipp Klaus
838e0b38f1
README: explain why, show --help of brother_ql_create & more
2016-11-20 12:43:58 +01:00
Philipp Klaus
1df4f2e507
QL-720NW works nicely too
2016-11-20 12:02:10 +01:00
Philipp Klaus
ddddd6d536
fix broken py3 compat in 7186be08
2016-11-14 21:46:00 +01:00
Philipp Klaus
007cc4fd5c
do not import matplotlib in brother_ql.reader
2016-11-13 17:13:36 +01:00
Philipp Klaus
7a3c638437
brother_ql_create: --no-cut to prevent printer from cutting tape after printing
2016-11-13 17:05:28 +01:00
Philipp Klaus
c8bffc6f2b
removing the brother_ql_web tool. Doesn't belong to this repo
2016-11-13 16:44:55 +01:00
Philipp Klaus
bef9cea8c2
make BrotherQLRaster & create_label avail. at package level
2016-11-13 02:23:43 +01:00
Philipp Klaus
cc7db1ad2b
brother_ql_create: logger missing
2016-11-13 02:22:19 +01:00
Philipp Klaus
7186be08ef
reorganizing the label creation / some fixes
2016-11-13 02:21:05 +01:00
Philipp Klaus
e3e3236b4e
brother_ql_create: enable creation of die-cut labels
2016-11-10 21:46:28 +01:00
Philipp Klaus
66a2e31442
adding brother_ql_info for --list-models and --list-label-sizes
2016-11-10 21:43:35 +01:00
Philipp Klaus
7f658cae3b
devicedependent.py: label_type_specs = {}
2016-11-10 21:42:49 +01:00
Philipp Klaus
13a66a8b1b
devicedependent.py: no compression support in QL-570 it seems
2016-11-10 10:21:34 +01:00
Philipp Klaus
da389e8d1b
README: core functionality, device&Py2 support
2016-11-10 10:10:20 +01:00
Philipp Klaus
27f8c712bb
raster.py: ASCII code hints for the opcodes
2016-11-10 10:05:32 +01:00
Philipp Klaus
7ea82644eb
raster.py: Py2 compat (using the 'future' package)
2016-11-10 10:04:21 +01:00
Philipp Klaus
8ee7df1688
setup.py: specify requirements line-by-line
2016-11-10 10:03:10 +01:00
Philipp Klaus
994f35991d
raster.py: Py2 compat fix
2016-11-09 22:45:07 +01:00
Philipp Klaus
dd18970472
devicedependent.py: updated paper_dimensions table
2016-11-09 22:43:43 +01:00
Philipp Klaus
4eb4a3657d
Fix problem with dev.is_kernel_driver_active(0)
2016-09-20 09:40:23 +02:00
Philipp Klaus
2a0bc50113
fine sanding of some brother_ql_* tools
2016-07-22 18:34:54 +02:00
Philipp Klaus
665a2fc865
brother_ql.web: print exceptions to stderr & listen @ public IPs
2016-07-22 18:33:02 +02:00
Philipp Klaus
0c241adbdf
new .dispose() method to release resources in the backend classes
2016-07-22 18:30:56 +02:00
Philipp Klaus
1b1aa1f45a
Use the new backends in brother_ql_web
2016-07-22 11:00:23 +02:00
Philipp Klaus
4870151a89
brother_ql.backends.backend_factory: Renaming dev_class to backend_class
2016-07-22 10:56:14 +02:00
Philipp Klaus
e113c86fb2
README: even more clarifications
2016-07-21 18:15:31 +02:00
Philipp Klaus
f9a42abe5b
README: Info about all the new functionality
2016-07-21 18:07:08 +02:00
Philipp Klaus
269b5e3c71
Updated the README to reflect all the new features
2016-07-21 18:01:17 +02:00
Philipp Klaus
2c4f5e6858
brother_ql_create: new --list-models arg and less confusing --debug output
2016-07-21 17:57:43 +02:00
Philipp Klaus
6621134df9
New brother_ql.backends package
...
The brother_ql.backends package provides backends for
* network (via raw TCP/IP sockets)
* linux_kernel (via device handles like /dev/usb/lp0 etc.)
* pyusb (via PyUSB)
The new backends are in use by the additional scripts
* brother_ql_debug
* brother_ql_print
2016-07-21 17:51:11 +02:00
Philipp Klaus
6c7f68e2b0
small fix in brother_ql.devicedependent
2016-07-21 17:44:01 +02:00
Philipp Klaus
c6205ab32a
every brother_ql_xxx tool now corresponds to ./brother_ql/brother_ql_xxx.py
2016-07-21 17:43:23 +02:00
Philipp Klaus
7de4c0b3c5
Adding 'status information request' to the raster operations
2016-07-21 17:40:30 +02:00