How do I set up printing support like Ubuntu does?
My printer constantly rejects jobs.
Oh, what's that? On ubuntu it's flawless? How?
Also, my printer's address is null. How dandy, huh?
About this post
- Posted
- Archived
- Score
- 0 · 50% up
- Kind
- Text
- ID
- 116a0zd
33 comments
After a very long time bashing my head against the wall because my Brother DCP-T420W would reject every single job over the network, I finally got it to work with CUPS by installing Avahi and having it take over mDNS from systemd-resolved. I hope this works for you as well. Here's the relevant section from the Arch Wiki: https://wiki.archlinux.org/title/CUPS#Network
Yes Avahi is needed for me as well for auto detection. However, OP can manually type in the IP address of his printer and get it to work that way as a quick test, just to rule out driver issues.
Well, according to the Arch Wiki, "drivers are deprecated in CUPS in favor of IPP Everywhere" so driver issues should be a thing of the past, but at least in my install using a driver is still given as an option when setting up a new printer. So that could be tripping OP up as well.
Saved this. Great advice. Thank you. I might need it one day.
I have a Brother DCP-J152W
Well, I hope you don't need this, but if you do I hope it works.
Still doesn't help
That's too bad. I hope someone else can point you in the right direction.
First please provide more and useful information about what you have ie what printer you have what Arch you have (Vanilla Arch, Endeavour etc), What DE / WM you are using. Before you just piss and moan like a child.
Do you have CUPS and any printer packages installed that are required by the DE / WM you are using.
I use Vanilla Arch I have CUPS installed and some KDE Plasma printer packages (I don't remember their names) Brother printer and scanner drivers My old Brother printer is detected automatically wirelessly. No setup required.
Also look at the Arch wiki for setup, tips and tricks
I wouldn't have asked under this subreddit if the Arch wiki had the solution at hand.
Also, I asked on this subreddit, because unsurprisingly, I'm using plain Arch. I'm using GNOME and yes, I have CUPS and the shiny little twinky doodle sparkling packages like foomatic and gutenprint, along with system-config-printer.
And of course, the address is null. It's detected inside the network but the address is reported null. Moreover, it'll just say "uhh yea rejecting jobs XD".
What am I supposed to do?
Reading the other comments I see that you have an Epson printer. Doing a search I see that there are packages for Epson printers on the AUR https://aur.archlinux.org/packages/epson-inkjet-printer-escpr
https://aur.archlinux.org/packages/epson-printer-utility
They are just 2. Did you install them as well? Or the relevant one for your printer.
I also found this on the Arch Forums if it is relevant or helps.
https://bbs.archlinux.org/viewtopic.php?id=253438
In addition to u/Roo79xx said, what frontend are you using to configure your printer? KDE? Gnome? localhost port 631?
There was a package needed as well that isn't included in cups, and only briefly mentioned on the wiki, I think it was
system-config-printerssystem-config-printer
Awesome. Thank you for letting me know that I missed something
Which printer?
An Epson printer. XP-4150. Normally on Ubuntu or some Arch derivative is practically plug and play. I have CUPS set up but it just points to a null address and just refuses to properly pick it up.
Seems like your attitude is just complaining Arch doesn't detect it and configure it by itself but Ubuntu does... If you're using Arch, you should know that sometimes things doesn't work automatically, and it doesn't just depends on Arch but multiple factors, but anyway... I've been using Arch with printers for many years, never had trouble with them, at least nothing that some tinkering shouldn't fix
There's nothing in the wiki that points to my problem
As much as I didn't want to say this after reading your post's title, after reading the body, it really seems to be that perhaps you should be using Ubuntu.
I am asking about how did Canonical did it with their printer support so I can do it on arch
They this guide https://wiki.gentoo.org/wiki/Driverless_printing
Question - before you set up IPP printing in cups - did you assign a static IP address to printer or persistent IP from your DHCP (locking mac address to dns name/ip) ?
Shouldn't it be automatically found by avahi?
Sure, if you're using zeroconf
So, let's check. Do you see printer if you run
Printer config is a pain. I have a Ricoh color laser printer and I can't get a ppd driver that would actually get the printer to print color (even though I choose color on the print settings dropdown). It is connected as a network printer locked to a static IP and showing up (it will print black & white). A couple of things:
Does it have a UI you can access via browser? (Mine will bring up a config UI if you access its IP via browser)
You stated it rejects print jobs, but if it's not showing up with an IP, is it actually connected & accepting connections? Have you checked that it shows up as a connected device on your router? Where does it say that the IP is null? On you PC or on the printer screen itself when checking the network info?
it works when I'm on something like Ubuntu or Windows. That's why I'm asking how did Canonical set up printing support so I can mimick it on Arch
it'd be more dandy to provide what arch variant you're using and what printer.
I for example have EndeavourOS and my HP network printer got recognized immediately, no issues.
Got it. Pure Arch Linux, not a distro like EndeavorOS.
My bad...
I'm using plain Arch. This is why I'm asking in this subreddit.
maybe Ubuntu is better for you