Cant see network printer through CUPS

Hello,

I have tried with the balena-cups project and the https://github.com/phillup/balena-cups-test/tree/fixed project from this thread (Cups can not see network printers)

I am not able to see my network Magicard Rio Pro 360 printer

I also set- Allow from all- In my cupsd.conf

Are there additional steps I need to take to make the printer visible in the cups container?
I have tried lpinfo -v on the container and on my mac and I cant see it?
I can install without a problem over USB

I am also able to ping the printer over the local network

At one of the resorts we have Balenas with Printers, I am somehow able to see all the printers on the network through CUPS, I am trying to reproduce this for all our devices. See image

The setup at the resort is - each balena has a printer connected via USB and they run a CUPS instance

Hi :wave: ! So you can’t see the printer on your Mac that’s on the same network as the printer, right?

Thats correct, the Macbook, balenaFin & Printer are on the same subnet and I cant see the printer

However, the exact same printer model is visible by subnet at a separate resort(Separate subnet)

Hello again Patrick. :slight_smile:

I’ve reached out to the CUPS project maintainer to see if he has any more expert help to offer. He’s on leave today but returning on Monday. In the meantime, can I just clarify:

  • You have Magicard printers at another location connected to Fins via CUPS with no issues
  • You have a Magicard printer at your location
  • The local printer can be pinged and used via USB, but cannot be found via the network using a Fin or your Mac

Have I got the situation correct?

Thanks Phil,

That is correct, Would it help to give support access to a device where there are network printers and the device that cannot connect?

Patrick,

I don’t know - it sounds to me like it’s more likely to be a network issue where you are, or something wrong with that specific device.

Phil

Hi Patrick,

You may have already tried this, but just to be sure, do you have port 631 open (required for IPP, which CUPS uses) both on the printer and on any firewalls / other network rules that might be managing connection between your printer and the Fin?

It should be easy to test using Magicard’s CUP web interface: https://support.magicard.com/solution/enable-cups-web-interface-mac-osx/

Thanks,
Kenna

Patrick,

Phil and I heard back from the CUPS project maintainer and he agreed that checking communication on port 631 was a good next step for troubleshooting as well. If you were able to try it, please let us know the results of your testing. If you solved it some other way, we always like to learn from new situations as well so do update us. :slight_smile:

Thanks,
Kenna

Thanks @the-real-kenna,

Im working through this and will post my update

@the-real-kenna

I am able to see it from my Mac’s CUPS interface after running “cupsctl WebInterface=yes”

I added 631 to my cups ports

cups:
build: ./cups
ports:
- “80”
- “631”

But I still cant see it?

Hi there, assuming you have network_mode: "host" in your docker-compose file, ports have no effect. The container uses host networking, so no proxying/forwarding required. This issue feels like the printer manager is not able to discover the printers using whatever discovery protocols are in effect.

Are both the Mac (where the discovery is working) and the balenaOS device running the CUPS connected to the network via Ethernet or WiFi?

Patrick,

Thanks for letting us know. The fact that you can use the printer via USB tells me that the printer and application are at least functioning correctly. Pinging it means that Port 7 is open in your subnet. The next things I would try would be the following:

  1. You said that you configured your CUPS interface; can you tell me what you see when you then run localhost:631? What error does it return? This sometimes is informative enough to hint at where the issue lies.

  2. Configure the device at your location exactly as the other locations are (I would suggest copy and past the config, rather than following instructions, in case something has accidentally been left out in others’ documentation).

  3. Consider any differences there might be in network, firewall, or antivirus between the two locations - is there anything that could be blocking traffic over port 80 and 631 at your location (ACLs, etc.)?

  4. If none of the above are fruitful, I would do a packet capture using something like Wireshark to see exactly where the communication is getting stopped. It’s more work, but it’s the most exact science available for troubleshooting TCP/IP network printing issues. :slight_smile:

Let me know how it goes.

Thanks guys,

@ab77
I do have netowk_mode: “host”
Both devices(Mac and balenaFin) are using wifi of a simple router that has an Ethernet cable plugged into a printer)

@the-real-kenna
1.) what do you mean “Run localhost:631”? In the cli? I have opened it on the balenaFin and in the computer
An intersting thing I saw on the Mac side is it has discoverd the printer with dnssd, here is the address is shows
dnssd://Magicard_600%20%40%20f5458e6._ipp._tcp.local./cups?uuid=5ed3c466-0281-346b-6753-2ae12d535da2|Magicard Magicard Rio Pro 360
There is no way I know of to add this address to the balenaFin cups and do a direct install

2.) There is no difference in the device configuration between configuration, they have all been flash from the same file and are on the same release

3.) I have not set up any firewalls/ACLs on my local network

4.)I have not been able to get Wireshark working in my CUPs service, is there a guide for this somewhere for balena setup

Hey Patrick, just wanted to chime in, have you tried the original project (https://github.com/willswire/balena-cups)

It has a bunch of fixes and workarounds and is a lot more maintained than the project you linked to…I’m not sure what the problem is, but maybe one of those changes will fix it. It also has a “Deploy With Balena” button, so you can just click that button and create the application on your account.

If that doesn’t work, just pretend I was never here :slight_smile:

Thanks @zwhitchcox

Yes I have tried the latest version of the project, It doest not change the result

Here is the output when i run avahi-browse -a -v -t -r, It shows the printer is visible on the network

root@f5458e6:/# avahi-browse -a -v -t -r
Server version: avahi 0.7; Host name: f5458e6.local
E Ifce Prot Name Type Domain

  • supervisor0 IPv6 f5458e6 SSH Remote Terminal local
  • supervisor0 IPv4 f5458e6 SSH Remote Terminal local
  • balena0 IPv4 f5458e6 SSH Remote Terminal local
  • br-0f1e1da4f9e9 IPv6 f5458e6 SSH Remote Terminal local
  • br-0f1e1da4f9e9 IPv4 f5458e6 SSH Remote Terminal local
  • resin-dns IPv6 f5458e6 SSH Remote Terminal local
  • resin-dns IPv4 f5458e6 SSH Remote Terminal local
  • wlan0 IPv6 f5458e6 SSH Remote Terminal local
  • wlan0 IPv4 b30fe6b SSH Remote Terminal local
  • wlan0 IPv4 f5458e6 SSH Remote Terminal local
  • supervisor0 IPv6 Magicard_600 @ f5458e6 Internet Printer local
  • supervisor0 IPv4 Magicard_600 @ f5458e6 Internet Printer local
  • balena0 IPv4 Magicard_600 @ f5458e6 Internet Printer local
  • br-0f1e1da4f9e9 IPv6 Magicard_600 @ f5458e6 Internet Printer local
  • br-0f1e1da4f9e9 IPv4 Magicard_600 @ f5458e6 Internet Printer local
  • resin-dns IPv6 Magicard_600 @ f5458e6 Internet Printer local
  • resin-dns IPv4 Magicard_600 @ f5458e6 Internet Printer local
  • wlan0 IPv6 Magicard_600 @ f5458e6 Internet Printer local
  • wlan0 IPv4 Magicard_600 @ f5458e6 Internet Printer local
  • supervisor0 IPv6 Magicard_600 @ f5458e6 Secure Internet Printer local
  • supervisor0 IPv4 Magicard_600 @ f5458e6 Secure Internet Printer local
  • balena0 IPv4 Magicard_600 @ f5458e6 Secure Internet Printer local
  • br-0f1e1da4f9e9 IPv6 Magicard_600 @ f5458e6 Secure Internet Printer local
  • br-0f1e1da4f9e9 IPv4 Magicard_600 @ f5458e6 Secure Internet Printer local
  • resin-dns IPv6 Magicard_600 @ f5458e6 Secure Internet Printer local
  • resin-dns IPv4 Magicard_600 @ f5458e6 Secure Internet Printer local
  • wlan0 IPv6 Magicard_600 @ f5458e6 Secure Internet Printer local
  • wlan0 IPv4 Magicard_600 @ f5458e6 Secure Internet Printer local
  • supervisor0 IPv6 Magicard_600 @ f5458e6 UNIX Printer local
  • supervisor0 IPv4 Magicard_600 @ f5458e6 UNIX Printer local
  • balena0 IPv4 Magicard_600 @ f5458e6 UNIX Printer local
  • br-0f1e1da4f9e9 IPv6 Magicard_600 @ f5458e6 UNIX Printer local
  • br-0f1e1da4f9e9 IPv4 Magicard_600 @ f5458e6 UNIX Printer local
  • resin-dns IPv6 Magicard_600 @ f5458e6 UNIX Printer local
  • resin-dns IPv4 Magicard_600 @ f5458e6 UNIX Printer local
  • wlan0 IPv6 Magicard_600 @ f5458e6 UNIX Printer local
  • wlan0 IPv4 Magicard_600 @ f5458e6 UNIX Printer local
  • wlan0 IPv4 Patricks Mac _companion-link._tcp local
    = supervisor0 IPv6 f5458e6 SSH Remote Terminal local
    hostname = [f5458e6.local]
    address = [fe80::42:fbff:fef5:19f4]
    port = [22222]
    txt =
    = supervisor0 IPv4 f5458e6 SSH Remote Terminal local
    hostname = [f5458e6.local]
    address = [10.114.104.1]
    port = [22222]
    txt =
    = balena0 IPv4 f5458e6 SSH Remote Terminal local
    hostname = [f5458e6.local]
    address = [10.114.101.1]
    port = [22222]
    txt =
    = br-0f1e1da4f9e9 IPv6 f5458e6 SSH Remote Terminal local
    hostname = [f5458e6.local]
    address = [fe80::42:e2ff:fe87:45ed]
    port = [22222]
    txt =
    = br-0f1e1da4f9e9 IPv4 f5458e6 SSH Remote Terminal local
    hostname = [f5458e6.local]
    address = [172.17.0.1]
    port = [22222]
    txt =
    = resin-dns IPv6 f5458e6 SSH Remote Terminal local
    hostname = [f5458e6.local]
    address = [fe80::1ca0:1fff:fed1:529a]
    port = [22222]
    txt =
    = resin-dns IPv4 f5458e6 SSH Remote Terminal local
    hostname = [f5458e6.local]
    address = [10.114.102.1]
    port = [22222]
    txt =
    = wlan0 IPv6 f5458e6 SSH Remote Terminal local
    hostname = [f5458e6.local]
    address = [fe80::f7f8:b4f1:a7e6:ca38]
    port = [22222]
    txt =
    = wlan0 IPv4 b30fe6b SSH Remote Terminal local
    hostname = [b30fe6b.local]
    address = [192.168.0.100]
    port = [22222]
    txt =
    = wlan0 IPv4 f5458e6 SSH Remote Terminal local
    hostname = [f5458e6.local]
    address = [192.168.0.35]
    port = [22222]
    txt =
    = supervisor0 IPv6 Magicard_600 @ f5458e6 Internet Printer local
    hostname = [f5458e6.local]
    address = [fe80::42:fbff:fef5:19f4]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = supervisor0 IPv4 Magicard_600 @ f5458e6 Internet Printer local
    hostname = [f5458e6.local]
    address = [10.114.104.1]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = balena0 IPv4 Magicard_600 @ f5458e6 Internet Printer local
    hostname = [f5458e6.local]
    address = [10.114.101.1]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = br-0f1e1da4f9e9 IPv6 Magicard_600 @ f5458e6 Internet Printer local
    hostname = [f5458e6.local]
    address = [fe80::42:e2ff:fe87:45ed]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = br-0f1e1da4f9e9 IPv4 Magicard_600 @ f5458e6 Internet Printer local
    hostname = [f5458e6.local]
    address = [172.17.0.1]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = resin-dns IPv6 Magicard_600 @ f5458e6 Internet Printer local
    hostname = [f5458e6.local]
    address = [fe80::1ca0:1fff:fed1:529a]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = resin-dns IPv4 Magicard_600 @ f5458e6 Internet Printer local
    hostname = [f5458e6.local]
    address = [fe80::1ca0:1fff:fed1:529a]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = wlan0 IPv6 Magicard_600 @ f5458e6 Internet Printer local
    hostname = [f5458e6.local]
    address = [fe80::f7f8:b4f1:a7e6:ca38]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = wlan0 IPv4 Magicard_600 @ f5458e6 Internet Printer local
    hostname = [f5458e6.local]
    address = [192.168.0.35]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = supervisor0 IPv6 Magicard_600 @ f5458e6 Secure Internet Printer local
    hostname = [f5458e6.local]
    address = [fe80::42:fbff:fef5:19f4]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = supervisor0 IPv4 Magicard_600 @ f5458e6 Secure Internet Printer local
    hostname = [f5458e6.local]
    address = [10.114.104.1]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = balena0 IPv4 Magicard_600 @ f5458e6 Secure Internet Printer local
    hostname = [f5458e6.local]
    address = [10.114.101.1]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = br-0f1e1da4f9e9 IPv6 Magicard_600 @ f5458e6 Secure Internet Printer local
    hostname = [f5458e6.local]
    address = [fe80::42:e2ff:fe87:45ed]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = br-0f1e1da4f9e9 IPv4 Magicard_600 @ f5458e6 Secure Internet Printer local
    hostname = [f5458e6.local]
    address = [172.17.0.1]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = resin-dns IPv6 Magicard_600 @ f5458e6 Secure Internet Printer local
    hostname = [f5458e6.local]
    address = [fe80::1ca0:1fff:fed1:529a]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = resin-dns IPv4 Magicard_600 @ f5458e6 Secure Internet Printer local
    hostname = [f5458e6.local]
    address = [10.114.102.1]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = wlan0 IPv6 Magicard_600 @ f5458e6 Secure Internet Printer local
    hostname = [f5458e6.local]
    address = [fe80::f7f8:b4f1:a7e6:ca38]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = wlan0 IPv4 Magicard_600 @ f5458e6 Secure Internet Printer local
    hostname = [f5458e6.local]
    address = [192.168.0.35]
    port = [631]
    txt = [“printer-type=0x80104E” “printer-state=3” “Copies=T” “Color=T” “TLS=1.2” “UUID=86cd744d-3741-3781-4832-37dcdc088aa2” “URF=DM3” “pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf” “product=(Magicard Rio Pro 360)” “priority=0” “adminurl=https://f5458e6.local.:631/printers/Magicard_600” “ty=Magicard Rio Pro 360” “rp=printers/Magicard_600” “qtotal=1” “txtvers=1”]
    = supervisor0 IPv6 Magicard_600 @ f5458e6 UNIX Printer local
    hostname = [f5458e6.local]
    address = [fe80::42:fbff:fef5:19f4]
    port = [0]
    txt =
    = supervisor0 IPv4 Magicard_600 @ f5458e6 UNIX Printer local
    hostname = [f5458e6.local]
    address = [10.114.104.1]
    port = [0]
    txt =
    = balena0 IPv4 Magicard_600 @ f5458e6 UNIX Printer local
    hostname = [f5458e6.local]
    address = [10.114.101.1]
    port = [0]
    txt =
    = br-0f1e1da4f9e9 IPv6 Magicard_600 @ f5458e6 UNIX Printer local
    hostname = [f5458e6.local]
    address = [fe80::42:e2ff:fe87:45ed]
    port = [0]
    txt =
    = br-0f1e1da4f9e9 IPv4 Magicard_600 @ f5458e6 UNIX Printer local
    hostname = [f5458e6.local]
    address = [172.17.0.1]
    port = [0]
    txt =
    = resin-dns IPv6 Magicard_600 @ f5458e6 UNIX Printer local
    hostname = [f5458e6.local]
    address = [fe80::1ca0:1fff:fed1:529a]
    port = [0]
    txt =
    = resin-dns IPv4 Magicard_600 @ f5458e6 UNIX Printer local
    hostname = [f5458e6.local]
    address = [10.114.102.1]
    port = [0]
    txt =
    = wlan0 IPv6 Magicard_600 @ f5458e6 UNIX Printer local
    hostname = [f5458e6.local]
    address = [fe80::f7f8:b4f1:a7e6:ca38]
    port = [0]
    txt =
    = wlan0 IPv4 Magicard_600 @ f5458e6 UNIX Printer local
    hostname = [f5458e6.local]
    address = [192.168.0.35]
    port = [0]
    txt =

: Cache exhausted
: All for now

Hey Patrick, now that you’re running the maintained project (https://github.com/willswire/balena-cups) can you include the new service logs on container start?

It should print some messages starting with Configuring HP Printers and we can try to figure out what’s going on.

Patrick,

Sorry I wasn’t clear on #1. I was asking if you had run https://localhost:631/printers in the browser of your mac to see if at least your computer could make the connection over 631 to the printer now that you’ve enabled it? The key here is that your printer is visible on the network (proven by your ping and avahi-browse), but something about discovery in CUPS seems to be failing, which could be over mDNS or IPP, so that’s what we’re looking for now.

With that in mind, have you tried the ‘lpinfo -v’ command in Terminal again to see if it is working after the enablement we did previously?

There is another command you might try that provides system log files and might help us see where the connection is failing: ‘cupsctl --debug-logging’. I found it at the bottom of the CUPS documentation site if you’re curious about the info it will provide: https://www.cups.org/doc/admin.html

If none of the above proves fruitful, Kyle’s request for service logs would be helpful as well as the network trace. The best way to achieve the later would be to run a container in the host network namespace (so that you’re able to see all the veth interfaces), pick the correct one to monitor with tcpdump , then export the file and examine it with Wireshark.

I hope that helps; let us know!