Brother HL-3045CN

This guide explains how to install a Brother HL-3045CN laser printer using CUPS.

Note: If you already attempted (and failed) to install the driver in CUPS, remove it before proceeding with this tutorial.

Prerequisites

This tutorial assumes you have already configured the CUPS printer server. There is plenty of existing information to get this working.

Download Brother HL-3045CN drivers

Create a temp directory such as /home/username/brother

Download the RPM packages of the LPR driver (HERE) and the CUPS wrapper (HERE) and place them into your newly created temp dir

Extracting the RPM files

You will need to grab a script to extract the files from the RPM packages.

Install rpmextract from the official repositories.

Extract both RPM files:

$ cd /home/username/brother
$ rpmextract.sh *.rpm

Installing the Drivers

You should now have two sub-directories: usr and var Move the content in those directories to their equivalent places on /

Then run the cupswrapperhl3045cn script

# /opt/brother/Printers/hl3045cn/cupswrapper/cupswrapperhl3045cn

Upon completion the script will attempt to restart the CUPS daemon if it was running. See below for how to enable cups service daemon if required.

Now browse to the CUPS serverĀ : http://localhost:631/

Under the Administration category, choose Manage printers. You should now see your HL-3045CN printer automatically installed and configured.

Print a test page and configure the printer settings to your liking.

Regional Settings

Make sure to set your printer preferences to match your region. For example, if you live in North America (Canada, US, Mexico) your paper size should be changed from the Default "A4" to "Letter". Sometimes this will be done automatically by your Desktop Environment (e.g. KDE) but it's worthwhile to check it yourself or the text on your pages will not align properly.

Start Cups

Start/enable org.cups.cupsd.service using systemd.