--- title: Setting up a Brother HL-L2400DW on Arch summary: Setting up CUPS & IPP updatedAt: 1751695246000 --- By default, on Arch, a lot of the required packages to print are not included. I also ran into some MDNS issues along the way as well. 1. Install packages: ```bash yay -Syu system-config-printer cups-pdf nss-mdns ``` 2. Start and enable CUPs: ```bash sudo systemctl enable cups.service && sudo systemctl start cups.service ``` 3. Modify MNDS configuration[^1] ```bash sudo vim /etc/nsswitch.conf ``` ```bash # Name Service Switch configuration file. # See nsswitch.conf(5) for details. passwd: files systemd group: files [SUCCESS=merge] systemd shadow: files systemd gshadow: files systemd publickey: files # THIS LINE SHOULD BE THE ONE WITH CHANGES !! hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns networks: files protocols: files services: files ethers: files rpc: files netgroup: files ``` The printer should now be addable via either the KDE Printer configuration window or manually via the CUPs configuration webpage[^2]. [^1]: Thank you lil_papa on askubuntu for this config [https://askubuntu.com/a/1483733](https://askubuntu.com/a/1483733) [^2]: The webpage should be accessible at [http://localhost:631/admin/](https://localhost:631/admin/)