Posted in linux
Installing a Brother Printer on Gentoo
I’ve been migrating over to Gentoo from Ubuntu (more on this later) and today had the lovely experience of installing a printer. Since at least 2 other computers will be needing these instructions, here we are:
Install CUPS
- emerge cups
- /etc/init.d/cupsd start
- rc-update add cupsd default
Install Driver
- Download the LPD and PPD RPM drivers from Brother’s Linux driver site.
- emerge rpm tcsh
- rpm -ihv --nodeps (lpr-drivername)
- rpm -ihv --nodeps (cupswrapper)
- Verify the drivers installed correctly: rpm -qa | grep -e (lpr-drivername) -e (cupswrapper-drivername) (if this is your only rpm package, just use rpm -qa)
- Create a symlink to the filter: ln -s /usr/lib/cups/filter/brlpdwrapper[printer name] /usr/libexec/cups/filter/brlpdwrapper[printer name]
Add printer
- In a browser, go to the CUPS server at http://localhost:631/
- Click Add Printer and enter a name. Location and description are optional, but user-friendly.
- On the next page select: Device: AppSocket/HP JetDirect
- On the next page enter: Device URI: socket://192.168.1.11 (substitute with the IP address of your printer)
- The final page has a list of printer manufacturers. Skip that and click Choose File. Select the proper PPD file at /usr/share/cups/model/(printermodel).ppd. Click next.
- Print a test page and enjoy!
As an aside, I did stumble upon the Brother PPD source code, however there were no make files for my printer, nor were there any LPD drivers. It is unfortunate to have rpm or dpkg as a dependency for my printer drivers, but so be it – they’re lightweight packages on their own.
ac
Thanks for writing this up, it was very helpful. I also had to emerge a2ps since print jobs would fail when the Brother driver tried to execute a non-existent a2ps.
al
I’m not getting a brlpdwrapper* anywhere after this install process. What am I missing?
jaaf
I have a 64 bit plateform and before installing the cups drivers I had to create a /usr/lib64/cups/filter folder.
After setting the printer I had also to enter this (taken from Ubuntu) brprintconf_dcp750cw -pt A4
to avoid a cut of the text at the top of the page
wgjtyu
Thank you! I successfully install my FAX2820 printer on Gentoo.