You are not logged in.

#1 2023-07-12 18:50:02

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Adding network printer does not work on fresh Arch install

Heya, I am currently using Manjaro, but this has to stop. I want to go vanilla arch or - if that will not work - go to EndevourOS, but going vanilla just seems.... better?
So my Manjaro Install has quite some apps, settings and so on accumulated over the years, and I have either mimicked it under Arch or replaced it with something better.
And I did the same with my Laptop, and with wife's computer. And my test machine.
The only thing that is left not working is adding printers. And with adding I mean "just use the KDE dialog, search for your printer, select the correct model, correct driver, be happy" - this is what I expect from a modern Distribution. Of copurse not ootb, I know I have to prepare the system(s), but when preperation is done it should work that way. This is easily doable under Manjaro with their printer package and whatever undocumented stuff they do under the hood. This ie repeatable under EOS with the following prerequisites:

  1. Install Manjaro driver package - to be more precise: the packages in this meta package: https://gitlab.manjaro.org/packages/ext … r/PKGBUILD - this part includes setting up cups service(s)

  2. Install Avahi and make mdns work for .local: https://wiki.archlinux.org/title/Avahi# … resolution

  3. Add user to group sys

And that's that. At least under Manjaro and EOS, so it is definitely doable under Arch - at least that's my assumption. One can test the success via avahi:

avahi-browse --all --ignore-local --resolve --terminate

I tried to achieve the same under Arch, unfortunately to no avail. I get to the point where I have found and selected the printer, found and selected the driver and just have to actually add the printer via "save" - and then I get an cups internal server error (when trying to do via printer manager) or just the settings page without saved printer (KDE settings manager). The logs of CUPS (with loglevel debug) give quite some hint what's wrong here, first a succesfull log from EOS:

POST / HTTP/1.1
D [11/Jul/2023:18:36:26 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [11/Jul/2023:18:36:26 +0200] [Client 17] Read: status=200, state=6
D [11/Jul/2023:18:36:26 +0200] [Client 17] Authorized as milkytwix using PeerCred.
D [11/Jul/2023:18:36:26 +0200] [Client 17] 2.0 Get-Printer-Attributes 10
D [11/Jul/2023:18:36:26 +0200] Get-Printer-Attributes ipp://milkytwix@localhost:631/printers/EPSON_WF-4830_Series
D [11/Jul/2023:18:36:26 +0200] [Client 17] Returning IPP successful-ok for Get-Printer-Attributes (ipp://milkytwix@localhost:631/printers/EPSON_WF-4830_Serie
s) from localhost.
D [11/Jul/2023:18:36:26 +0200] [Client 17] Content-Length: 427
D [11/Jul/2023:18:36:26 +0200] [Client 17] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [11/Jul/2023:18:36:26 +0200] [Client 17] con->http=0x560d82472910
D [11/Jul/2023:18:36:26 +0200] [Client 17] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=
427, response=0x560d82477860(IPP_STATE_DATA), pipe_pid=0, file=-1
D [11/Jul/2023:18:36:26 +0200] [Client 17] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [11/Jul/2023:18:36:26 +0200] [Client 17] bytes=0, http_state=0, data_remaining=427
D [11/Jul/2023:18:36:26 +0200] [Client 17] Flushing write buffer.
D [11/Jul/2023:18:36:26 +0200] [Client 17] New state is HTTP_STATE_WAITING

And then the Arch counterpart, which immediately shows the suspected root cause:

POST / HTTP/1.1
D [11/Jul/2023:19:53:21 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [11/Jul/2023:19:53:21 +0200] [Client 32] Read: status=200, state=6
D [11/Jul/2023:19:53:21 +0200] [Client 32] No authentication data provided.
D [11/Jul/2023:19:53:21 +0200] [Client 32] 2.0 Get-Printer-Attributes 62
D [11/Jul/2023:19:53:21 +0200] Get-Printer-Attributes ipp://milkytwix@localhost:631/printers/EPSON-WF-4830-Series
D [11/Jul/2023:19:53:21 +0200] Get-Printer-Attributes client-error-not-found: The printer or class does not exist.
D [11/Jul/2023:19:53:21 +0200] [Client 32] Returning IPP client-error-not-found for Get-Printer-Attributes (ipp://milkytwix@localhost:631/printers/EPSON-WF-4830-Series) from localhost

So the difference starts with "No authentication data provided." and concludes with "Get-Printer-Attributes client-error-not-found: The printer or class does not exist." which just makes no sense because it is existing. This error can be repeated with another printer (in this case a canon one) with exact the same behaviour, which further gives hint to something missing on the Arch side.
Some information about the Arch system: Minimal install, just Arch with sddm sddm-kcm plasma-desktop dolphin konsole nano as a ground to start from, then backupped and then continuing with the printer packages and configs. No additional stuff (yet) because I concentrate on printing.
My bet would be a permission thingy, I checked polkit rules but this is beyond my knowledge currently, so I need some help.

Any further ideas what makes printer magic actual... magic?

Last edited by milkytwix (2023-07-12 18:52:33)

Offline

#2 2023-07-12 20:16:26

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,351

Re: Adding network printer does not work on fresh Arch install

For many network printers the easiest way to set them up is to make them driverless printers.  You could try what I do to set my printer up in a very simple one line command as in the post at https://bbs.archlinux.org/viewtopic.php … 6#p2096546

Of course you need cups installed, and you didn't say which printer you have (though I assume from your quoted log output that it is EPSON_WF-4830_Series). But this has worked for me for some years. You do need the local network address for the printer too of course. I initially access the printer via its admin interface, and allow it to set its ip address via dhcp, and my local LAN has its own dhcp server, which means I can assign the printer the same address every time it is switched on.  The other way to do it is to use the printer's admin interface to set a fixed address if you do not have your own dhcp server to assign local addresses.

I checked and your printer does appear to support driverless printing at the list in https://openprinting.github.io/printers/

Last edited by mcloaked (2023-07-12 20:27:17)


Mike C

Offline

#3 2023-07-13 08:22:24

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Re: Adding network printer does not work on fresh Arch install

This aint a network issue. I use my own DHCP server including unbound with DNS overrides, I can access my printer under IP, printer.milkytwix.local and printer (because milkytwix.local is in the domain's searchlist, more specific the DNS server) AND on top it has a fixed IP. But the main argument that this is not a network issue is: It is working with the specific printer under Manjaro and EOS. And it is also not a printer issue, because I tested with two more printers (one is the spoken of canon printer, the other one an older epson) - behaviour is the same.
The part "select driver" gives also the option to select "driverless", connect via IP and select the "driverless driver" and voila:

D [13/Jul/2023:10:07:12 +0200] [Client 1] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=130, response=0x557fd2a0f550(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Jul/2023:10:07:12 +0200] [Client 1] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Jul/2023:10:07:12 +0200] [Client 1] bytes=0, http_state=0, data_remaining=130
D [13/Jul/2023:10:07:12 +0200] [Client 1] Flushing write buffer.
D [13/Jul/2023:10:07:12 +0200] [Client 1] New state is HTTP_STATE_WAITING
D [13/Jul/2023:10:07:12 +0200] [Client 1] Waiting for request.
D [13/Jul/2023:10:07:12 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [13/Jul/2023:10:07:12 +0200] [Client 1] POST / HTTP/1.1
D [13/Jul/2023:10:07:12 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [13/Jul/2023:10:07:12 +0200] [Client 1] Read: status=200, state=6
D [13/Jul/2023:10:07:12 +0200] [Client 1] No authentication data provided.
D [13/Jul/2023:10:07:12 +0200] [Client 1] 2.0 Get-Printer-Attributes 22
D [13/Jul/2023:10:07:12 +0200] Get-Printer-Attributes ipp://milkytwix@localhost:631/printers/EPSON_WF-4830_Series
D [13/Jul/2023:10:07:12 +0200] Get-Printer-Attributes client-error-not-found: The printer or class does not exist.
D [13/Jul/2023:10:07:12 +0200] [Client 1] Returning IPP client-error-not-found for Get-Printer-Attributes (ipp://milkytwix@localhost:631/printers/EPSON_WF-4830_Series) from localhost.

So basically the same.
It is still missing the auth information so no added printer - what's going on here? Because - and that's the funny part - your actual solution IS working:
sudo lpadmin -p Epson_WF_4830 -E -v "ipp://printer.milkytwix.local/ipp/print" -m everywhere
And voila, there it is, in all it's glory... So the question is: Why is the convinient way not working?
Next up will be: checking which prerequisites are needet - I want to keep my Arch as lean as possible...

Offline

#4 2023-07-13 08:41:19

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: Adding network printer does not work on fresh Arch install

KDE and gnome printer config applets often cause more issues then they solve and many archlinux users consider the cups webinterface (localhost:631) the "convenient way"

Was your attempt in #3 with that interface ?

Are you using systemd-resolved ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2023-07-15 18:07:09

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Re: Adding network printer does not work on fresh Arch install

Lone_Wolf wrote:

KDE and gnome printer config applets often cause more issues then they solve and many archlinux users consider the cups webinterface (localhost:631) the "convenient way"

Was your attempt in #3 with that interface ?

Are you using systemd-resolved ?

So, finally had some time to get back to this prionting topic.
First of all: If I have a gui for something, that gui should work. If forks are able to achieve it, Arch definately should be able to mimick that. I have high expectations for linux on the desktop in 23 - and this expectations are met with Manjaro and EOS. Arch chould be not less sophisticated.
Yeah, I use systemd-resolved - the installation with which I test is very vanilla, very stock, no "custom" things or such. Otherwise it wouldn't me comparable, which is hard enough.
My experience with cups after installation of only cups, adding local user to group sys and starting the cups daemon thingy (service, socket, path) is very mediocre. It detects my printer correctly, but the driver should be added manually, which is like.... are we in the year 2000?
It is asking if I have a 9-pin series or 24-pin series model to select the driver, which is both wrong, which leads to me canceling the try, because thios is the opposite of "convenient", this is rubbish.
I then enable and start Avahi Daemon, still to no avail:

Add Printer EPSON_WF-4830_Series_ Error

Unable to add printer:
cups-driverd failed to get PPD file - see error_log for details.

And the details:

CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://EPSON%20WF-4830%20Series._ipps._tcp.local/, ipps://EPSONWF4830.local:631/ipp/print) via IPP!

Yeah, I know, mDNS local resolution... That should solve the issue.... shouldn't it? Spoiler: It aint:

E [15/Jul/2023:19:58:18 +0200] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://EPSON%20WF-4830%20Series._ipps._tcp.local/, ipps://EPSONWF4830.local:631/ipp/print) via IPP!
E [15/Jul/2023:19:58:18 +0200] copy_model: empty PPD file
E [15/Jul/2023:19:58:18 +0200] [Client 44] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/EPSON_WF-4830_Series_) from localhost.

And that's the point where I say to myself "Screw you, cups, you are even worse than KDE printing dialog or native printing manager...
Nevertheless I give it the whole treatment, so: adding everything in manjaro printer.
And well... same same:

[15/Jul/2023:19:54:32 +0200] [Client 31] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/EPSON_WF-4830_Series_) from localhost.
E [15/Jul/2023:19:58:18 +0200] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://EPSON%20WF-4830%20Series._ipps._tcp.local/, ipps://EPSONWF4830.local:631/ipp/print) via IPP!
E [15/Jul/2023:19:58:18 +0200] copy_model: empty PPD file

So not working at all. For whatever reason given Arch is way less convinient than Manjaro or EndevourOS. Without the hint of mcloaked I would have no solution under Arch, which is quite a bummer.

There must still be something udner the hood of Manjaro and EOS which I still cannot get...

Offline

#6 2023-07-15 18:50:49

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: Adding network printer does not work on fresh Arch install

Some things to check :

For clarity : this printer is connected through network ?

In order to discover network printers, cups needs avahi. Without it running auto-discovery normally fails.

You did look at https://wiki.archlinux.org/title/Avahi# … om_working to verify systemd-resolved is not interfering with avahi ?

If I have a gui for something, that gui should work. If forks are able to achieve it, Arch definately should be able to mimick that.

Archlinux derivatives often configure many things so it works out of the box for most people. Archlinux users are expected to decide how they want those things to be configured and do it themselves. This could be one of those things.


Personal sidenote :

If I have a gui for something, that gui should work.

My experience is that most GUIs don't work or at best severely limit what you can do with them. If both gui and cli control interfaces are available, the cli control tends to be more usable then the gui.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2023-07-15 20:41:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Adding network printer does not work on fresh Arch install

So the question is: Why is the convinient way not working?

So the difference starts with "No authentication data provided."

sudo lpadmin

You lack permissions to add the printer and the inconvenient tool didn't ask you or you ignored  or didn't see that.
Possibly because you don't have a polkit agent running.
Does the webinterface ask you to authorize as root?

And try to restrict your answer to the part that's not a fucking novel.

Offline

#8 2023-07-18 13:35:42

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Re: Adding network printer does not work on fresh Arch install

Lone_Wolf wrote:

Some things to check :

For clarity : this printer is connected through network ?

positive!

Lone_Wolf wrote:

In order to discover network printers, cups needs avahi. Without it running auto-discovery normally fails.

You did look at https://wiki.archlinux.org/title/Avahi# … om_working to verify systemd-resolved is not interfering with avahi ?

I checked that several times, I don't know acutally to check it the "correct" way.
I installed bind to get the "host" command and then fired it up:

[root@VMArchBase ~]# host -t SOA local
Host local not found: 3(NXDOMAIN)

If that was the way to got then this ain't an Avahi issue - which would have come as a surprise to me, as it is setup and started same way as under EOS and Manjaro.

Lone_Wolf wrote:

Archlinux derivatives often configure many things so it works out of the box for most people. Archlinux users are expected to decide how they want those things to be configured and do it themselves. This could be one of those things.

I bet it is - to make on thing clear, once and for all: My problem is my limited knowledge and experience! Layer 8 issue, error between chair and keyboard! But if the otther distros get this done, I want that, too!

Lone_Wolf wrote:

Personal sidenote :

If I have a gui for something, that gui should work.

My experience is that most GUIs don't work or at best severely limit what you can do with them. If both gui and cli control interfaces are available, the cli control tends to be more usable then the gui.

I made similar experiences, and for me that is kinda okay - but not for the other peoples in my household wink


seth wrote:

You lack permissions to add the printer and the inconvenient tool didn't ask you or you ignored  or didn't see that.
Possibly because you don't have a polkit agent running.
Does the webinterface ask you to authorize as root?

Well, I thought that I solved that by adding my user to the group "Sys"? At least that solved the permissions problems under EOS and Manjaro. So Arch is it doing differently here - how?
On top of that, my local user is in the group wheel.
But I think you pointed me in the right direction: If I auth to cups webinterface as root-user I can then add a printer succesfully - so progress made.
I will try to get the polkit thing to work, but why is it necessary when I am in the group sys?

seth wrote:

And try to restrict your answer to the part that's not a fucking novel.

I could, but I also try to give as much information as possible, so that's that...

Thanks to both of you so far, highly appreciated!

Offline

#9 2023-07-19 07:28:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Adding network printer does not work on fresh Arch install

https://wiki.archlinux.org/title/Avahi#Tools
Does the printer show up?

Well, I thought that I solved that by adding my user to the group "Sys"?

"sys", not "Sys", capitalization matters.

id

The cups web interface asks me to athorize and I can either use the root account or my own (I'm in the wheel but not in the sys group, afaiu the cups doc, both should™ work, though)

Polkit apparently requires some extra step, https://wiki.archlinux.org/title/CUPS#A … _PolicyKit and I bet your right arm that whatever extra GUI you're using relies on that.

Offline

#10 2023-07-20 15:24:28

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Re: Adding network printer does not work on fresh Arch install

Yeah, printer shows up fine in Avahi, and yes, it is "sys" - there ain't no group Sys on my system, was just a typo. This where btw points 2 and 3 of my OP. I am as well member of group wheel, and as third group my "own" user group.
I tried to follow the linked wiki article, but to no avail - I still get the error: [Client 1] No authentication data provided.)
I am a bit lost here. Don't know where to look elsewhere to make this work. Once I added the printer via lpadmin everything via GUI is fine - I can manage the printer, set and change default options, even removing it - but I cannot add it. Well, fair enough, I think. I just add the "lpadmin" line to my "after install bashscript" to every computer and be good. But this feels like I have lost the game "Arch" here. Bit frustrated...

Thank you very much for your patience, I owe you a cold brewed one!

Offline

#11 2023-07-20 20:20:12

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Adding network printer does not work on fresh Arch install

Can you "pkexec ls" and does that popup some dialog asking for your credentials?

Offline

#12 2023-07-21 16:11:45

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Re: Adding network printer does not work on fresh Arch install

For sure - it is requesting "Authentication is needed to run '/usr/bin/ls' as the super user".
In the meantime (me being stubborn and sucking at giving up) I checked all the pk files (/usr/share/polkit-1/rules.d and /etc/polkit-1/rules.d) both on a Manjaro System as well as an EOS system and couldn't observe anything printer like.
I as well checked /usr/share/polkit-1/actions on both systems, again to no avail.

I don't want to give up my fream of a fully working VERY lean Arch with KDE. I never thought that the printing will be the show stopper, not after I achieved BTRFS grub snapshots, semi automated installation without archinstall, minimal KDE, and so on and so on - bit frustrated sad

Offline

#13 2023-07-21 16:24:45

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Adding network printer does not work on fresh Arch install

For sure - it is requesting "Authentication is needed to run '/usr/bin/ls' as the super user".

That's the (broken) built in not-agent, you want to get a dialog popping up.
Install and/or run one of https://wiki.archlinux.org/title/Polkit … ion_agents

Offline

#14 2023-07-21 16:31:15

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Re: Adding network printer does not work on fresh Arch install

sudo pacman -Q polkit-kde-agent
polkit-kde-agent 5.27.6-1

I did this when you first mentioned polkit. And it was a dialog which was requesting my password, sorry for being unprecise (this forum needs a modern way to add pictures...).

Offline

#15 2023-07-21 19:56:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Adding network printer does not work on fresh Arch install

https://bbs.archlinux.org/help.php#bbcode and while I'w not sure what a "modern" way is or why that would matter, the last thing the board needs is to encourage to post more images.

https://archlinux.org/packages/extra/x8 … t-manager/ optionally depends on https://archlinux.org/packages/extra/x8 … g-printer/ which optionally depends on https://archlinux.org/packages/extra/x8 … pk-helper/

Do you have those packages?

Offline

#16 2023-07-21 21:22:24

topcat01
Member
Registered: 2019-09-17
Posts: 277

Re: Adding network printer does not work on fresh Arch install

milkytwix wrote:
Add Printer EPSON_WF-4830_Series_ Error

Unable to add printer:
cups-driverd failed to get PPD file - see error_log for details.

And the details:

CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://EPSON%20WF-4830%20Series._ipps._tcp.local/, ipps://EPSONWF4830.local:631/ipp/print) via IPP!

Yeah, I know, mDNS local resolution... That should solve the issue.... shouldn't it? Spoiler: It aint:

E [15/Jul/2023:19:58:18 +0200] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://EPSON%20WF-4830%20Series._ipps._tcp.local/, ipps://EPSONWF4830.local:631/ipp/print) via IPP!
E [15/Jul/2023:19:58:18 +0200] copy_model: empty PPD file
E [15/Jul/2023:19:58:18 +0200] [Client 44] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/EPSON_WF-4830_Series_) from localhost.

And that's the point where I say to myself "Screw you, cups, you are even worse than KDE printing dialog or native printing manager...
Nevertheless I give it the whole treatment, so: adding everything in manjaro printer.
And well... same same:

[15/Jul/2023:19:54:32 +0200] [Client 31] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/EPSON_WF-4830_Series_) from localhost.
E [15/Jul/2023:19:58:18 +0200] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://EPSON%20WF-4830%20Series._ipps._tcp.local/, ipps://EPSONWF4830.local:631/ipp/print) via IPP!
E [15/Jul/2023:19:58:18 +0200] copy_model: empty PPD file

So not working at all. For whatever reason given Arch is way less convinient than Manjaro or EndevourOS. Without the hint of mcloaked I would have no solution under Arch, which is quite a bummer.

There must still be something udner the hood of Manjaro and EOS which I still cannot get...

I think cups' ipp-everywhere query is unable to automatically create a ppd. This happens with some printers. In this case, you might have better luck using driverless like so:

driverless ipp://192.168.1.39/ipp/print > xerox.ppd

Give the ppd a quick look to see if it seems sane (no need to know exact syntax), and then just input this ppd from the cups interface. Alternatively, you can use the command:

lpadmin -p xerox -v ipp://192.168.1.39/ipp/print -E -m driverless:ipp://192.168.1.39/ipp/print

to directly add the printer from the command line.

Offline

#17 2023-07-21 21:59:39

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Adding network printer does not work on fresh Arch install

milkytwix wrote:

First of all: If I have a gui for something, that gui should work.

If I auth to cups webinterface as root-user I can then add a printer succesfully

Without the hint of mcloaked I would have no solution under Arch

mcloaked linked https://bbs.archlinux.org/viewtopic.php … 6#p2096546


And that is why we don't bury relevant details in pointless chatter - nobody wants to read that.

Offline

#18 2023-07-21 23:08:23

topcat01
Member
Registered: 2019-09-17
Posts: 277

Re: Adding network printer does not work on fresh Arch install

Thanks, I totally missed that, and because of the spelling typo in success it doesn't even show up in search smile

Offline

#19 2023-07-22 08:58:08

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Re: Adding network printer does not work on fresh Arch install

seth wrote:

https://bbs.archlinux.org/help.php#bbcode and while I'w not sure what a "modern" way is or why that would matter, the last thing the board needs is to encourage to post more images.

https://archlinux.org/packages/extra/x8 … t-manager/ optionally depends on https://archlinux.org/packages/extra/x8 … g-printer/ which optionally depends on https://archlinux.org/packages/extra/x8 … pk-helper/

Do you have those packages?

All of those are installed:

pacman -Q print-manager system-config-printer cups-pk-helper
print-manager 23.04.3-1
system-config-printer 1.5.18-2
cups-pk-helper 0.2.7-1

Offline

#20 2023-07-22 12:24:40

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Adding network printer does not work on fresh Arch install

But it doesn't ask you to authorize?
Run

dbus-monitor

and see whether that printer dialog wants to talk to anything - and what.

https://bugs.kde.org/buglist.cgi?produc … esolution=---
There're two bugs w/ "Cannot add printer via GUI.", do you also get a "forbdden" message?
(There're also plenty of other bugs, it seems)

To avoid a regular d'oohhh…: you have been using this very print config GUI on manjaro (ideally the same version)?
It looks this thing replaced something that existed before?

Can you authorize w/ your user credentials in localhost:631 btw?

Offline

#21 2023-07-22 18:34:43

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Re: Adding network printer does not work on fresh Arch install

seth wrote:

But it doesn't ask you to authorize?
Run

dbus-monitor

and see whether that printer dialog wants to talk to anything - and what.

https://bugs.kde.org/buglist.cgi?produc … esolution=---
There're two bugs w/ "Cannot add printer via GUI.", do you also get a "forbdden" message?
(There're also plenty of other bugs, it seems)

To avoid a regular d'oohhh…: you have been using this very print config GUI on manjaro (ideally the same version)?
It looks this thing replaced something that existed before?

Can you authorize w/ your user credentials in localhost:631 btw?

What exactly does not ask me to authorize when?
When I use the KDE-Dialog there is no request for credentials in any case. This is the same with EOS and Manjaro.
When I use Print-Settings GUI it is the same.
When I use CUPS via browser (localhost:631) I authenticate for Administration. From there on it goes two ways:
Authenticate as user: Adding the printer works, using it does not. When I try to print test page I got the error "Unable to locate printer "EPSONWF4830.local"."
Authenticate as root: Same experience, same result.

I have never come to a "forbidden", it is just not working - empty result in most dialogs, "internal server error" in cups dialog.
The versions on EOS and Arch are the same, Manjaro packages as well, with the exception of cups-pk-helper, which is not installed on Manjaro.

How I should interprete what's going on in the dbus-monitor is beyond my knowledge - this is the output:

signal time=1690050599.806017 sender=org.freedesktop.DBus -> destination=:1.74 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.74"
signal time=1690050599.806031 sender=org.freedesktop.DBus -> destination=(null destination) serial=13 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.74"
   string ":1.74"
   string ""
signal time=1690050599.825783 sender=org.freedesktop.DBus -> destination=:1.72 serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string "org.fedoraproject.Config.Printing"
signal time=1690050599.825848 sender=org.freedesktop.DBus -> destination=(null destination) serial=14 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "org.fedoraproject.Config.Printing"
   string ":1.72"
   string ""
signal time=1690050599.825964 sender=org.freedesktop.DBus -> destination=:1.72 serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.72"
signal time=1690050599.826207 sender=org.freedesktop.DBus -> destination=(null destination) serial=15 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.72"
   string ":1.72"
   string ""
method call time=1690050618.349253 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=486 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050618.349414 sender=:1.8 -> destination=:1.11 serial=736 reply_serial=486
method call time=1690050618.502854 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=487 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050618.503003 sender=:1.8 -> destination=:1.11 serial=737 reply_serial=487
method call time=1690050618.503062 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=488 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050618.503230 sender=:1.8 -> destination=:1.11 serial=738 reply_serial=488
method call time=1690050618.546852 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=489 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050618.547185 sender=:1.8 -> destination=:1.11 serial=739 reply_serial=489
method call time=1690050634.196022 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=490 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050634.196154 sender=:1.8 -> destination=:1.11 serial=740 reply_serial=490
method call time=1690050634.699185 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=491 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050634.699400 sender=:1.8 -> destination=:1.11 serial=741 reply_serial=491
method call time=1690050634.703951 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=492 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050634.704197 sender=:1.8 -> destination=:1.11 serial=742 reply_serial=492
method call time=1690050636.780263 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=493 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050636.780474 sender=:1.8 -> destination=:1.11 serial=743 reply_serial=493
method call time=1690050636.781361 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=494 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050636.792483 sender=:1.8 -> destination=:1.11 serial=744 reply_serial=494
method call time=1690050637.044321 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=495 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050637.044468 sender=:1.8 -> destination=:1.11 serial=745 reply_serial=495
method call time=1690050637.046243 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=496 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050637.063999 sender=:1.8 -> destination=:1.11 serial=746 reply_serial=496
method call time=1690050637.830062 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=497 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050637.830272 sender=:1.8 -> destination=:1.11 serial=747 reply_serial=497
method call time=1690050637.853062 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=498 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
      string "50331658"
   ]
method return time=1690050637.857564 sender=:1.8 -> destination=:1.11 serial=748 reply_serial=498
method call time=1690050637.926876 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=499 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050637.927011 sender=:1.8 -> destination=:1.11 serial=749 reply_serial=499
method call time=1690050640.013259 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=500 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050640.013370 sender=:1.8 -> destination=:1.11 serial=750 reply_serial=500
method call time=1690050640.841782 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=501 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050640.841891 sender=:1.8 -> destination=:1.11 serial=751 reply_serial=501
method call time=1690050644.211568 sender=:1.21 -> destination=org.freedesktop.DBus serial=127 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.systemd1"
method return time=1690050644.211700 sender=org.freedesktop.DBus -> destination=:1.21 serial=33 reply_serial=127
   string ":1.1"
method call time=1690050644.211894 sender=:1.21 -> destination=org.freedesktop.systemd1 serial=128 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=StartTransientUnit
   string "app-kde\x2dadd\x2dprinter-4436d00f4bef483facaff2d87a64fbc5.scope"
   string "fail"
   array [
      struct {
         string "Slice"
         variant             string "app.slice"
      }
      struct {
         string "Description"
         variant             string "kde-add-printer"
      }
      struct {
         string "SourcePath"
         variant             string ""
      }
      struct {
         string "PIDs"
         variant             array [
               uint32 2984
            ]
      }
   ]
   array [
   ]
method call time=1690050644.213114 sender=:1.1 -> destination=org.freedesktop.DBus serial=235 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetConnectionUnixUser
   string ":1.21"
method return time=1690050644.213123 sender=org.freedesktop.DBus -> destination=:1.1 serial=156 reply_serial=235
   uint32 1000
method call time=1690050644.213131 sender=:1.1 -> destination=org.freedesktop.DBus serial=236 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0=':1.21'"
method return time=1690050644.213143 sender=org.freedesktop.DBus -> destination=:1.1 serial=157 reply_serial=236
method call time=1690050644.213147 sender=:1.1 -> destination=org.freedesktop.DBus serial=237 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string ":1.21"
method return time=1690050644.213154 sender=org.freedesktop.DBus -> destination=:1.1 serial=158 reply_serial=237
   string ":1.21"
signal time=1690050644.213522 sender=:1.1 -> destination=(null destination) serial=238 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=JobNew
   uint32 250
   object path "/org/freedesktop/systemd1/job/250"
   string "app-kde\x2dadd\x2dprinter-4436d00f4bef483facaff2d87a64fbc5.scope"
method return time=1690050644.214179 sender=:1.1 -> destination=:1.21 serial=239 reply_serial=128
   object path "/org/freedesktop/systemd1/job/250"
signal time=1690050644.235984 sender=:1.1 -> destination=(null destination) serial=240 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=JobRemoved
   uint32 250
   object path "/org/freedesktop/systemd1/job/250"
   string "app-kde\x2dadd\x2dprinter-4436d00f4bef483facaff2d87a64fbc5.scope"
   string "done"
method call time=1690050644.236036 sender=:1.1 -> destination=org.freedesktop.DBus serial=241 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0=':1.21'"
method call time=1690050644.239918 sender=:1.75 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1690050644.239934 sender=org.freedesktop.DBus -> destination=:1.75 serial=1 reply_serial=1
   string ":1.75"
signal time=1690050644.239938 sender=org.freedesktop.DBus -> destination=(null destination) serial=16 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.75"
   string ""
   string ":1.75"
signal time=1690050644.239947 sender=org.freedesktop.DBus -> destination=:1.75 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.75"
method call time=1690050644.240168 sender=:1.75 -> destination=org.freedesktop.portal.Desktop serial=2 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.freedesktop.portal.Screenshot"
   string "version"
error time=1690050644.240182 sender=org.freedesktop.DBus -> destination=:1.75 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=2
   string "The name org.freedesktop.portal.Desktop was not provided by any .service files"
method call time=1690050644.318490 sender=:1.75 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',path='/kde_add_printerrc',interface='org.kde.kconfig.notify',member='ConfigChanged'"
method call time=1690050644.318506 sender=:1.75 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',path='/kdeglobals',interface='org.kde.kconfig.notify',member='ConfigChanged'"
method call time=1690050644.319223 sender=:1.75 -> destination=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',path='/BreezeStyle',interface='org.kde.Breeze.Style',member='reparseConfiguration'"
method call time=1690050644.319256 sender=:1.75 -> destination=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',path='/BreezeDecoration',interface='org.kde.Breeze.Style',member='reparseConfiguration'"
method call time=1690050644.319285 sender=:1.75 -> destination=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',path='/KGlobalSettings',interface='org.kde.KGlobalSettings',member='notifyChange'"
method call time=1690050644.319302 sender=:1.75 -> destination=org.freedesktop.DBus serial=8 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',path='/KWin',interface='org.kde.KWin',member='reloadConfig'"
method call time=1690050644.321244 sender=:1.75 -> destination=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus',arg1=''"
method call time=1690050644.321323 sender=:1.75 -> destination=org.freedesktop.DBus serial=10 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
   string "org.a11y.Bus"
method return time=1690050644.321335 sender=org.freedesktop.DBus -> destination=:1.75 serial=4 reply_serial=10
   boolean true
method call time=1690050644.321432 sender=:1.75 -> destination=org.freedesktop.DBus serial=11 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus'"
method call time=1690050644.321490 sender=:1.75 -> destination=org.freedesktop.DBus serial=12 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.a11y.Bus"
method return time=1690050644.321496 sender=org.freedesktop.DBus -> destination=:1.75 serial=5 reply_serial=12
   string ":1.30"
method call time=1690050644.321610 sender=:1.75 -> destination=org.a11y.Bus serial=13 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.a11y.Status"
   string "ScreenReaderEnabled"
method return time=1690050644.321796 sender=:1.30 -> destination=:1.75 serial=58 reply_serial=13
   variant       boolean false
method call time=1690050644.321930 sender=:1.75 -> destination=org.a11y.Bus serial=14 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.a11y.Status"
   string "IsEnabled"
method return time=1690050644.322046 sender=:1.30 -> destination=:1.75 serial=59 reply_serial=14
   variant       boolean false
method call time=1690050644.322776 sender=:1.75 -> destination=org.freedesktop.DBus serial=15 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',path='/KIconLoader',interface='org.kde.KIconLoader',member='iconChanged'"
method call time=1690050644.337632 sender=:1.75 -> destination=org.freedesktop.DBus serial=16 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.kde.KWin'"
method call time=1690050644.337786 sender=:1.75 -> destination=org.freedesktop.DBus serial=17 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.kde.KWin"
method return time=1690050644.337790 sender=org.freedesktop.DBus -> destination=:1.75 serial=6 reply_serial=17
   string ":1.8"
method call time=1690050644.337869 sender=:1.75 -> destination=org.kde.KWin serial=18 path=/org/kde/KWin; interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.kde.KWin.TabletModeManager"
method return time=1690050644.338349 sender=:1.8 -> destination=:1.75 serial=752 reply_serial=18
   array [
      dict entry(
         string "tabletMode"
         variant             boolean false
      )
      dict entry(
         string "tabletModeAvailable"
         variant             boolean false
      )
   ]
method call time=1690050644.338440 sender=:1.75 -> destination=org.freedesktop.DBus serial=19 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.kde.KWin',path='/org/kde/KWin',interface='org.kde.KWin.TabletModeManager',member='tabletModeChanged'"
method call time=1690050644.338483 sender=:1.75 -> destination=org.freedesktop.DBus serial=20 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.kde.KWin'"
method call time=1690050644.338524 sender=:1.75 -> destination=org.freedesktop.DBus serial=21 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.kde.KWin"
method return time=1690050644.338526 sender=org.freedesktop.DBus -> destination=:1.75 serial=7 reply_serial=21
   string ":1.8"
method call time=1690050644.338603 sender=:1.75 -> destination=org.freedesktop.DBus serial=22 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.kde.KWin',path='/org/kde/KWin',interface='org.kde.KWin.TabletModeManager',member='tabletModeAvailableChanged'"
method call time=1690050644.371070 sender=:1.75 -> destination=org.freedesktop.DBus serial=23 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',path='/KDEPlatformTheme',interface='org.kde.KDEPlatformTheme',member='refreshFonts'"
method call time=1690050644.371079 sender=:1.75 -> destination=org.freedesktop.DBus serial=24 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',path='/KToolBar',interface='org.kde.KToolBar',member='styleChanged'"
method call time=1690050648.844028 sender=:1.75 -> destination=org.fedoraproject.Config.Printing serial=25 path=/org/fedoraproject/Config/Printing; interface=org.fedoraproject.Config.Printing; member=GroupPhysicalDevices
   array [
      dict entry(
         string "cups-brf:/"
         array [
            dict entry(
               string "device-class"
               string "file"
            )
            dict entry(
               string "device-id"
               string "MFG:Generic;MDL:CUPS-BRF Printer;DES:Generic CUPS-BRF Printer;CLS:PRINTER;CMD:BRF;"
            )
            dict entry(
               string "device-info"
               string "CUPS-BRF"
            )
            dict entry(
               string "device-location"
               string ""
            )
            dict entry(
               string "device-make-and-model"
               string "Virtual Braille BRF Printer"
            )
         ]
      )
      dict entry(
         string "cups-pdf:/"
         array [
            dict entry(
               string "device-class"
               string "file"
            )
            dict entry(
               string "device-id"
               string "MFG:Generic;MDL:CUPS-PDF Printer;DES:Generic CUPS-PDF Printer;CLS:PRINTER;CMD:POSTSCRIPT;"
            )
            dict entry(
               string "device-info"
               string "CUPS-PDF"
            )
            dict entry(
               string "device-location"
               string ""
            )
            dict entry(
               string "device-make-and-model"
               string "Virtual PDF Printer"
            )
         ]
      )
      dict entry(
         string "dnssd://EPSON%20WF-4830%20Series._ipp._tcp.local/?uuid=cfe92100-67c4-11d4-a45f-dccd2f97e379"
         array [
            dict entry(
               string "device-class"
               string "network"
            )
            dict entry(
               string "device-id"
               string "MFG:EPSON;MDL:WF-4830 Series;CMD:PWG,URF,JPEG;"
            )
            dict entry(
               string "device-info"
               string "EPSON WF-4830 Series"
            )
            dict entry(
               string "device-location"
               string ""
            )
            dict entry(
               string "device-make-and-model"
               string "EPSON WF-4830 Series"
            )
         ]
      )
      dict entry(
         string "ipps://EPSON%20WF-4830%20Series._ipps._tcp.local/"
         array [
            dict entry(
               string "device-class"
               string "network"
            )
            dict entry(
               string "device-id"
               string "MFG:EPSON;MDL:WF-4830 Series;CMD:PWGRaster,AppleRaster,PWG,URF,JPEG;"
            )
            dict entry(
               string "device-info"
               string "EPSON WF-4830 Series (driverless)"
            )
            dict entry(
               string "device-location"
               string ""
            )
            dict entry(
               string "device-make-and-model"
               string "EPSON WF-4830 Series"
            )
         ]
      )
      dict entry(
         string "lpd://10.10.0.15:515/PASSTHRU"
         array [
            dict entry(
               string "device-class"
               string "network"
            )
            dict entry(
               string "device-id"
               string "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR7,END4,GENEP;MDL:WF-4830 Series;CLS:PRINTER;DES:EPSON WF-4830 Series;CID:EpsonRGB;FID:FXA,DPA,WFA,ETA,AFA,DAA,WRA;RID:40;DDS:022500;ELG:1081;SN:583759444831303825;"
            )
            dict entry(
               string "device-info"
               string "EPSON WF-4830 Series"
            )
            dict entry(
               string "device-location"
               string ""
            )
            dict entry(
               string "device-make-and-model"
               string "EPSON WF-4830 Series"
            )
         ]
      )
   ]
method call time=1690050648.984254 sender=:1.76 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1690050648.984267 sender=org.freedesktop.DBus -> destination=:1.76 serial=1 reply_serial=1
   string ":1.76"
signal time=1690050648.984271 sender=org.freedesktop.DBus -> destination=(null destination) serial=17 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.76"
   string ""
   string ":1.76"
signal time=1690050648.984275 sender=org.freedesktop.DBus -> destination=:1.76 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.76"
method call time=1690050648.984506 sender=:1.76 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RequestName
   string "org.fedoraproject.Config.Printing"
   uint32 0
signal time=1690050648.984584 sender=org.freedesktop.DBus -> destination=(null destination) serial=18 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "org.fedoraproject.Config.Printing"
   string ""
   string ":1.76"
signal time=1690050648.984600 sender=org.freedesktop.DBus -> destination=:1.76 serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string "org.fedoraproject.Config.Printing"
method return time=1690050648.984605 sender=org.freedesktop.DBus -> destination=:1.76 serial=4 reply_serial=2
   uint32 1
method return time=1690050648.997825 sender=:1.76 -> destination=:1.75 serial=3 reply_serial=25
   array [
      array [
         string "cups-brf:/"
      ]
      array [
         string "cups-pdf:/"
      ]
      array [
         string "dnssd://EPSON%20WF-4830%20Series._ipp._tcp.local/?uuid=cfe92100-67c4-11d4-a45f-dccd2f97e379"
         string "lpd://10.10.0.15:515/PASSTHRU"
      ]
      array [
         string "ipps://EPSON%20WF-4830%20Series._ipps._tcp.local/"
      ]
   ]
method call time=1690050652.492929 sender=:1.75 -> destination=org.fedoraproject.Config.Printing serial=26 path=/org/fedoraproject/Config/Printing; interface=org.fedoraproject.Config.Printing; member=GetBestDrivers
   string "MFG:EPSON;MDL:WF-4830 Series;CMD:PWG,URF,JPEG;"
   string "EPSON WF-4830 Series"
   string "dnssd://EPSON%20WF-4830%20Series._ipp._tcp.local/?uuid=cfe92100-67c4-11d4-a45f-dccd2f97e379"
method call time=1690050655.134059 sender=:1.77 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1690050655.134082 sender=org.freedesktop.DBus -> destination=:1.77 serial=1 reply_serial=1
   string ":1.77"
signal time=1690050655.134086 sender=org.freedesktop.DBus -> destination=(null destination) serial=19 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.77"
   string ""
   string ":1.77"
signal time=1690050655.134093 sender=org.freedesktop.DBus -> destination=:1.77 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.77"
method call time=1690050655.134196 sender=:1.77 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.portal.Documents'"
method return time=1690050655.134204 sender=org.freedesktop.DBus -> destination=:1.77 serial=3 reply_serial=2
method call time=1690050655.134205 sender=:1.77 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.portal.Documents"
error time=1690050655.134208 sender=org.freedesktop.DBus -> destination=:1.77 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=3
   string "Could not get owner of name 'org.freedesktop.portal.Documents': no such name"
signal time=1690050655.134435 sender=org.freedesktop.DBus -> destination=:1.77 serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.77"
signal time=1690050655.134446 sender=org.freedesktop.DBus -> destination=(null destination) serial=20 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.77"
   string ":1.77"
   string ""
method call time=1690050655.136784 sender=:1.78 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1690050655.136791 sender=org.freedesktop.DBus -> destination=:1.78 serial=1 reply_serial=1
   string ":1.78"
signal time=1690050655.136794 sender=org.freedesktop.DBus -> destination=(null destination) serial=21 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.78"
   string ""
   string ":1.78"
signal time=1690050655.136803 sender=org.freedesktop.DBus -> destination=:1.78 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.78"
method call time=1690050658.377522 sender=:1.78 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/gtk/settings/file-chooser/'"
method return time=1690050658.377540 sender=org.freedesktop.DBus -> destination=:1.78 serial=3 reply_serial=2
method return time=1690050658.384224 sender=:1.76 -> destination=:1.75 serial=4 reply_serial=26
   array [
      struct {
         string "driverless:ipps://EPSON%20WF-4830%20Series._ipps._tcp.local/"
         string "exact-cmd"
      }
      struct {
         string "driverless-fax:ipps://EPSON%20WF-4830%20Series._ipps._tcp.local/"
         string "exact-cmd"
      }
   ]
method call time=1690050664.307326 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=502 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050664.307522 sender=:1.8 -> destination=:1.11 serial=753 reply_serial=502
method call time=1690050664.575909 sender=:1.11 -> destination=org.kde.KWin.HighlightWindow serial=503 path=/org/kde/KWin/HighlightWindow; interface=org.kde.KWin.HighlightWindow; member=highlightWindows
   array [
   ]
method return time=1690050664.576173 sender=:1.8 -> destination=:1.11 serial=754 reply_serial=503

Offline

#22 2023-07-22 19:05:13

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Adding network printer does not work on fresh Arch install

Authenticate as user: Adding the printer works, using it does not. When I try to print test page I got the error "Unable to locate printer "EPSONWF4830.local"."

Means mdns doesn't work or you added some nonsense as printer.
See https://wiki.archlinux.org/title/CUPS/T … te_printer and post your /etc/nsswitch.conf /etc/mdns.allow and the output of

resolvectl status
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
avahi-browse --all --ignore-local --resolve --terminate

Offline

#23 2023-07-23 15:15:38

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Re: Adding network printer does not work on fresh Arch install

nsswitch.conf is the same as in Manjaro and EOS, but mdns.allow is non-existent - same with the other two operating systems. I didn't create one because i AM in a .local TLD, hence minimal mdns should work - shouldn't it?

cat /etc/nsswitch.conf

# 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

#hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

I use a local DNS on 10.10.0.1, where do this fallback servers come from? I certainly don't want any fallback DNS servers in my network...
resolvectl status

Global
           Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
    resolv.conf mode: foreign
  Current DNS Server: 10.10.0.1
         DNS Servers: 10.10.0.1
Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 9.9.9.9#dns.quad9.net 8.8.8.8#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2620:fe::9#dns.quad9.net 2001:4860:4860::8888#dns.google
          DNS Domain: ~.

Link 2 (enp0s3)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 10.10.0.1
       DNS Servers: 10.10.0.1

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

avahi-daemon.service                     | multi-user.target.wants
avahi-daemon.socket                      | sockets.target.wants
cups.path                                | multi-user.target.wants
cups.service                             | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.freedesktop.Avahi.service       | system
dbus-org.freedesktop.network1.service    | system
dbus-org.freedesktop.resolve1.service    | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
fstrim.timer                             | timers.target.wants
getty@tty1.service                       | getty.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-networkd.service                 | multi-user.target.wants
systemd-networkd.socket                  | sockets.target.wants
systemd-networkd-wait-online.service     | network-online.target.wants
systemd-network-generator.service        | sysinit.target.wants
systemd-resolved.service                 | sysinit.target.wants
systemd-timesyncd.service                | sysinit.target.wants
vboxservice.service                      | multi-user.target.wants
xdg-user-dirs-update.service             | default.target.wants

avahi-browse --all --ignore-local --resolve --terminate

+ enp0s3 IPv6 diskstation                                   Web Site             local
+ enp0s3 IPv4 diskstation                                   Web Site             local
= enp0s3 IPv6 diskstation                                   Web Site             local
   hostname = [diskstation.local]
   address = [fe80::211:32ff:fe14:2b19]
   port = [5000]
   txt = ["mac_address=00:11:32:14:2b:19" "secure_admin_port=5001" "admin_port=5000" "version_build=25556" "version_minor=2" "version_major=6" "serial=C7KFN00433" "model=DS412+" "vendor=Synology"]
= enp0s3 IPv4 diskstation                                   Web Site             local
   hostname = [diskstation.local]
   address = [10.10.0.13]
   port = [5000]
   txt = ["mac_address=00:11:32:14:2b:19" "secure_admin_port=5001" "admin_port=5000" "version_build=25556" "version_minor=2" "version_major=6" "serial=C7KFN00433" "model=DS412+" "vendor=Synology"]
+ enp0s3 IPv4 truenas                                       Web Site             local
+ enp0s3 IPv4 truenas                                       SFTP File Transfer   local
+ enp0s3 IPv4 truenas                                       Network File System  local
+ enp0s3 IPv4 truenas                                       _middleware-ssl._tcp local
+ enp0s3 IPv4 truenas                                       _middleware._tcp     local
+ enp0s3 IPv4 truenas                                       Secure Web Site      local
+ enp0s3 IPv4 truenas                                       Device Info          local
+ enp0s3 IPv4 truenas                                       SSH Remote Terminal  local
+ enp0s3 IPv4 truenas                                       Microsoft Windows Network local
= enp0s3 IPv4 truenas                                       Web Site             local
   hostname = [truenas.local]
   address = [10.10.0.100]
   port = [80]
   txt = []
= enp0s3 IPv4 truenas                                       SFTP File Transfer   local
   hostname = [truenas.local]
   address = [10.10.0.100]
   port = [22]
   txt = []
= enp0s3 IPv4 truenas                                       Network File System  local
   hostname = [truenas.local]
   address = [10.10.0.100]
   port = [2049]
   txt = []
= enp0s3 IPv4 truenas                                       _middleware-ssl._tcp local
   hostname = [truenas.local]
   address = [10.10.0.100]
   port = [443]
   txt = []
= enp0s3 IPv4 truenas                                       _middleware._tcp     local
   hostname = [truenas.local]
   address = [10.10.0.100]
   port = [6000]
   txt = []
= enp0s3 IPv4 truenas                                       Secure Web Site      local
   hostname = [truenas.local]
   address = [10.10.0.100]
   port = [443]
   txt = []
= enp0s3 IPv4 truenas                                       Device Info          local
   hostname = [truenas.local]
   address = [10.10.0.100]
   port = [9]
   txt = ["model=MacPro7,1@ECOLOR=226,226,224"]
= enp0s3 IPv4 truenas                                       SSH Remote Terminal  local
   hostname = [truenas.local]
   address = [10.10.0.100]
   port = [22]
   txt = []
= enp0s3 IPv4 truenas                                       Microsoft Windows Network local
   hostname = [truenas.local]
   address = [10.10.0.100]
   port = [445]
   txt = []
+ enp0s3 IPv4 Home                                          _home-assistant._tcp local
= enp0s3 IPv4 Home                                          _home-assistant._tcp local
   hostname = [afcde24f11fc49e181c27fff94211e9a.local]
   address = [10.10.50.105]
   port = [8123]
   txt = ["requires_api_password=True" "base_url=http://10.10.50.105:8123" "internal_url=http://10.10.50.105:8123" "external_url=" "version=2022.11.3" "uuid=afcde24f11fc49e181c27fff94211e9a" "location_name=Home"]
+ enp0s3 IPv4 EPSON WF-4830 Series                          UNIX Printer         local
+ enp0s3 IPv4 EPSON WF-4830 Series                          PDL Printer          local
+ enp0s3 IPv4 EPSON WF-4830 Series                          Web Site             local
+ enp0s3 IPv4 EPSON WF-4830 Series                          Microsoft Windows Network local
+ enp0s3 IPv4 EPSON WF-4830 Series                          _scanner._tcp        local
+ enp0s3 IPv4 EPSON WF-4830 Series                          Internet Printer     local
+ enp0s3 IPv4 EPSON WF-4830 Series                          Secure Internet Printer local
+ enp0s3 IPv4 EPSON WF-4830 Series                          _uscan._tcp          local
+ enp0s3 IPv4 EPSON WF-4830 Series                          _uscans._tcp         local
+ enp0s3 IPv6 EPSON WF-4830 Series                          UNIX Printer         local
+ enp0s3 IPv6 EPSON WF-4830 Series                          PDL Printer          local
+ enp0s3 IPv6 EPSON WF-4830 Series                          Web Site             local
+ enp0s3 IPv6 EPSON WF-4830 Series                          Microsoft Windows Network local
+ enp0s3 IPv6 EPSON WF-4830 Series                          _scanner._tcp        local
+ enp0s3 IPv6 EPSON WF-4830 Series                          Internet Printer     local
+ enp0s3 IPv6 EPSON WF-4830 Series                          Secure Internet Printer local
+ enp0s3 IPv6 EPSON WF-4830 Series                          _uscan._tcp          local
+ enp0s3 IPv6 EPSON WF-4830 Series                          _uscans._tcp         local
= enp0s3 IPv4 EPSON WF-4830 Series                          UNIX Printer         local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [515]
   txt = ["note=" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "qtotal=1" "rp=auto" "pdl=application/vnd.epson.escpr" "product=(EPSON WF-4830 Series)" "usb_MDL=WF-4830 Series" "usb_MFG=EPSON" "ty=EPSON WF-4830 Series" "priority=50" "txtvers=1"]
= enp0s3 IPv4 EPSON WF-4830 Series                          PDL Printer          local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [9100]
   txt = ["note=" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "qtotal=1" "pdl=application/vnd.epson.escpr" "product=(EPSON WF-4830 Series)" "usb_MDL=WF-4830 Series" "usb_MFG=EPSON" "ty=EPSON WF-4830 Series" "priority=40" "txtvers=1"]
= enp0s3 IPv4 EPSON WF-4830 Series                          Web Site             local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [80]
   txt = []
= enp0s3 IPv4 EPSON WF-4830 Series                          Microsoft Windows Network local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [445]
   txt = []
= enp0s3 IPv4 EPSON WF-4830 Series                          _scanner._tcp        local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [1865]
   txt = ["note=" "scannerAvailable=1" "UUID=cfe92100-67c4-11d4-a45f-dccd2f97e379" "mdl=WF-4830 Series" "mfg=EPSON" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "ty=EPSON WF-4830 Series" "txtvers=1"]
= enp0s3 IPv6 EPSON WF-4830 Series                          UNIX Printer         local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [515]
   txt = ["note=" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "qtotal=1" "rp=auto" "pdl=application/vnd.epson.escpr" "product=(EPSON WF-4830 Series)" "usb_MDL=WF-4830 Series" "usb_MFG=EPSON" "ty=EPSON WF-4830 Series" "priority=50" "txtvers=1"]
= enp0s3 IPv6 EPSON WF-4830 Series                          PDL Printer          local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [9100]
   txt = ["note=" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "qtotal=1" "pdl=application/vnd.epson.escpr" "product=(EPSON WF-4830 Series)" "usb_MDL=WF-4830 Series" "usb_MFG=EPSON" "ty=EPSON WF-4830 Series" "priority=40" "txtvers=1"]
= enp0s3 IPv6 EPSON WF-4830 Series                          Web Site             local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [80]
   txt = []
= enp0s3 IPv6 EPSON WF-4830 Series                          Microsoft Windows Network local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [445]
   txt = []
= enp0s3 IPv6 EPSON WF-4830 Series                          _scanner._tcp        local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [1865]
   txt = ["note=" "scannerAvailable=1" "UUID=cfe92100-67c4-11d4-a45f-dccd2f97e379" "mdl=WF-4830 Series" "mfg=EPSON" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "ty=EPSON WF-4830 Series" "txtvers=1"]
= enp0s3 IPv4 EPSON WF-4830 Series                          Internet Printer     local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [631]
   txt = ["TLS=1.2" "UUID=cfe92100-67c4-11d4-a45f-dccd2f97e379" "note=" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "priority=30" "mopria-certified=2.0" "URF=CP1,PQ4-5,OB9,OFU0,RS300-600,SRGB24,W8,DM3,IS1-2,V1.4,MT1-3-6-8-10-11-12" "PaperMax=legal-A4" "kind=document,envelope,photo" "rfo=ipp/faxout" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "qtotal=1" "rp=ipp/print" "pdl=application/octet-stream,image/pwg-raster,image/urf,image/jpeg,application/vnd.epson.escpr" "product=(EPSON WF-4830 Series)" "usb_MDL=WF-4830 Series" "usb_MFG=EPSON" "ty=EPSON WF-4830 Series" "txtvers=1"]
= enp0s3 IPv4 EPSON WF-4830 Series                          Secure Internet Printer local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [631]
   txt = ["TLS=1.2" "UUID=cfe92100-67c4-11d4-a45f-dccd2f97e379" "note=" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "priority=30" "mopria-certified=2.0" "URF=CP1,PQ4-5,OB9,OFU0,RS300-600,SRGB24,W8,DM3,IS1-2,V1.4,MT1-3-6-8-10-11-12" "PaperMax=legal-A4" "kind=document,envelope,photo" "rfo=ipp/faxout" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "qtotal=1" "rp=ipp/print" "pdl=application/octet-stream,image/pwg-raster,image/urf,image/jpeg,application/vnd.epson.escpr" "product=(EPSON WF-4830 Series)" "usb_MDL=WF-4830 Series" "usb_MFG=EPSON" "ty=EPSON WF-4830 Series" "txtvers=1"]
= enp0s3 IPv4 EPSON WF-4830 Series                          _uscan._tcp          local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [443]
   txt = ["representation=https://EPSONWF4830.local.:443/PRESENTATION/AIRPRINT/PRINTER_128.PNG" "note=" "UUID=cfe92100-67c4-11d4-a45f-dccd2f97e379" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "usb_MFG=EPSON" "mopria-certified-scan=1.3" "duplex=T" "is=platen,adf" "cs=color,grayscale,binary" "pdl=application/pdf,image/jpeg" "ty=EPSON WF-4830 Series" "rs=eSCL" "vers=2.63" "txtvers=1"]
= enp0s3 IPv4 EPSON WF-4830 Series                          _uscans._tcp         local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [443]
   txt = ["representation=https://EPSONWF4830.local.:443/PRESENTATION/AIRPRINT/PRINTER_128.PNG" "note=" "UUID=cfe92100-67c4-11d4-a45f-dccd2f97e379" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "usb_MFG=EPSON" "mopria-certified-scan=1.3" "duplex=T" "is=platen,adf" "cs=color,grayscale,binary" "pdl=application/pdf,image/jpeg" "ty=EPSON WF-4830 Series" "rs=eSCL" "vers=2.63" "txtvers=1"]
= enp0s3 IPv6 EPSON WF-4830 Series                          Internet Printer     local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [631]
   txt = ["TLS=1.2" "UUID=cfe92100-67c4-11d4-a45f-dccd2f97e379" "note=" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "priority=30" "mopria-certified=2.0" "URF=CP1,PQ4-5,OB9,OFU0,RS300-600,SRGB24,W8,DM3,IS1-2,V1.4,MT1-3-6-8-10-11-12" "PaperMax=legal-A4" "kind=document,envelope,photo" "rfo=ipp/faxout" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "qtotal=1" "rp=ipp/print" "pdl=application/octet-stream,image/pwg-raster,image/urf,image/jpeg,application/vnd.epson.escpr" "product=(EPSON WF-4830 Series)" "usb_MDL=WF-4830 Series" "usb_MFG=EPSON" "ty=EPSON WF-4830 Series" "txtvers=1"]
= enp0s3 IPv6 EPSON WF-4830 Series                          Secure Internet Printer local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [631]
   txt = ["TLS=1.2" "UUID=cfe92100-67c4-11d4-a45f-dccd2f97e379" "note=" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "priority=30" "mopria-certified=2.0" "URF=CP1,PQ4-5,OB9,OFU0,RS300-600,SRGB24,W8,DM3,IS1-2,V1.4,MT1-3-6-8-10-11-12" "PaperMax=legal-A4" "kind=document,envelope,photo" "rfo=ipp/faxout" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "qtotal=1" "rp=ipp/print" "pdl=application/octet-stream,image/pwg-raster,image/urf,image/jpeg,application/vnd.epson.escpr" "product=(EPSON WF-4830 Series)" "usb_MDL=WF-4830 Series" "usb_MFG=EPSON" "ty=EPSON WF-4830 Series" "txtvers=1"]
= enp0s3 IPv6 EPSON WF-4830 Series                          _uscan._tcp          local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [443]
   txt = ["representation=https://EPSONWF4830.local.:443/PRESENTATION/AIRPRINT/PRINTER_128.PNG" "note=" "UUID=cfe92100-67c4-11d4-a45f-dccd2f97e379" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "usb_MFG=EPSON" "mopria-certified-scan=1.3" "duplex=T" "is=platen,adf" "cs=color,grayscale,binary" "pdl=application/pdf,image/jpeg" "ty=EPSON WF-4830 Series" "rs=eSCL" "vers=2.63" "txtvers=1"]
= enp0s3 IPv6 EPSON WF-4830 Series                          _uscans._tcp         local
   hostname = [EPSONWF4830.local]
   address = [10.10.0.15]
   port = [443]
   txt = ["representation=https://EPSONWF4830.local.:443/PRESENTATION/AIRPRINT/PRINTER_128.PNG" "note=" "UUID=cfe92100-67c4-11d4-a45f-dccd2f97e379" "adminurl=http://EPSONWF4830.local.:80/PRESENTATION/BONJOUR" "usb_MFG=EPSON" "mopria-certified-scan=1.3" "duplex=T" "is=platen,adf" "cs=color,grayscale,binary" "pdl=application/pdf,image/jpeg" "ty=EPSON WF-4830 Series" "rs=eSCL" "vers=2.63" "txtvers=1"]

It is working within the same network, within the same nsswitch.conf with the other two distros. sad

Offline

#24 2023-07-23 15:41:37

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Adding network printer does not work on fresh Arch install

I use a local DNS on 10.10.0.1, where do this fallback servers come from?

systemd-resolved, hardcoded.

If you configure the printer w/ its IP (10.10.0.15), not the avahi domain, does it work?

Regardless of anything else, try to apply https://wiki.archlinux.org/title/Avahi# … om_working

Finally:

[root@VMArchBase ~]# host -t SOA local

Is arch a virtual machine? Are the other OS? What's the host?

Offline

#25 2023-07-23 16:29:24

milkytwix
Member
Registered: 2023-05-31
Posts: 13

Re: Adding network printer does not work on fresh Arch install

Okay, hardcoded stuff like this makes me..... nervous. I can fully understand that the OS must somehow get it's DNS solution working, but using google as a fallback is.... undesirable.

The current "machine" I am using is a VM inside a Manjaro Host (the system which is meant to be replaced...), but once in while or when I do some "progress" I boot my test machine to check if it is virtualization related. Which currently means "after every of your posts that makes me install or configure something" - which I am grateful for!
So, probing around: inside VM, really testing something: inside VM followed by a second test on hardware. VM network is set to "bridged" so that I am inside the network as a seperate entity, not NAT from the host.
I just booted it up, added mdns.allow and repeated all my tests to verify that VM and testmachine stay the same, result wise.

NXDOMAIN check:

[root@VMArchBase ~]# host -t SOA local
Host local not found: 3(NXDOMAIN)

Regarding configuring the printer with the IP instead of the domain name: I honestly don't know how. Getting back from where I came from: I search for network printers in the respective GUI dialog, and here I always had something to chose from - either the name of the printer with info under connections as IPP or go the driverless way, where I had to use the IP - both are not working in the same manner. This is tested with KDE dialog as well as system dialog. The only way to chose seems to be via directly triggering lpadmin - at least that I am aware of.

Edit: Forgot to mention - ofc added mdns.allow, rebootet to be sure everythings "new and shiny", and rtetested via KDE, systemdialog and cups, to no avail sad

Last edited by milkytwix (2023-07-23 16:31:06)

Offline

Board footer

Powered by FluxBB