The Brother HL-2140 is a greyscale laser printer. It is compatible with CUPS on Arch Linux, using thedriver collection.
Installand . If you have previously installed printing-related packages, you may want to remove them and any other configurations or modifications you've applied.
If it is not already running, start CUPS by running:
# systemctl start cups.service
If you want CUPS to be enabled on startup, also run:
# systemctl enable cups.service
If you haven't already, connect the printer to your computer. Next, get the address of the printer by running:
# lpinfo -v
If you are using a direct USB connection, look for the line beginning with
direct usb://. Next add the printer. The name is up to you.
lpadmin -E -p <name> -v <address> -P </path/to/ppd_file>
Check that the printer was added successfully:
Print a test file:
lpr -P <name> </path/to/file>
If you want, make the printer the default:
lpoptions -d <name>
See the article on CUPS for more in-depth instructions.