You are not logged in.

#1 2024-06-20 02:49:27

moriartynz
Member
Registered: 2024-03-29
Posts: 4

CUPS Add printer Connection URI garbled

I am trying to add a network printer using the CUPS web interface at http://localhost:631 as Administrator.
It discovers the printers well enough, but when I continue to the connection page, it prints a garbled URI for the discovered printer: `y:w` in the Connection box. I would expect it to print the discovered URI.
Clicking "Continue" with the garbled URI doesn't move to the next page.
Any ideas?

Offline

#2 2024-06-20 06:13:50

seth
Member
Registered: 2012-09-03
Posts: 60,795

Re: CUPS Add printer Connection URI garbled

Network printer? Do you use avahi or try to rely on resolved's mdns discovery?
https://wiki.archlinux.org/title/CUPS#Printer_discovery

Offline

#3 2024-06-20 23:35:06

moriartynz
Member
Registered: 2024-03-29
Posts: 4

Re: CUPS Add printer Connection URI garbled

Yes, network printer and I use the avahi discovery.
Running
`lpinfo --include-schemes dnssd -v`
discovers the printer URI: dnssd://Brother%20QL-720NW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-008077532e00
The garbled URI persists, but if I replace it with that URI, it does work. It's just a pity it requires that workaround. It should just automatically fill in the URI automatically from what it discovered.
I'm wondering if this is a locale issue, or something equally arcane?

Offline

#4 2024-06-21 06:20:26

seth
Member
Registered: 2012-09-03
Posts: 60,795

Re: CUPS Add printer Connection URI garbled

No, it's probably another regression in the cups webserver, https://github.com/OpenPrinting/cups/issues

Is this some major webbrowser (chomrium/firefox) and does it happen in a por… private tab (ie. w/ extensions etc. disabled but javascript active)?

Offline

#5 2024-07-01 14:14:58

moriartynz
Member
Registered: 2024-03-29
Posts: 4

Re: CUPS Add printer Connection URI garbled

The exact issue has been raised by a different user as a bug in CUPS and a fix has been committed.

Offline

#6 2024-07-01 14:24:40

seth
Member
Registered: 2012-09-03
Posts: 60,795

Re: CUPS Add printer Connection URI garbled

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB