Morning guys
I have EndeavourOS with XFCE installed and everything is up and running apart from the brother printer (Brother DCP-L2520DW), which kept spewing out:
CUPS server error" reads "There was an error during the CUPS operation: 'server-error-internal-error
The problem showed up either way via localhost:631 or printer-settings. I always prefer using the printer-settings. The printer-settings easily found the network printer (192.168.0.20) and added the driver flawlessly. The issue started when apply the settings at the end.
This is what I have always use, which worked in the past -
yay -S cups cups-pdf gutenprint system-config-printer brother-dcpl2520dw
sudo gpasswd -a username sys
sudo systemctl enable org.cups.cupsd.service
sudo systemctl start org.cups.cupsd.service
Can anyone explain what is happening? I even removed the cups etc, and started again from scratch with no luck. Thank you
at what end?
I do have my brother (wifi) running without issue:
But i do set uri manually, as the default proposed ones do not work here:

also it is more slick to not run cups service and use socket instead:
sudo systemctl disable --now org.cups.cupsd.service
sudo systemctl enable --now org.cups.cupsd.socket
this will leave service unloaded and only enable it per request to print.
Hi joekamprad, what I mean is… where I applied the settings at the end after discovered the network printer and Brother driver (brother-l2520dw), that is where the error message showed up.
I even tried your way, clicked OK and Apply… still comes up with the same error message.
I am very puzzled as I have used my method hundreds times over flawlessly. This is the first ever issue I have come across.
Update… Solved
Here is the instructions if any of you need help and this is for the Brother DCP-L2520DW printer:
yay -S cups cups-pdf hplip libcups system-config-printer brother-dcpl2520dw brscan4 xsane
sudo groupadd lpadmin sudo usermod -aG lpadmin logan
(replace logan with your username)
sudo leafpad /etc/cups/cups-files.conf
Before…
# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
# This cannot contain the Group value for security reasons...
SystemGroup sys root wheel
After…
# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
# This cannot contain the Group value for security reasons...
SystemGroup sys root wheel lpadmin
Next, start the systemd service for CUPS.
sudo systemctl enable org.cups.cupsd.service
Reboot your machine, since you changed your group membership and CUPS needs cycled.
sudo reboot
To add the Brother scanner.
sudo brsaneconfig4 -a name=Brother model=DCPL2520DW ip=192.168.0.20
Now, run the xsane scanner application
Hope someone find this useful
1 Like