Editing files to make them work with Arch

Arch Linux uses its own filesystem hierarchy, so you must edit some files to match it. We'll assume you created the temp directory brother in your home directory as mentioned earlier.
Use your favorite text editor (i.e. kate, gedit, or vi) and open

Installing the driver and printer

Upon completion the script will attempt to restart the CUPS daemon if it was running.
Now browse to the CUPS server : http://localhost:631/

Under the Administration category, choose Manage printers. You should now see your HL2040 printer automatically installed and configured.

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

Enable cups daemon

Enable cups daemon to start cups on every reboot:

systemctl enable cups.service

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 won't align properly.

Alternate Method (foomatic)

NOTE: If you are having alignment issues using the standard HL 2040 driver, try this method or using the standard CUPS setup to select the 'Brother HL-2400CeN Foomatic/hl1250' driver.

Install Required Packages

Enable cups daemon

Start Cups

systemctl start cups.service

Finish Installation from the KDE menu (Optional)

This assumes that you are:

Using KDE

Your printer is connected on LPT1 - parallel port.

Go to K menu -> settings -> printers
Click administrator mode
Enter root password
Click "add printer"
Click next
Choose local (top one)
Click next...the port should be lpt1
Click it... then next
.......builds database
Choose brother
Then the hlwerfjefja one we all know and love HL-2400CeN hl1250
Click next then test
Set dpi to 600, test again.
no banners... no quota... denied users...
Give it a name
Click next
You should be done