1
0
mirror of https://github.com/pdewacht/brlaser synced 2024-12-27 07:48:21 +01:00
Go to file
Ondřej Budai 911a518f4e fix build under Fedora 38
Building brlaser under Fedora 38 gives the following error in
test/tempfile.h:
error: 'uint8_t' was not declared in this scope

This commit fixes it by explicitly including `cstdin` in the file, so
`uint8_t` is correctly defined there.
2023-03-14 08:01:28 -04:00
.github/workflows Github Actions: checkout@v3 2023-02-20 21:26:51 +01:00
src Tumble support 2023-03-14 08:00:50 -04:00
test fix build under Fedora 38 2023-03-14 08:01:28 -04:00
.gitignore add gedit backup file to .gitignore (*~) 2019-09-22 20:07:52 +02:00
brlaser.drv.in Fix MFC-7460DN PPD file name 2021-09-08 14:50:49 -04:00
ChangeLog Version 6 2019-09-22 20:44:17 +02:00
CMakeLists.txt Tweak compiler flags 2020-04-20 21:53:43 +02:00
config.h.in CMake conversion 2018-01-27 00:18:19 +01:00
COPYING brlaser version 1 2013-12-27 16:58:00 +01:00
README.md Merge pull request #71 from xuzhao9/master 2020-04-18 13:30:25 +02:00

brlaser: Brother laser printer driver

brlaser is a CUPS driver for Brother laser printers.

Although most Brother printers support a standard printer language such as PCL or PostScript, not all do. If you have a monochrome Brother laser printer (or multi-function device) and the other open source drivers don't work, this one might help.

This driver has been reported to work with these printers:

  • Brother DCP-1510 series
  • Brother DCP-1600 series
  • Brother DCP-7030
  • Brother DCP-7040
  • Brother DCP-7055
  • Brother DCP-7055W
  • Brother DCP-7060D
  • Brother DCP-7065DN
  • Brother DCP-7080
  • Brother DCP-L2500D series
  • Brother DCP-L2520D series
  • Brother DCP-L2520DW series
  • Brother DCP-L2540DW series
  • Brother HL-1110 series
  • Brother HL-1200 series
  • Brother HL-2030 series
  • Brother HL-2140 series
  • Brother HL-2220 series
  • Brother HL-2270DW series
  • Brother HL-5030 series
  • Brother HL-L2300D series
  • Brother HL-L2320D series
  • Brother HL-L2340D series
  • Brother HL-L2360D series
  • Brother HL-L2375DW series
  • Brother HL-L2390DW
  • Brother MFC-1910W
  • Brother MFC-7240
  • Brother MFC-7360N
  • Brother MFC-7365DN
  • Brother MFC-7420
  • Brother MFC-7460DN
  • Brother MFC-7840W
  • Brother MFC-L2710DW series
  • Lenovo M7605D

Other printers

If your printer isn't included in the list above, just try selecting any entry marked 'brlaser' and see if it works.

If it does, please create a new issue here in Github and include the output of this command:

sudo lpinfo --include-schemes usb -l -v

Then I'll be able to add a proper entry for your printer.

Installation

Some operating systems already ship this driver. This is the case for at least Debian, Gentoo, Ubuntu, Raspbian, openSUSE, NixOS, Arch Linux and Guix. Look for a package named printer-driver-brlaser.

You'll also need Ghostscript, in case that's not installed automatically.

Once brlaser is installed, you can add your printer using the usual CUPS interface.

Building from source

To compile brlaser you'll need CMake and the CUPS development packages (libcups2-dev, libcupsimage2-dev or similar).

Get the code by cloning the git repo . Compile and install with these commands:

cmake .
make
sudo make install

It might be needed to restart CUPS after this.

Copyright © 2013 Peter De Wachter

brlaser is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

brlaser is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with brlaser. If not, see http://www.gnu.org/licenses/.