KDE Printer duplex weirdness
Hi I posted this yesterday on the KDE mailing list, but received no opinions. So I'll try to repost here: I have a weird problem in KDE's printing dialog: My printer is shared via a printserver on a OpenSUSE running as NAS/server/host whatever, using CUPS and Avahi. After configuring cups and avahi on the client machine it picks up any printer announcement and makes the printer available locally. I have verified that Avahi announces the printer capabilities as Duplex True. klaus@msien:~> avahi-browse -c _ipp._tcp --resolve | grep -i duplex txt = ["printer-type=0x901E" "Duplex=T" "Color=T" ... Firefox and LibreOffice picks up this, and I can select Duplex Long or Short edge as expected. But trying to print from Konqueror or Okular any duplex option is grayed out and selection is stuck on Off. However: If I open the Firefox printing dialog, select Long edge and press Cancel, then immediately enter the print dialog in Okular (or Konqueror), I can now select Long or Short edge print (and it the printer does duplex as requested) I am runnning KDE Frameworks Version 5.105.0, Qt Version 5.15.9 (built against 5.15.9), cups-2.4.2 on OpenSUSE Tumbleweed. Any opinion if this bug is in OpenSUSE, KDE, or maybee CUPS? -- Thanks Klaus
Hello, In the Message; Subject : KDE Printer duplex weirdness Message-ID : <ad94ebc5-e31b-3a58-5741-6c19acf43d24@vink-slott.dk> Date & Time: Tue, 16 May 2023 14:43:18 +0200 [KVS] == Klaus Vink Slott via openSUSE Users <users@lists.opensuse.org> has written: KVS> Hi KVS> I posted this yesterday on the KDE mailing list, but received no opinions. So KVS> I'll try to repost here: KVS> I have a weird problem in KDE's printing dialog: KVS> My printer is shared via a printserver on a OpenSUSE running as KVS> NAS/server/host [...] KVS> I am runnning KDE Frameworks Version 5.105.0, Qt Version 5.15.9 KVS> (built against 5.15.9), cups-2.4.2 on OpenSUSE Tumbleweed. KVS> Any opinion if this bug is in OpenSUSE, KDE, or maybee CUPS? The cups log is useless? Reagrds. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "A society bound by e-mail and mobile phones deprives us of the freedom to face ourselves and indulge our fantasies." -- Michael Crichton (Speech in Japan) --
On 17.05.2023 Masaru Nomiya wrote:
KVS> I have a weird problem in KDE's printing dialog:
KVS> My printer is shared via a printserver on a OpenSUSE running as KVS> NAS/server/host [...] KVS> I am runnning KDE Frameworks Version 5.105.0, Qt Version 5.15.9 KVS> (built against 5.15.9), cups-2.4.2 on OpenSUSE Tumbleweed.
KVS> Any opinion if this bug is in OpenSUSE, KDE, or maybee CUPS?
The cups log is useless?
Well I don't see any errors in cups/error_log, only: [Client 8] Returning IPP client-error-not-possible for CUPS-Create-Local-Printer (ipp://localhost/) from localhost. on entering the print dialog in Firefox (which is the one that works). If I enable cups debug there is a lot of output, but nothing that looks really suspicious to me. But don't know enough about the inner workings of the cups to say. -- Klaus
On 2023-05-16 14:43, Klaus Vink Slott via openSUSE Users wrote:
Hi
I posted this yesterday on the KDE mailing list, but received no opinions. So I'll try to repost here:
I have a weird problem in KDE's printing dialog:
My printer is shared via a printserver on a OpenSUSE running as NAS/server/host whatever, using CUPS and Avahi. After configuring cups and avahi on the client machine it picks up any printer announcement and makes the printer available locally.
I have verified that Avahi announces the printer capabilities as Duplex True.
klaus@msien:~> avahi-browse -c _ipp._tcp --resolve | grep -i duplex txt = ["printer-type=0x901E" "Duplex=T" "Color=T" ...
Firefox and LibreOffice picks up this, and I can select Duplex Long or Short edge as expected. But trying to print from Konqueror or Okular any duplex option is grayed out and selection is stuck on Off.
However: If I open the Firefox printing dialog, select Long edge and press Cancel, then immediately enter the print dialog in Okular (or Konqueror), I can now select Long or Short edge print (and it the printer does duplex as requested)
I am runnning KDE Frameworks Version 5.105.0, Qt Version 5.15.9 (built against 5.15.9), cups-2.4.2 on OpenSUSE Tumbleweed.
Any opinion if this bug is in OpenSUSE, KDE, or maybee CUPS?
I'm guessing that you are using the automatic configuration feature available with modern printers. You might try instead the traditional, static, configuration. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
Den 17.05.2023 kl. 11.36 skrev Carlos E. R.:
On 2023-05-16 14:43, Klaus Vink Slott via openSUSE Users wrote:
My printer is shared via a printserver on a OpenSUSE running as NAS/server/host whatever, using CUPS and Avahi.
I have verified that Avahi announces the printer capabilities as Duplex True.
Any opinion if this bug is in OpenSUSE, KDE, or maybee CUPS?
I'm guessing that you are using the automatic configuration feature available with modern printers.
Correct.
You might try instead the traditional, static, configuration.
That may work. But my main goal of this hole endeavor, was to get autoconfig working properly. Right now I am testing on my own network, but I am sysadmin on a small university so I really would like printing to "just work" on all clients. -- Klaus
Klaus Vink Slott via openSUSE Users wrote:
That may work. But my main goal of this hole endeavor, was to get autoconfig working properly. Right now I am testing on my own network, but I am sysadmin on a small university so I really would like printing to "just work" on all clients.
Hej Klaus fwiw, we have been configuring office printers automatically for a decade or more. Not with avahi though, with cups-browsed. Funny you should bring this up - right now, we seem to be having an issue too :-) but I think it might be ipv6 related. -- Per Jessen, Zürich (13.6°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes
Den 17.05.2023 kl. 19.41 skrev Per Jessen:
... I am sysadmin on a small university so I really would like printing to "just work" on all clients.
Hej Klaus
Davs!
fwiw, we have been configuring office printers automatically for a decade or more. Not with avahi though, with cups-browsed.
yes I have also used cups-browsed previously. But the CUPS folks have been pushing Avahi for a while now, so I thought it was about time to get to know Avahi.
Funny you should bring this up - right now, we seem to be having an issue too :-) but I think it might be ipv6 related.
Hmm..🤔 maybee I should try temporary disabling IVv6.. -- Klaus
Klaus Vink Slott via openSUSE Users wrote:
Den 17.05.2023 kl. 19.41 skrev Per Jessen:
... I am sysadmin on a small university so I really would like printing to "just work" on all clients.
Hej Klaus
Davs!
fwiw, we have been configuring office printers automatically for a decade or more. Not with avahi though, with cups-browsed.
yes I have also used cups-browsed previously. But the CUPS folks have been pushing Avahi for a while now, so I thought it was about time to get to know Avahi.
Ah, okay. That makes sense.
Funny you should bring this up - right now, we seem to be having an issue too :-) but I think it might be ipv6 related.
Hmm..🤔 maybee I should try temporary disabling IVv6..
I only mentioned it because printing used to be working fine, but we have been activating more and more machines on ipv6, in the last month or two, and now I am having trouble with printing from my own laptop. -- Per Jessen, Zürich (13.4°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes
Per Jessen wrote:
Klaus Vink Slott via openSUSE Users wrote:
That may work. But my main goal of this hole endeavor, was to get autoconfig working properly. Right now I am testing on my own network, but I am sysadmin on a small university so I really would like printing to "just work" on all clients.
Hej Klaus
fwiw, we have been configuring office printers automatically for a decade or more. Not with avahi though, with cups-browsed.
Funny you should bring this up - right now, we seem to be having an issue too :-) but I think it might be ipv6 related.
Please ignore that - red herring. I forgot that we had moved the cups server to a virtual host, and although it did in fact have a minor ipv6 issue, it was unrelated. Dynamic printer config with cups-browsed works fine for us. I might have a look at avahi config at some point, but we are not exactly printing a lot these days. mvh Per -- Per Jessen, Zürich (9.6°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes
Per Jessen wrote:
Klaus Vink Slott via openSUSE Users wrote:
...
Funny you should bring this up - right now, we seem to be having an issue too :-) but I think it might be ipv6 related.
Please ignore that - red herring. No problem. I didn't take it at face value, just one more thing to check if had any influence. And it sure did. I discovered that ipv6 was not enabled on the client vlan, and after enabling - I was not able to print at all! The printer seems to be there, and I see the job in the print
Den 18.05.2023 kl. 09.18 skrev Per Jessen: the local queue, but nothing on the server. After a while the queue just disappear, with the job and everything. In the mean time (with only ipv4 enabled on client) I'v found that this is not isolated to KDE apps, Thunderbird is confused to: If I enter Thunderbird print menu: Nothing but "Print to PDF" available, then I enter Firefox print menu, return to Thunderbird, and now the network printer is there and selected. I'll have to give up on auto configuration using Avahi for now. There is to many unknowns to make any sense of it. -- Klaus
On 2023-05-17 18:42, Klaus Vink Slott via openSUSE Users wrote:
Den 17.05.2023 kl. 11.36 skrev Carlos E. R.:
On 2023-05-16 14:43, Klaus Vink Slott via openSUSE Users wrote:
My printer is shared via a printserver on a OpenSUSE running as NAS/server/host whatever, using CUPS and Avahi.
I have verified that Avahi announces the printer capabilities as Duplex True.
Any opinion if this bug is in OpenSUSE, KDE, or maybee CUPS?
I'm guessing that you are using the automatic configuration feature available with modern printers.
Correct.
You might try instead the traditional, static, configuration.
That may work. But my main goal of this hole endeavor, was to get autoconfig working properly. Right now I am testing on my own network, but I am sysadmin on a small university so I really would like printing to "just work" on all clients.
At another location I configured staticallly an HP BW duplex printer. After that, I noticed that the printer dialog offers two printers, the one I defined, and the same printer, via automatic setup. I really prefer the static one. Works better, uses the exact configuration needed... I think I had to open some port in the firewall, but I can not look it up now, I'm not there. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
participants (4)
-
Carlos E. R.
-
Klaus Vink Slott
-
Masaru Nomiya
-
Per Jessen