1
0
mirror of https://github.com/pdewacht/brlaser synced 2025-07-21 16:19:46 +02:00
Commit Graph

60 Commits

Author SHA1 Message Date
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
4f2f1d606e Add Brother HL-L2360DW (Closes #22) 2018-03-17 12:15:49 +01:00
de26cc4bf0 Add Brother MFC-7240 (Closes #21) 2018-03-13 22:07:13 +01:00
d80491b105 Version 4 v4 2018-02-25 18:47:30 +01:00
a521498233 Merge pull request #19 from StijnDW/master
Allow the user to define cups config variables
2018-02-17 19:04:27 +01:00
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
ba25b63af6 Add Brother DCP-7040 2018-01-29 08:06:48 +01:00
3946f2e3d6 Add Brother HL-L2300D 2018-01-28 22:34:10 +01:00
0536c6bcad Updated/expanded readme 2018-01-27 00:19:00 +01:00
3008302bb5 Add OpenBSD pledge 2018-01-27 00:18:19 +01:00
39ed3c5708 Cleanups 2018-01-27 00:18:19 +01:00
4209526ef0 setlocale shouldn't be needed 2018-01-27 00:18:19 +01:00
8007996fe7 Fix ppdc warning 2018-01-27 00:18:19 +01:00
cf4fbc86ba CMake: enable assert() for all build types 2018-01-27 00:18:19 +01:00
ab59a83caa Fix brlaser.drv for cmake conversion 2018-01-27 00:18:19 +01:00
6e9793833f CMake conversion 2018-01-27 00:18:19 +01:00
d25ba26132 Merge pull request #17 from blob79/install_ubuntu
Add documentation how to install under Ubuntu
2018-01-25 14:45:46 +01:00
fbcc6924e8 Add documentation how to install under Ubuntu 2017-12-09 08:04:29 +01:00
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
718053fa36 Add package name to all log messages 2017-10-30 20:07:27 +01:00
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
853db9e5a2 Add Brother MFC-7360N
From Debian bug report #862750; thanks to Mark A. Hershberger.
2017-10-14 21:55:30 +02:00
2fd541c046 Clean up brlaser.drv.in 2017-10-14 21:53:45 +02:00
69cc0bfcc7 Merge remote-tracking branch 'xc-racer99/master' 2017-10-14 21:40:58 +02:00
4fdd8c95a8 Merge pull request #7 from rkreis/dcp1510
Add Brother-DCP1510
2017-10-14 20:57:58 +02:00
5d29d862c7 Merge pull request #5 from lnussel/master
mark DCP-7055W as supported
2017-10-14 20:57:34 +02:00
c58a3b8edd Merge pull request #12 from hollobon/patch-1
Fix typo
2017-10-14 20:52:31 +02:00
c656586451 Merge pull request #9 from cinemast/patch-2
Add missing #include <string>
2017-10-14 20:52:02 +02:00
2859a8a7df Fix typo 2017-08-09 10:32:45 +01:00
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
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
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
9ccc56e1bc mark DCP-7055W as supported 2016-06-17 10:37:08 +02:00
93138fec87 Add missing #include <string> 2016-04-25 15:02:37 +02:00
d5aa1a55dd Add Brother-DCP1510 2016-03-26 13:24:59 +01:00
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
d85b875627 Use cups-config --ldflags
This fixes link problems on NixOS.
2016-03-02 19:41:44 +01:00
569e3f7766 Reject unexpected raster formats 2015-01-31 23:16:35 +01:00
1474716b27 Misc cleanups, mostly in the test code 2015-01-31 23:13:48 +01:00
4f1a00d46a Rever the readme rename: breaks formatting on Github
This reverts commit 49bfc1be98.
2014-11-25 00:17:11 +01:00
49bfc1be98 Rename README.md to README 2014-11-25 00:10:23 +01:00
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
1dcd5b445e Fix lest.hpp dependency for the tests. v3 2014-07-07 13:05:01 +02:00
19edb1767b Kill a harmless dead store
Just because clang's scan-build complained about it.
2014-07-07 13:03:57 +02:00
c3999acbec Version 3 2014-07-07 12:55:16 +02:00
9c4336a8df Updated README 2014-06-30 22:21:22 +02:00
71bb29a3ca Add Brother DCP-7065DN 2014-06-30 22:19:49 +02:00
fa26a6149a Version 2 v2 2014-06-29 11:52:28 +02:00
2e37d9d62a Import lest v1.8.0 2014-06-29 11:50:18 +02:00
77ce307fdb Update gitignore 2014-02-04 22:29:34 +01:00