Why does Avahi see my network printer but CUPS doesn't?
I've set up .local hostname resolution, started cups-browsed and restarted org.cups.cupsd.service. avahi-browse
shows the WiFi printer:
$ avahi-browse --all --ignore-local | head --lines=1 | tr --squeeze-repeats ' '
+ enp5s0 IPv6 Canon MG6400 series _canon-bjnp1._tcp local
However, http://127.0.0.1:631/admin/ shows no printers whatsoever. What gives?
arch-linux cups avahi
add a comment |
I've set up .local hostname resolution, started cups-browsed and restarted org.cups.cupsd.service. avahi-browse
shows the WiFi printer:
$ avahi-browse --all --ignore-local | head --lines=1 | tr --squeeze-repeats ' '
+ enp5s0 IPv6 Canon MG6400 series _canon-bjnp1._tcp local
However, http://127.0.0.1:631/admin/ shows no printers whatsoever. What gives?
arch-linux cups avahi
add a comment |
I've set up .local hostname resolution, started cups-browsed and restarted org.cups.cupsd.service. avahi-browse
shows the WiFi printer:
$ avahi-browse --all --ignore-local | head --lines=1 | tr --squeeze-repeats ' '
+ enp5s0 IPv6 Canon MG6400 series _canon-bjnp1._tcp local
However, http://127.0.0.1:631/admin/ shows no printers whatsoever. What gives?
arch-linux cups avahi
I've set up .local hostname resolution, started cups-browsed and restarted org.cups.cupsd.service. avahi-browse
shows the WiFi printer:
$ avahi-browse --all --ignore-local | head --lines=1 | tr --squeeze-repeats ' '
+ enp5s0 IPv6 Canon MG6400 series _canon-bjnp1._tcp local
However, http://127.0.0.1:631/admin/ shows no printers whatsoever. What gives?
arch-linux cups avahi
arch-linux cups avahi
edited May 14 '18 at 20:45
asked May 14 '18 at 10:28
l0b0
27.7k17114242
27.7k17114242
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
For automatic discovery, you need an extra component from CUPS called cups-browsed
, which queries the Avahi daemon and then populates CUPS configuration based on what the Avahi daemon sees. Unfortunately, I'm not quite sure what's needed on Arch to get this set up (the daemon itself shouldn't need any customization to the configuration, I'm just not sure what the service name is on Arch to enable it, or even whether it's part of the standard CUPS install or not).
That's already installed & running.
– l0b0
May 14 '18 at 20:44
add a comment |
WARNING: This answer in its totality is only valid for more recent versions of CUPS (like 2.2.x). For previous versions, ask specifically if you do not understand what the manpage for cupsd.conf says...
First, CUPS only ever automatically installs and detects local network printers which announce themselves as IPP-capable (Internet Printing Protocol). A proprietary Canon-designed protocol will not work.
To check if your printer is one of the IPP-enabled models, simply run
ippfind [ENTER]
It should return a list of print device (or CUPS queue) URIs which are IPP-enabled.
Second, if your Canon MG6400 model did support IPP, your avahi-browse discovery should be returning not simply the service subtype _canon-bjnp1._tcp
, but also _ipp._tcp.
and/or _ipps._tcp.
.... but maybe you are overlooking this, because your | head --lines=1
throws these results out of the window?
Third, to enable CUPS for full participation in ZeroConf/Bonjour networking to automatically use shared printers and in turn share its own local printers, you need the following lines in your /etc/cups/cupsd.conf file:
BrowseDNSSDSubTypes _cups,_print
BrowseLocalProtocols all
Port 631
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f443663%2fwhy-does-avahi-see-my-network-printer-but-cups-doesnt%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
For automatic discovery, you need an extra component from CUPS called cups-browsed
, which queries the Avahi daemon and then populates CUPS configuration based on what the Avahi daemon sees. Unfortunately, I'm not quite sure what's needed on Arch to get this set up (the daemon itself shouldn't need any customization to the configuration, I'm just not sure what the service name is on Arch to enable it, or even whether it's part of the standard CUPS install or not).
That's already installed & running.
– l0b0
May 14 '18 at 20:44
add a comment |
For automatic discovery, you need an extra component from CUPS called cups-browsed
, which queries the Avahi daemon and then populates CUPS configuration based on what the Avahi daemon sees. Unfortunately, I'm not quite sure what's needed on Arch to get this set up (the daemon itself shouldn't need any customization to the configuration, I'm just not sure what the service name is on Arch to enable it, or even whether it's part of the standard CUPS install or not).
That's already installed & running.
– l0b0
May 14 '18 at 20:44
add a comment |
For automatic discovery, you need an extra component from CUPS called cups-browsed
, which queries the Avahi daemon and then populates CUPS configuration based on what the Avahi daemon sees. Unfortunately, I'm not quite sure what's needed on Arch to get this set up (the daemon itself shouldn't need any customization to the configuration, I'm just not sure what the service name is on Arch to enable it, or even whether it's part of the standard CUPS install or not).
For automatic discovery, you need an extra component from CUPS called cups-browsed
, which queries the Avahi daemon and then populates CUPS configuration based on what the Avahi daemon sees. Unfortunately, I'm not quite sure what's needed on Arch to get this set up (the daemon itself shouldn't need any customization to the configuration, I'm just not sure what the service name is on Arch to enable it, or even whether it's part of the standard CUPS install or not).
answered May 14 '18 at 19:15
Austin Hemmelgarn
6,00611016
6,00611016
That's already installed & running.
– l0b0
May 14 '18 at 20:44
add a comment |
That's already installed & running.
– l0b0
May 14 '18 at 20:44
That's already installed & running.
– l0b0
May 14 '18 at 20:44
That's already installed & running.
– l0b0
May 14 '18 at 20:44
add a comment |
WARNING: This answer in its totality is only valid for more recent versions of CUPS (like 2.2.x). For previous versions, ask specifically if you do not understand what the manpage for cupsd.conf says...
First, CUPS only ever automatically installs and detects local network printers which announce themselves as IPP-capable (Internet Printing Protocol). A proprietary Canon-designed protocol will not work.
To check if your printer is one of the IPP-enabled models, simply run
ippfind [ENTER]
It should return a list of print device (or CUPS queue) URIs which are IPP-enabled.
Second, if your Canon MG6400 model did support IPP, your avahi-browse discovery should be returning not simply the service subtype _canon-bjnp1._tcp
, but also _ipp._tcp.
and/or _ipps._tcp.
.... but maybe you are overlooking this, because your | head --lines=1
throws these results out of the window?
Third, to enable CUPS for full participation in ZeroConf/Bonjour networking to automatically use shared printers and in turn share its own local printers, you need the following lines in your /etc/cups/cupsd.conf file:
BrowseDNSSDSubTypes _cups,_print
BrowseLocalProtocols all
Port 631
add a comment |
WARNING: This answer in its totality is only valid for more recent versions of CUPS (like 2.2.x). For previous versions, ask specifically if you do not understand what the manpage for cupsd.conf says...
First, CUPS only ever automatically installs and detects local network printers which announce themselves as IPP-capable (Internet Printing Protocol). A proprietary Canon-designed protocol will not work.
To check if your printer is one of the IPP-enabled models, simply run
ippfind [ENTER]
It should return a list of print device (or CUPS queue) URIs which are IPP-enabled.
Second, if your Canon MG6400 model did support IPP, your avahi-browse discovery should be returning not simply the service subtype _canon-bjnp1._tcp
, but also _ipp._tcp.
and/or _ipps._tcp.
.... but maybe you are overlooking this, because your | head --lines=1
throws these results out of the window?
Third, to enable CUPS for full participation in ZeroConf/Bonjour networking to automatically use shared printers and in turn share its own local printers, you need the following lines in your /etc/cups/cupsd.conf file:
BrowseDNSSDSubTypes _cups,_print
BrowseLocalProtocols all
Port 631
add a comment |
WARNING: This answer in its totality is only valid for more recent versions of CUPS (like 2.2.x). For previous versions, ask specifically if you do not understand what the manpage for cupsd.conf says...
First, CUPS only ever automatically installs and detects local network printers which announce themselves as IPP-capable (Internet Printing Protocol). A proprietary Canon-designed protocol will not work.
To check if your printer is one of the IPP-enabled models, simply run
ippfind [ENTER]
It should return a list of print device (or CUPS queue) URIs which are IPP-enabled.
Second, if your Canon MG6400 model did support IPP, your avahi-browse discovery should be returning not simply the service subtype _canon-bjnp1._tcp
, but also _ipp._tcp.
and/or _ipps._tcp.
.... but maybe you are overlooking this, because your | head --lines=1
throws these results out of the window?
Third, to enable CUPS for full participation in ZeroConf/Bonjour networking to automatically use shared printers and in turn share its own local printers, you need the following lines in your /etc/cups/cupsd.conf file:
BrowseDNSSDSubTypes _cups,_print
BrowseLocalProtocols all
Port 631
WARNING: This answer in its totality is only valid for more recent versions of CUPS (like 2.2.x). For previous versions, ask specifically if you do not understand what the manpage for cupsd.conf says...
First, CUPS only ever automatically installs and detects local network printers which announce themselves as IPP-capable (Internet Printing Protocol). A proprietary Canon-designed protocol will not work.
To check if your printer is one of the IPP-enabled models, simply run
ippfind [ENTER]
It should return a list of print device (or CUPS queue) URIs which are IPP-enabled.
Second, if your Canon MG6400 model did support IPP, your avahi-browse discovery should be returning not simply the service subtype _canon-bjnp1._tcp
, but also _ipp._tcp.
and/or _ipps._tcp.
.... but maybe you are overlooking this, because your | head --lines=1
throws these results out of the window?
Third, to enable CUPS for full participation in ZeroConf/Bonjour networking to automatically use shared printers and in turn share its own local printers, you need the following lines in your /etc/cups/cupsd.conf file:
BrowseDNSSDSubTypes _cups,_print
BrowseLocalProtocols all
Port 631
answered Dec 25 '18 at 0:11
Kurt Pfeifle
47038
47038
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f443663%2fwhy-does-avahi-see-my-network-printer-but-cups-doesnt%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown