Connecting to a network printer without mDNS #1181
-
What is the appropriate way to connect to a network printer without relying on mDNS? The only way I was able to figure out is to use In case it matters, the printer is a Canon imageCLASS MF753Cdw and I am using CUPS from Fedora 41. The reason that mDNS does not work is that I use Qubes OS and do not run the printer in the same VM to which the network card is attached. Instead, CUPS is running in a VM with a NAT’d connection. Running CUPS (or any other unnecessary service) in the VM to which the network card is attached is discouraged in Qubes OS for security reasons. However, there are other cases where mDNS won’t work, notably wireless networks where it is explicitly blocked by the network administrator. Therefore, I would prefer a general approach to set up any printer without needing mDNS. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The lpadmin command should be used, for example:
Ideally you should at least use DNS and hostnames for your site's domain, but if you don't have that setup then (non-link-local, non-DHCP) IP addresses can be used. |
Beta Was this translation helpful? Give feedback.
The lpadmin command should be used, for example:
Ideally you should at least use DNS and hostnames for your site's domain, but if you don't have that setup then (non-link-local, non-DHCP) IP addresses can be used.