1
0
mirror of https://github.com/pdewacht/brlaser synced 2025-04-09 22:06:44 +02:00

9 Commits

Author SHA1 Message Date
Peter De Wachter
172c3bf87b Don't compress across bands (#39)
This essentially re-introduces 7ed0d6f, but with a simpler
implementation. Some printers needed it after all.
2019-09-10 23:13:15 +02:00
Peter De Wachter
41c56264a8 Revert "Do not use delta-encoding across block boundaries"
This reverts commit 7ed0d6f2e8d5a8192c5621898b3ff920c95b66dc.

This was intended as a possible fix for problems with the HL-L2300D
(#4), but it didn't help. And it worsens compression.
2018-07-03 22:37:35 +02:00
Peter De Wachter
7ed0d6f2e8 Do not use delta-encoding across block boundaries
Possible a fix for issue #4

Also: in block.h, rename line_bytes_ to block_size_
2018-04-11 22:45:08 +02:00
Peter De Wachter
39ed3c5708 Cleanups 2018-01-27 00:18:19 +01:00
xc-racer99
7e59e6147e Add duplex code for DCP-7065DN
The official Brother driver treats Tumble and NoTumble differently, adding &l2S and &l1S respectively to the header.

Unfortunately, for me this resulted in missing lines in NoTumble.  By treating everything as Tumble and simply sending data rotated 180 for Tumble we get a good quality printout.
2017-05-01 12:26:22 -07:00
xc-racer99
5c5118edc1 Move num_copies to only the header
It's not needed to be at the beginning of every page and messes up duplex printing if it is
2017-05-01 12:26:17 -07:00
Peter De Wachter
bb1ba17b4f Split out block.h 2014-02-04 21:50:11 +01:00
Peter De Wachter
66ea095ede Changes to support GCC 4.6
GCC 4.6 is the oldest release that can compile this code without significant
changes.
2014-01-26 15:07:53 +01:00
Peter De Wachter
b7af16450c brlaser version 1 2013-12-27 16:58:00 +01:00