Peter De Wachter
4414717ed4
Avoid overlong encodings, improve compression ratio
2018-07-03 22:42:22 +02:00
Peter De Wachter
41c56264a8
Revert "Do not use delta-encoding across block boundaries"
...
This reverts commit 7ed0d6f2e8
.
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
4f2f1d606e
Add Brother HL-L2360DW ( Closes #22 )
2018-03-17 12:15:49 +01:00
Peter De Wachter
de26cc4bf0
Add Brother MFC-7240 ( Closes #21 )
2018-03-13 22:07:13 +01:00
Peter De Wachter
d80491b105
Version 4
2018-02-25 18:47:30 +01:00
Peter De Wachter
a521498233
Merge pull request #19 from StijnDW/master
...
Allow the user to define cups config variables
2018-02-17 19:04:27 +01:00
Stijn DW
bd7a6f3179
Allow the user to define cups config variables
...
This is needed when the paths reported by cups-config are read-only.
As is the case in the NixOS distribution.
2018-02-17 18:52:46 +01:00
Peter De Wachter
ba25b63af6
Add Brother DCP-7040
2018-01-29 08:06:48 +01:00
Peter De Wachter
3946f2e3d6
Add Brother HL-L2300D
2018-01-28 22:34:10 +01:00
Peter De Wachter
0536c6bcad
Updated/expanded readme
2018-01-27 00:19:00 +01:00
Peter De Wachter
3008302bb5
Add OpenBSD pledge
2018-01-27 00:18:19 +01:00
Peter De Wachter
39ed3c5708
Cleanups
2018-01-27 00:18:19 +01:00
Peter De Wachter
4209526ef0
setlocale shouldn't be needed
2018-01-27 00:18:19 +01:00
Peter De Wachter
8007996fe7
Fix ppdc warning
2018-01-27 00:18:19 +01:00
Peter De Wachter
cf4fbc86ba
CMake: enable assert() for all build types
2018-01-27 00:18:19 +01:00
Peter De Wachter
ab59a83caa
Fix brlaser.drv for cmake conversion
2018-01-27 00:18:19 +01:00
Peter De Wachter
6e9793833f
CMake conversion
2018-01-27 00:18:19 +01:00
Peter De Wachter
d25ba26132
Merge pull request #17 from blob79/install_ubuntu
...
Add documentation how to install under Ubuntu
2018-01-25 14:45:46 +01:00
blob79
fbcc6924e8
Add documentation how to install under Ubuntu
2017-12-09 08:04:29 +01:00
Peter De Wachter
f1e0b2df54
Reduce log level of cupsRasterOpen failure
...
If cupsRasterOpen fails, the most likely cause is that some earlier
filter didn't produce any output. If we output an error-level message
in this situation, we'll likely displace some earlier, more useful
message by the other filter.
2017-11-02 00:06:58 +01:00
Peter De Wachter
718053fa36
Add package name to all log messages
2017-10-30 20:07:27 +01:00
Peter De Wachter
931c677443
Get rid of iconv()
...
PJL has a job name field. I don't think this is used for anything, but
just in case I want to put something human-readable there. But it's
also probably a good idea to keep this pure ASCII text.
Previously I used iconv() to convert the CUPS job name to ASCII. But:
- on FreeBSD, an explicit "-liconv" seems to be necessary (#10 ),
- there's an autoconf macro to deal with this, but it's tangled up
with gettext and it seems like a hassle,
- the //TRANSLIT//IGNORE feature I used seems to be a GNU extension
and probably won't work on other systems anyway.
So instead, let's just concatenate some job information together,
dropping any non-ASCII component. That's probably good enough.
2017-10-23 22:09:29 +02:00
Peter De Wachter
853db9e5a2
Add Brother MFC-7360N
...
From Debian bug report #862750 ; thanks to Mark A. Hershberger.
2017-10-14 21:55:30 +02:00
Peter De Wachter
2fd541c046
Clean up brlaser.drv.in
2017-10-14 21:53:45 +02:00
Peter De Wachter
69cc0bfcc7
Merge remote-tracking branch 'xc-racer99/master'
2017-10-14 21:40:58 +02:00
Peter De Wachter
4fdd8c95a8
Merge pull request #7 from rkreis/dcp1510
...
Add Brother-DCP1510
2017-10-14 20:57:58 +02:00
Peter De Wachter
5d29d862c7
Merge pull request #5 from lnussel/master
...
mark DCP-7055W as supported
2017-10-14 20:57:34 +02:00
Peter De Wachter
c58a3b8edd
Merge pull request #12 from hollobon/patch-1
...
Fix typo
2017-10-14 20:52:31 +02:00
Peter De Wachter
c656586451
Merge pull request #9 from cinemast/patch-2
...
Add missing #include <string>
2017-10-14 20:52:02 +02:00
Pete Hollobon
2859a8a7df
Fix typo
2017-08-09 10:32:45 +01:00
xc-racer99
f8021024c4
DCP-7065DN: Don't advertise 300DPI printing
...
The DCP-7065DN only supports 600 and 1200 DPI
2017-05-01 12:26:23 -07: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
Ludwig Nussel
9ccc56e1bc
mark DCP-7055W as supported
2016-06-17 10:37:08 +02:00
Peter Spiess-Knafl
93138fec87
Add missing #include <string>
2016-04-25 15:02:37 +02:00
Robin Kreis
d5aa1a55dd
Add Brother-DCP1510
2016-03-26 13:24:59 +01:00
Peter De Wachter
03bb366e75
Refuse to build without a C++11 compiler
...
We had a buggy version of the AX_CXX_COMPILE_STDCXX macro: it didn't
abort the build if no suitable compiler was found. Upgrade to the
current version.
Relevant on OpenBSD, where the default compiler does not support C++11.
2016-03-02 20:34:50 +01:00
Peter De Wachter
d85b875627
Use cups-config --ldflags
...
This fixes link problems on NixOS.
2016-03-02 19:41:44 +01:00
Peter De Wachter
569e3f7766
Reject unexpected raster formats
2015-01-31 23:16:35 +01:00
Peter De Wachter
1474716b27
Misc cleanups, mostly in the test code
2015-01-31 23:13:48 +01:00
Peter De Wachter
4f1a00d46a
Rever the readme rename: breaks formatting on Github
...
This reverts commit 49bfc1be98
.
2014-11-25 00:17:11 +01:00
Peter De Wachter
49bfc1be98
Rename README.md to README
2014-11-25 00:10:23 +01:00
Peter De Wachter
8b99cced73
Add Brother DCP-7055
...
Looks like this printer has some configuration options beyond what
brlaser currently knows about. But this offers basic functionality.
2014-11-25 00:04:14 +01:00
Peter De Wachter
1dcd5b445e
Fix lest.hpp dependency for the tests.
2014-07-07 13:05:01 +02:00
Peter De Wachter
19edb1767b
Kill a harmless dead store
...
Just because clang's scan-build complained about it.
2014-07-07 13:03:57 +02:00
Peter De Wachter
c3999acbec
Version 3
2014-07-07 12:55:16 +02:00
Peter De Wachter
9c4336a8df
Updated README
2014-06-30 22:21:22 +02:00
Peter De Wachter
71bb29a3ca
Add Brother DCP-7065DN
2014-06-30 22:19:49 +02:00
Peter De Wachter
fa26a6149a
Version 2
2014-06-29 11:52:28 +02:00