48 days ago · Tech · hide · Fediverse post

Brother's printer driver for the HL-2220 on macOS 27 (Golden Gate) is x86_64 only, I discovered when I tried to print after I upgraded. To fix it, the agent built me a driver from brlaser, which restores the printer. The agent says: The HL-2220 is a host-based "GDI" printer — no PostScript, no PCL, no AirPrint/IPP. To compile the driver, it did: git clone --depth 1 https://github.com/pdewacht/brlaser.git cd brlaser cmake -B build -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_OSX_ARCHITECTURES=arm64 \ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 cmake --build build -j8 cd build && ctest # 4/4 passed ppdc -d ppd brlaser.drv # generates ppd/br2220.ppd Build deps came from Homebrew (cmake) plus the CLT SDK for cups/raster.h. Two gotchas1. `-DCMAKE_POLICY_VERSION_MINIMUM=3.5` is required — current CMake rejects the project's old `cmake_minimum_required` outright. 2. The generated PPD names the filter bare (`rastertobrlaser`), so CUPS looks in `ServerBin` = `/usr/libexec/cups/filter`, which is **read-only…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town