Wifi Printer

I’ve just spent about 90 seconds installing an app on my mobile. It WiFi printed to my printer at the first attempt.

So, to summarise the situation:

  • I can print to my printer from my Fedora PC using a USB cable.
  • I can print to my printer from my Android mobile using WiFi.
  • I can’t print to my printer from my Fedora PC using Wifi.

[Edit]
Having the IP address in the Location field as shown in post 30 above does not work. I’ve just realised that not believing the default CUPS-BRF-Printer (the Braille one) and rather than editing the panel, starting again, resulted in getting a different panel with an extra field Address. Putting the IP address in there works:

Screenshot from 2024-01-08 21-53-44

It would have saved @computersavvy, @vekruse and me a lot of time, if Settings > Printers had a) not defaulted to an inappropriate (Braille!) printer and b) given me a warning that the printer connection did not exist, instead of just hanging on “Processing”.
c) Right-clicking on the fields gives among other things the vital option of entering an emoji. However hovering on them does not make any suggestions about what sort of information should be entered.

It’s stopped working. Possibly due to upgrading to Fedora-40, I’m not sure.
Now when I try to install a printer the “address” field always shows “localhost” which I assume is a wired connection not wireless. I can’t enter the IP address.
It names the printer “Virtual Braille BRF Printer (CUPS-BRF)” again. When I print it shows “Processing” but nothing happens - someone else’s printer again?
I’ve tried many times but can’t get a different printer to show which will permit entering the IP address as in my previous post.

I have a Canon MG7500. For “address” it uses: http://Canon MG7500 series._ipp._tcp.local:631. I think the MG6150 supports Airprint/IPP, so should not be configured with Gutenprint.

Sounds interesting. As mentioned above, I can’t alter the address field to ’ http://Canon MG7500 series._ipp._tcp.local:631’. I can’t start from a blank page and enter what I want either. I have to allow it to find a printer (it finds a Braille printer!) which I assume belongs to someone else, then edit what I can. Same happens if I click on “localhost” and go to the CUPS page.
I’ve tried downloading the Canon driver rpm but that fails with

error: Failed dependencies:
libpangox-1.0.so.0()(64bit) is needed by cnijfilter-mg6100series-3.40-1.x86_64
libpng12.so.0()(64bit) is needed by cnijfilter-mg6100series-3.40-1.x86_64
libtiff.so.3()(64bit) is needed by cnijfilter-mg6100series-3.40-1.x86_64

Libpango is already installed, I can’t find libpangox.
That method requires compilation or building of an utility which never works - there is always something missing, a typo in the instructions etc etc.

I’m afraid I don’t know what to do with what I get when I try this in a browser: http://Canon MG7500 series._ipp._tcp.local:631
I think we’ve discussed ‘Airprint/IPP’ before.

This is the IPP address for a different model. See the CUPS document: Using Network Printers.

That is a service name as registered with avahi. When a printer is registered with avahi, the printer can be used without further setup. In the print dialog of Libreoffice or Firefox, the printer will just magically show up.

Good tip - a very similar one does appear on one panel, however it shows as “Generic printer” on another and although sometimes the Settings/Printers panel shows that it has accepted the document, it always gets stuck on “Processing”…

I have spent hours and hours on this - from looking at the CUPS website, the next step would appear to be to study for a degree in printer interfacing. I haven’t got any more time for it. I shall use one of the following solutions:

  • Print from my phone (I got that to work in about 90 seconds).
  • Move the printer back into the room with the desktop and use a USB lead (that works).
  • Print from my Windows laptop.
  • Try another distribution,

Why does it have to be so hard, when a 10 year old Android phone can do it immediately without any fuss whatsoever?

  1. The android phone is likely using a current OS version.

  2. Android is not linux and has a lot of pieces that are modified/created by google that are not FOSS.

  3. Linux is updated and bugs fixed when users submit a bug report documenting issues so the developers are aware of issues and able to work on that particular problem.

You appears to have created problems by trying to use legacy CUPS drivers. Printer vendors have moved to driver-free printing, all based on IPP but named differently by each vendor (presumably with vendor-specific extensions).

For me, Gnome offers the avahi address of the printer when you use the GUI to configure a printer. Quoting Gnome Printing Setup

If your printer is connected to the network, it will not be set up automatically – you should add it from the Printers panel in Settings.

Airprint is Apple’s name for driverless printing and so far has been compatible with CUPS IPP.

Try the following example to see if your printer is listed:

% avahi-browse _ipp._tcp 
+   wlo1 IPv4 Canon MG7500 series                           _ipp._tcp            local
+ enp0s20f0u3u1u2 IPv4 Canon MG7500 series                           _ipp._tcp            local
^CGot SIGINT, quitting.

You skipped the part

Run avahi-browse -acr
and you should get something like

+   eth0 IPv6 Brother HL-2130 series @ newbox               _printer._tcp        local
+   eth0 IPv6 Brother DCP-J4120DW inkjet @ newbox           _printer._tcp        local
+   eth0 IPv6 Generic PDF @ newbox                          _printer._tcp        local
+   eth0 IPv4 Brother HL-2130 series @ newbox               _printer._tcp        local
+   eth0 IPv4 Brother DCP-J4120DW inkjet @ newbox           _printer._tcp        local
+   eth0 IPv4 Generic PDF @ newbox                          _printer._tcp        local
+     lo IPv4 Brother DCP-J4120DW inkjet @ newbox           _printer._tcp        local
+     lo IPv4 Brother HL-2130 series @ newbox               _printer._tcp        local
+     lo IPv4 Generic PDF @ newbox                          _printer._tcp        local
+   eth0 IPv6 Generic PDF @ newbox                          _ipps._tcp           local
+   eth0 IPv6 Brother DCP-J4120DW inkjet @ newbox           _ipps._tcp           local
+   eth0 IPv6 Brother HL-2130 series @ newbox               _ipps._tcp           local
+   eth0 IPv4 Generic PDF @ newbox                          _ipps._tcp           local
+   eth0 IPv4 Brother DCP-J4120DW inkjet @ newbox           _ipps._tcp           local
+   eth0 IPv4 Brother HL-2130 series @ newbox               _ipps._tcp           local
+     lo IPv4 Generic PDF @ newbox                          _ipps._tcp           local
+     lo IPv4 Brother DCP-J4120DW inkjet @ newbox           _ipps._tcp           local
+     lo IPv4 Brother HL-2130 series @ newbox               _ipps._tcp           local
+   eth0 IPv6 Brother DCP-J4120DW inkjet @ newbox           _ipp._tcp            local
+   eth0 IPv6 Brother HL-2130 series @ newbox               _ipp._tcp            local
+   eth0 IPv6 Generic PDF @ newbox                          _ipp._tcp            local
+   eth0 IPv4 Brother DCP-J4120DW inkjet @ newbox           _ipp._tcp            local
+   eth0 IPv4 Brother HL-2130 series @ newbox               _ipp._tcp            local
+   eth0 IPv4 Generic PDF @ newbox                          _ipp._tcp            local
+   eth0 IPv4 Brother DCP-J4120DW                           _ipp._tcp            local
+     lo IPv4 Brother DCP-J4120DW inkjet @ newbox           _ipp._tcp            local
+     lo IPv4 Brother HL-2130 series @ newbox               _ipp._tcp            local
+     lo IPv4 Generic PDF @ newbox                          _ipp._tcp            local
+   eth0 IPv4 Brother DCP-J4120DW                           _http._tcp           local
+   eth0 IPv4 Brother DCP-J4120DW                           _scanner._tcp        local
=   eth0 IPv6 Brother HL-2130 series @ newbox               _printer._tcp        local
   hostname = [newbox.local]
   address = [fd0c:5f3d:1551:bb55::79:51]
   port = [0]
   txt = []
=   eth0 IPv6 Brother DCP-J4120DW inkjet @ newbox           _printer._tcp        local
   hostname = [newbox.local]
   address = [fd0c:5f3d:1551:bb55::79:51]
   port = [0]
   txt = []
=   eth0 IPv6 Generic PDF @ newbox                          _printer._tcp        local
   hostname = [newbox.local]
   address = [fd0c:5f3d:1551:bb55::79:51]
   port = [0]
   txt = []
=   eth0 IPv4 Brother HL-2130 series @ newbox               _printer._tcp        local
   hostname = [newbox.local]
   address = [192.168.178.10]
   port = [0]
   txt = []
=   eth0 IPv4 Brother DCP-J4120DW inkjet @ newbox           _printer._tcp        local
   hostname = [newbox.local]
   address = [192.168.178.10]
   port = [0]
   txt = []
=   eth0 IPv4 Generic PDF @ newbox                          _printer._tcp        local
   hostname = [newbox.local]
   address = [192.168.178.10]
   port = [0]
   txt = []
=     lo IPv4 Brother DCP-J4120DW inkjet @ newbox           _printer._tcp        local
   hostname = [newbox.local]
   address = [127.0.0.1]
   port = [0]
   txt = []
=     lo IPv4 Brother HL-2130 series @ newbox               _printer._tcp        local
   hostname = [newbox.local]
   address = [127.0.0.1]
   port = [0]
   txt = []
=     lo IPv4 Generic PDF @ newbox                          _printer._tcp        local
   hostname = [newbox.local]
   address = [127.0.0.1]
   port = [0]
   txt = []
=   eth0 IPv6 Generic PDF @ newbox                          _ipps._tcp           local
   hostname = [newbox.local]
   address = [fd0c:5f3d:1551:bb55::79:51]
   port = [631]
   txt = ["printer-type=0x80F04E" "Copies=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS150,FN3" "TLS=1.2" "UUID=786d6aca-fae4-3fb9-6062-38f489ac0fad" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(CUPS v1.1)" "priority=0" "note=" "adminurl=https://newbox.local.:631/printers/Generic-PDF" "ty=Generic CUPS-PDF Printer (no options)" "rp=printers/Generic-PDF" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 Brother DCP-J4120DW inkjet @ newbox           _ipps._tcp           local
   hostname = [newbox.local]
   address = [fd0c:5f3d:1551:bb55::79:51]
   port = [631]
   txt = ["printer-type=0xB01E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=b35e858e-35ae-3d67-77b7-2f529c85236f" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(Brother DCP-J4120DW)" "priority=0" "adminurl=https://newbox.local.:631/printers/inkjet" "ty=Brother DCP-J4120DW, driverless, cups-filters 1.28.8" "rp=printers/inkjet" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 Brother HL-2130 series @ newbox               _ipps._tcp           local
   hostname = [newbox.local]
   address = [fd0c:5f3d:1551:bb55::79:51]
   port = [631]
   txt = ["printer-type=0x80B006" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,RS75,FN3" "TLS=1.2" "UUID=8d1fe984-af81-335d-76fd-1bfb932c8fd1" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HL-2140 series)" "priority=0" "note=mybox.localdomain" "adminurl=https://newbox.local.:631/printers/laserjet" "ty=Brother HL-2140 Foomatic/hl1250" "rp=printers/laserjet" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Generic PDF @ newbox                          _ipps._tcp           local
   hostname = [newbox.local]
   address = [192.168.178.10]
   port = [631]
   txt = ["printer-type=0x80F04E" "Copies=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS150,FN3" "TLS=1.2" "UUID=786d6aca-fae4-3fb9-6062-38f489ac0fad" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(CUPS v1.1)" "priority=0" "note=" "adminurl=https://newbox.local.:631/printers/Generic-PDF" "ty=Generic CUPS-PDF Printer (no options)" "rp=printers/Generic-PDF" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother DCP-J4120DW inkjet @ newbox           _ipps._tcp           local
   hostname = [newbox.local]
   address = [192.168.178.10]
   port = [631]
   txt = ["printer-type=0xB01E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=b35e858e-35ae-3d67-77b7-2f529c85236f" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(Brother DCP-J4120DW)" "priority=0" "adminurl=https://newbox.local.:631/printers/inkjet" "ty=Brother DCP-J4120DW, driverless, cups-filters 1.28.8" "rp=printers/inkjet" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother HL-2130 series @ newbox               _ipps._tcp           local
   hostname = [newbox.local]
   address = [192.168.178.10]
   port = [631]
   txt = ["printer-type=0x80B006" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,RS75,FN3" "TLS=1.2" "UUID=8d1fe984-af81-335d-76fd-1bfb932c8fd1" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HL-2140 series)" "priority=0" "note=mybox.localdomain" "adminurl=https://newbox.local.:631/printers/laserjet" "ty=Brother HL-2140 Foomatic/hl1250" "rp=printers/laserjet" "qtotal=1" "txtvers=1"]
=     lo IPv4 Generic PDF @ newbox                          _ipps._tcp           local
   hostname = [newbox.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x80F04E" "Copies=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS150,FN3" "TLS=1.2" "UUID=786d6aca-fae4-3fb9-6062-38f489ac0fad" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(CUPS v1.1)" "priority=0" "note=" "adminurl=https://newbox.local.:631/printers/Generic-PDF" "ty=Generic CUPS-PDF Printer (no options)" "rp=printers/Generic-PDF" "qtotal=1" "txtvers=1"]
=     lo IPv4 Brother DCP-J4120DW inkjet @ newbox           _ipps._tcp           local
   hostname = [newbox.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0xB01E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=b35e858e-35ae-3d67-77b7-2f529c85236f" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(Brother DCP-J4120DW)" "priority=0" "adminurl=https://newbox.local.:631/printers/inkjet" "ty=Brother DCP-J4120DW, driverless, cups-filters 1.28.8" "rp=printers/inkjet" "qtotal=1" "txtvers=1"]
=     lo IPv4 Brother HL-2130 series @ newbox               _ipps._tcp           local
   hostname = [newbox.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x80B006" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,RS75,FN3" "TLS=1.2" "UUID=8d1fe984-af81-335d-76fd-1bfb932c8fd1" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HL-2140 series)" "priority=0" "note=mybox.localdomain" "adminurl=https://newbox.local.:631/printers/laserjet" "ty=Brother HL-2140 Foomatic/hl1250" "rp=printers/laserjet" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 Brother DCP-J4120DW inkjet @ newbox           _ipp._tcp            local
   hostname = [newbox.local]
   address = [fd0c:5f3d:1551:bb55::79:51]
   port = [631]
   txt = ["printer-type=0xB01E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=b35e858e-35ae-3d67-77b7-2f529c85236f" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(Brother DCP-J4120DW)" "priority=0" "adminurl=https://newbox.local.:631/printers/inkjet" "ty=Brother DCP-J4120DW, driverless, cups-filters 1.28.8" "rp=printers/inkjet" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 Brother HL-2130 series @ newbox               _ipp._tcp            local
   hostname = [newbox.local]
   address = [fd0c:5f3d:1551:bb55::79:51]
   port = [631]
   txt = ["printer-type=0x80B006" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,RS75,FN3" "TLS=1.2" "UUID=8d1fe984-af81-335d-76fd-1bfb932c8fd1" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HL-2140 series)" "priority=0" "note=mybox.localdomain" "adminurl=https://newbox.local.:631/printers/laserjet" "ty=Brother HL-2140 Foomatic/hl1250" "rp=printers/laserjet" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 Generic PDF @ newbox                          _ipp._tcp            local
   hostname = [newbox.local]
   address = [fd0c:5f3d:1551:bb55::79:51]
   port = [631]
   txt = ["printer-type=0x80F04E" "Copies=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS150,FN3" "TLS=1.2" "UUID=786d6aca-fae4-3fb9-6062-38f489ac0fad" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(CUPS v1.1)" "priority=0" "note=" "adminurl=https://newbox.local.:631/printers/Generic-PDF" "ty=Generic CUPS-PDF Printer (no options)" "rp=printers/Generic-PDF" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother DCP-J4120DW inkjet @ newbox           _ipp._tcp            local
   hostname = [newbox.local]
   address = [192.168.178.10]
   port = [631]
   txt = ["printer-type=0xB01E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=b35e858e-35ae-3d67-77b7-2f529c85236f" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(Brother DCP-J4120DW)" "priority=0" "adminurl=https://newbox.local.:631/printers/inkjet" "ty=Brother DCP-J4120DW, driverless, cups-filters 1.28.8" "rp=printers/inkjet" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother HL-2130 series @ newbox               _ipp._tcp            local
   hostname = [newbox.local]
   address = [192.168.178.10]
   port = [631]
   txt = ["printer-type=0x80B006" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,RS75,FN3" "TLS=1.2" "UUID=8d1fe984-af81-335d-76fd-1bfb932c8fd1" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HL-2140 series)" "priority=0" "note=mybox.localdomain" "adminurl=https://newbox.local.:631/printers/laserjet" "ty=Brother HL-2140 Foomatic/hl1250" "rp=printers/laserjet" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Generic PDF @ newbox                          _ipp._tcp            local
   hostname = [newbox.local]
   address = [192.168.178.10]
   port = [631]
   txt = ["printer-type=0x80F04E" "Copies=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS150,FN3" "TLS=1.2" "UUID=786d6aca-fae4-3fb9-6062-38f489ac0fad" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(CUPS v1.1)" "priority=0" "note=" "adminurl=https://newbox.local.:631/printers/Generic-PDF" "ty=Generic CUPS-PDF Printer (no options)" "rp=printers/Generic-PDF" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother DCP-J4120DW                           _ipp._tcp            local
   hostname = [BRWA8A7951734E8.local]
   address = [192.168.178.14]
   port = [631]
   txt = ["print_wfds=T" "UUID=e3248000-80ce-11db-8000-a8a7951734e8" "PaperMax=tabloid-A3" "kind=document,envelope,photo" "URF=SRGB24,W8,CP1,IS1,MT1-8-11,OB9,PQ4-5,RS200-300,OFU0,V1.3,DM4" "rfo=ipp/faxout" "TBCP=F" "Transparent=T" "Binary=T" "PaperCustom=T" "Scan=T" "Fax=F" "Duplex=T" "Copies=F" "Color=T" "usb_CMD=HBP,BRPJL,URF" "usb_MDL=DCP-J4120DW" "usb_MFG=Brother" "priority=25" "adminurl=http://BRWA8A7951734E8.local./net/net/airprint.html" "product=(Brother DCP-J4120DW)" "ty=Brother DCP-J4120DW" "note=hardware" "rp=ipp/print" "pdl=application/octet-stream,application/vnd.brother-hbp,image/pwg-raster,image/urf,image/jpeg" "qtotal=1" "txtvers=1"]
=     lo IPv4 Brother DCP-J4120DW inkjet @ newbox           _ipp._tcp            local
   hostname = [newbox.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0xB01E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=b35e858e-35ae-3d67-77b7-2f529c85236f" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(Brother DCP-J4120DW)" "priority=0" "adminurl=https://newbox.local.:631/printers/inkjet" "ty=Brother DCP-J4120DW, driverless, cups-filters 1.28.8" "rp=printers/inkjet" "qtotal=1" "txtvers=1"]
=     lo IPv4 Brother HL-2130 series @ newbox               _ipp._tcp            local
   hostname = [newbox.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x80B006" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,RS75,FN3" "TLS=1.2" "UUID=8d1fe984-af81-335d-76fd-1bfb932c8fd1" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HL-2140 series)" "priority=0" "note=mybox.localdomain" "adminurl=https://newbox.local.:631/printers/laserjet" "ty=Brother HL-2140 Foomatic/hl1250" "rp=printers/laserjet" "qtotal=1" "txtvers=1"]
=     lo IPv4 Generic PDF @ newbox                          _ipp._tcp            local
   hostname = [newbox.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x80F04E" "Copies=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS150,FN3" "TLS=1.2" "UUID=786d6aca-fae4-3fb9-6062-38f489ac0fad" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(CUPS v1.1)" "priority=0" "note=" "adminurl=https://newbox.local.:631/printers/Generic-PDF" "ty=Generic CUPS-PDF Printer (no options)" "rp=printers/Generic-PDF" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother DCP-J4120DW                           _http._tcp           local
   hostname = [BRWA8A7951734E8.local]
   address = [192.168.178.14]
   port = [80]
   txt = []
=   eth0 IPv4 Brother DCP-J4120DW                           _scanner._tcp        local
   hostname = [BRWA8A7951734E8.local]
   address = [192.168.178.14]
   port = [54921]
   txt = ["flatbed=T" "feeder=F" "button=T" "mdl=DCP-J4120DW" "mfg=Brother" "ty=Brother DCP-J4120DW" "adminurl=http://BRWA8A7951734E8.local./" "note=hardware" "txtvers=1"]

The android phone is likely using a current OS version.

Android 6.0.1 Released 2015

Android is not linux
Linux is updated and bugs fixed

How is that relevant to my point?

Your comment said android could print. I was pointing out that android and linux are totally different since android was branched from the linux kernel many years ago and has a totally different target hardware base and development path.

I was also reminding you that when you encounter a problem that is not user config related, the path to a solution is to file a bug report.

You appears to have created problems by trying to use legacy CUPS drivers.

Thanks Gnome>Settings>Printer for creating problems.

  • I didn’t create the problem, the Settings>Printer installed that printer automatically.
  • I tried ‘Searh for Drivers’ that found nothing.
  • I tried ‘Select from Database’ and Settings>Printer suggested many printers, including 2 for my printer.
  • I tried ‘Install PPD file’ there is no tooltip, I have no idea what it means. If I select it there is nothing.

For me, Gnome offers the avahi address of the printer when you use the GUI to configure a printer. Quoting Gnome Printing Setup 1

I’ve read that, nothing new there.

If your printer is connected to the network, it will not be set up automatically – you should add it from the Printers panel in Settings.

See above.

Airprint is Apple’s name for driverless printing and so far has been compatible with CUPS IPP.

Try the following example to see if your printer is listed:
% avahi-browse _ipp._tcp

  • wlo1 IPv4 Canon MG7500 series _ipp._tcp local
  • enp0s20f0u3u1u2 IPv4 Canon MG7500 series _ipp._tcp local
    ^CGot SIGINT, quitting.

chris@fedora:~$ avahi-browse _ipp._tcp
{blank line, stuck in a loop}

I read it but it didn’t imply that I should do anything.

Run avahi-browse -acr

Interesting thanks! The result is:

chris@fedora:~$ avahi-browse -acr
+ enp4s7 IPv4 Canon MG6100 series _42FBDD27FB8D             _http._tcp           local
+ enp4s7 IPv4 Canon MG6100 series _42FBDD27FB8D             _scanner._tcp        local
+ enp4s7 IPv4 Canon MG6100 series _42FBDD27FB8D             _canon-bjnp1._tcp    local
+ enp4s7 IPv4 Passim-8C61                                   _cache._tcp          local
+     lo IPv4 Passim-8C61                                   _cache._tcp          local
= enp4s7 IPv4 Passim-8C61                                   _cache._tcp          local
   hostname = [fedora.local]
   address = [192.168.0.9]
   port = [27500]
   txt = []
=     lo IPv4 Passim-8C61                                   _cache._tcp          local
   hostname = [fedora.local]
   address = [127.0.0.1]
   port = [27500]
   txt = []
= enp4s7 IPv4 Canon MG6100 series _42FBDD27FB8D             _canon-bjnp1._tcp    local
   hostname = [Canon.local]
   address = [192.168.0.5]
   port = [8611]
   txt = ["usb_MDL=MG6100 series" "usb_MFG=Canon" "adminurl=http://Canon.local." "pdl=application/octet-stream" "product=(Canon MG6100 series)" "ty=Canon MG6100 series" "priority=20" "qtotal=1" "rp=auto" "txtvers=1"]
= enp4s7 IPv4 Canon MG6100 series _42FBDD27FB8D             _scanner._tcp        local
   hostname = [Canon.local]
   address = [192.168.0.5]
   port = [8612]
   txt = ["scannerAvailable=1" "uuid=13D196" "mdl=MG6100 series" "mfg=Canon" "ty=Canon MG6100 series" "adminurl=http://Canon.local." "txtvers=1"]
= enp4s7 IPv4 Canon MG6100 series _42FBDD27FB8D             _http._tcp           local
   hostname = [Canon.local]
   address = [192.168.0.5]
   port = [80]

I imagine that [192.168.0.1] is the desktop. There are two others - [192.168.0.5] which mentions Canon and [192.168.0.9] which doesn’t say much, so no idea what that is.

Lookin back at post 41 I can see
Screenshot from 2024-01-08 21-53-44
which shows that I had somehow succeeded in finding the right IP address and entered it into the ‘Address’ field in the Printers panel. It STILL won’t let me do it now though AAAARGH!!!

@computersavvy I’m going to file a bug if I can find out where.

I was pointing out that android and linux are totally different

Ah - you missed my point. I was pointing out my frustration that a cheap 10 year old phone with 5 year old software could print immediately but Fedora couldn’t.

bug report

I don’t think there is a bug in a technical sense. However in the broader sense that the user finds the utility impossible to use there is.
Villy Kruse has suggested what seems to be a promising track, I’ll follow that to the end before filing a bug report.

Since CUPS some years ago implemented support for driverless printing aka PWG-Everywhere aka Mopria aka AirPrint; if Android out of the box can print to a printer supporting Mopria or AirPrint, so can CUPS, and so can Apple computers and soon so can WIndows which recently also implemented Mopria support.

I’ve changed the printer to the right one, then clicked on ‘local host’ to go onto the CUPS webpage, then changed the printer location to http://192.168.0.5 in the HTTP field but it still shows local printer on the printer setup screen and it doesn’t work. May be I should be using a different field.

Modify Printer
Modify CUPS-BRF
Current Connection: cups-brf:/
Local Printers: Serial Port #1
CUPS-BRF (Virtual Braille BRF Printer)
LPT #1
HP Printer (HPLIP)
HP Fax (HPLIP)
Discovered Network Printers:
Other Network Printers: Backend Error Handler
> Internet Printing Protocol (http)
Internet Printing Protocol (https)
Internet Printing Protocol (ipp)
LPD/LPR Host or Printer
Internet Printing Protocol (ipps)
AppSocket/HP JetDirect
Windows Printer via SAMBA

I think you should remove the package braille-printer-app.

Screenshot

You should be able to enter “192.168.0.5” and I expect that “Canon.local” could work as well. That should bring up any printers it finds at that address.

It is a bit disappointing that this printer doesn’t announce AirPrint as that would normally be expected for any printer made in the past 10 years. Are there any printer settings on the printer itself that needs modified? I don’t like that it says port number 8612, which suggests that this printer uses a proprietary protocol.


               ******** IT WORKS - THANKS Villy ********

I removed the troll program and the existing printer setup, then installed a new one. As you say, it let me enter the IP address which I got from your suggested command ‘Run avahi-browse -acr’.on the bottom line (that was not permitted before as the troll took over). It setup a generic looking printer which I changed to the right one. The panel now shows the right printer name and the right IP address instead of localhost.

That thing was also creating a directory called BRF in ~ with files relating to my attempts to print. I don’t want to take the serious step of posting a bug immediately, so I’ve asked for comments on Gnome Discourse first. I’ll wait for a response then if appropriate file a bug suggesting that braille-printer-app be removed or at least tamed from taking over Settings>Printer.

Thank you very much for your patience with my frustration and occasionally brusque comments.

Those devices have support for the Mopria protocol, as does CUPS 2.4.8. Quoting OpenPrinting

Already several years ago, mainly due to the advent of smartphones and the desire to also print from these devices, printers got equipped with driverless IPP printing functionality: AirPrint(released in 2010), IPP Everywhere, Mopria, Wi-Fi Direct Print. These standards are practically all the same, the printer advertises its presence, its network address, and basic capabilities via DNS-SD (aka BonJour, mDNS, zero-conf, implemented with Avahi in Linux), accepts communication and jobs from clients via IPP (Internet Printing Protocol), from the Printer Working Group, supplies complete capability info to clients via IPP and uses only common Page Description Languages (PDLs) for jobs: PDF, Apple Raster, PWG Raster, PCLm.

Linux has a problem with documentation. The WWW is over-crowded with obsolete or outright wrong documents, while documentation for recent changes often target developers. Relevant end-user documents are hard to find if you haven’t heard of the “OpenPrinting” project (and don’t read “man cups”).