1
0
mirror of https://github.com/pdewacht/brlaser synced 2024-12-26 15:38:20 +01:00
Commit Graph

86 Commits

Author SHA1 Message Date
Evan Miller
9546acc17c Add GitHub Actions for continuous integration 2021-05-31 16:21:33 -04:00
Peter De Wachter
9d7ddda838 Arrange blocks in bands of 128 lines
This is more similar to what the Brother driver does. This might
fix #52, #40, etc.
2020-04-20 21:58:11 +02:00
Peter De Wachter
e21f52f437 Tweak compiler flags 2020-04-20 21:53:43 +02:00
Peter De Wachter
cecfceb27a
Merge pull request #71 from xuzhao9/master
Add Brother DCP-L2520DW
2020-04-18 13:30:25 +02:00
Peter De Wachter
2a5ddf6bd1
Merge pull request #70 from vaukai/vaukai-add-Gentoo-patch-1
Also Gentoo uses brlaser
2020-04-18 13:29:53 +02:00
Peter De Wachter
de0d48dfdb Be tolerant of zero-page jobs
https://github.com/OpenPrinting/cups-filters/issues/117
2020-04-18 10:58:27 +02:00
Peter De Wachter
eae5f9ba98 Add some new printer definitions
Closes #53
Closes #56
Closes #62
Closes #65
2020-04-18 10:24:05 +02:00
xzhao
68dcbc4e38 Add Brother DCP-L2520DW 2020-04-11 08:33:14 -04:00
Volkmar W. Pogatzki
4beeed3733
Update README.md 2020-04-10 13:00:08 +02:00
Peter De Wachter
2f63d0a36c
Merge pull request #55 from nico202/patch-1
Package available on guix, too
2019-11-18 23:04:18 +01:00
Nicolò Balzarotti
e7268ac787
Package available on guix, too
Available here http://guix.gnu.org/packages/brlaser-4-1.779f71e/
2019-11-18 21:05:19 +01:00
Peter De Wachter
23117fe9e0 Bump version number 2019-09-22 21:27:36 +02:00
Peter De Wachter
1b5990560c Version 6 2019-09-22 20:44:17 +02:00
QORTEC
504c00f68e Add Brother HL-2270DW 2019-09-22 20:09:59 +02:00
QORTEC
5d36382350 add gedit backup file to .gitignore (*~) 2019-09-22 20:07:52 +02:00
Peter De Wachter
c08bbc3193 Add a bunch of printers
Closes #33   Brother HL-5030
Closes #39   Brother HL-2140
Closes #44   Brother HL-2220
Closes #45   Brother DCP-L2540D
Closes #46   Brother HL-2030
2019-09-22 19:34:00 +02:00
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
ff68db0f93 Version 5 2019-05-18 22:56:02 +02:00
Peter De Wachter
dbc897787e Brother HL-1110 2019-05-18 22:38:27 +02:00
Peter De Wachter
17a24ef7a1 Add a bunch of printer stanzas
- Brother DCP-1602 (fixes #42)
- Brother DCP-7060D (fixes #43)
- Brother DCP-L2500D (fixes #35)
- Brother DCP-L2540DW (fixes #32)
- Brother HL-L2340D (fixes #37)
- Brother MFC-1910W (fixes #36)
- Brother MFC-7365DN (fixes #30)
- Brother MFC-7840W (fixes #41)
- Brother MFC-L2710DW (fixes #34)
- Lenovo M7605D (fixes #26)
2019-05-18 22:03:30 +02:00
Peter De Wachter
779f71e80f Reduce max block size to 64 lines (#40)
This fixes HL-1210W, maybe other HL printers as well?
2019-03-25 20:57:51 +01:00
Peter De Wachter
7b4bf383bd O_BINARY
Because it seems people still use OS/2
2019-03-25 20:46:20 +01:00
Peter De Wachter
aa5fb9e2f0 Don't build brdecode by default
It's just a dev tool
2019-03-25 20:24:43 +01:00
Peter De Wachter
7e1cc6911e Update compatibility list.
- Add DCP-7080 (#24)
- Add HL-L2320D (#25)
- Add HL-1200 series (#27)
- Mark HL-L2300D as buggy.
2018-07-04 00:14:44 +02:00
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