You own a Mac running MacOS and want to print a document using a Brother printer. You also prefer not to use MacPorts because you have another package manger installed.
- I used a 2021 Macbook Pro 14" running Sonoma 14.0
- I am using Homebrew as a package manager
- The printer is a Brother DCP-7030
- You can print remotely over Bonjour from the Macbook using the "Generic PostScript Driver" if you have another computer connected to the printer running Linux and with the
brlaserdriver installed - You can install the open source
brlaserprint drivers via MacPorts - You can install the open source
brlaserprint drivers manually
You will need a C compiler (clang) and cmake. I installed cmake using homebrew
$ brew install cmakeClone or download the latest brlaser source code.
$ curl -LO https://github.com/pdewacht/brlaser/archive/refs/tags/v6.tar.gz
$ tar xvzf v6.tar.gz$ cd brlaser-6
$ cmake .
$ make
$ ppdc brlaser.drv -d ppdFun fact: ppdc is deprecated according to its man page
Apparently /usr/share is a protected directory for MacOS which causes problems when running sudo make install. Since installation is relatively straightforward, I will just do it manually.
If you figure out a better way of doing this just leave a comment and I will update the steps.
$ sudo make install
Password:
[ 41%] Built target rastertobrlaser
[ 58%] Built target test_lest
[ 83%] Built target test_line
[100%] Built target test_block
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/libexec/cups/filter/rastertobrlaser
-- Installing: /usr/share/cups/drv/brlaser.drv
CMake Error at cmake_install.cmake:67 (file):
file INSTALL cannot copy file
"/Users/kktse/src/build/brlaser-6/brlaser.drv" to
"/usr/share/cups/drv/brlaser.drv": Operation not permitted.Install rastertobrlaser
$ sudo mv rastertobrlaser /usr/libexec/cups/filter/rastertobrlaser
$ sudo chown root:wheel /usr/libexec/cups/filter/rastertobrlaserInstall PPD files
$ sudo mv ppd/*.ppd /Library/Printers/PPDs/Contents/Resources/
$ sudo chown root:wheel /Library/Printers/PPDs/Contents/Resources/*.ppdPlug in the printer and select the brlaser6 driver.
You may now celebrate by doing a dance, or putting away your baseball bats.
Unfortunately I didn't manage to make the steps above work for the HL-L1222-V printer :(. When I try to print, the led blinks orange and nothing else happens. Trying the generic driver through CUPS makes it feel like it will work but the pages that went through the printer are blank in the end.
macOS Sequoia 15.2 (24C101)
EDIT: The macOS driver for HL1202 works for the HL-L1222-V.