How to print from Arch Linux via Wi-Fi to Canon MG6450?












8















I have a Canon MG6450 with Wi-Fi enabled and an up-to-date Arch Linux installation with cnijfilter-mg4200 3.80-1 installed. I can see the printer in print dialogues (sometimes it takes a second to show up, presumably because it's being auto-discovered), I can select it, and I get no error message when clicking OK. However, the printer is completely oblivious to all this, it seems.



I've also tried connecting via USB. Afterwards the printer was not auto-detected by the print dialogue, but it was detected by system-config-printer, and I was able to configure and print with no problems. But it would be very nice to be able to print wirelessly.





It appears some fatal printing errors show up neither in the print dialogue nor in system-config-printer. Both of them simply report printer state as "Idle - Rendering completed". However, after going to the CUPS web interface and clicking the printer I finally got a hint - after each print job is the following message:




"The PPD version (5.2.11) is not compatible with Gutenprint 5.2.12. Please run `/usr/bin/cups-genppdupdate' as administrator."




OK then:



$ sudo /usr/bin/cups-genppdupdate
/etc/cups/ppd/Canon-PIXMA-MG6450.ppd: no valid candidate for replacement. Skipping
/etc/cups/ppd/Canon-PIXMA-MG6450.ppd: please upgrade this PPD manually
Unable to retrieve PPD file for /etc/cups/ppd/Canon-PIXMA-MG6450.ppd!
Failed to update any PPD files


Now I'm seeing if anywhere has a compatible PPD. Canon's IJ Printer Driver Ver. 4.00 for Linux has PPD files for MG6400 and MG6500. I tried the MG6400 one, cleaned out the printer queue, and tried printing a test page. Now the CUPS web interface has no errors, but system-config-printer reports:




File "/usr/lib/cups/filter/pstocanonij" not available: No such file or directory




Looks like that file is available from cnijfilter-common, which currently can't be built. After following the instructions by c.gerhorst I have installed the package, but now the printer dialogue is complaining that /usr/lib/cups/filter/cmdtocanonij is missing.





There is a /usr/lib/cups/filter/commandtocanon. I've tried replacing cmdtocanonij with commandtocanon in /etc/cups/ppd/Canon-PIXMA-MG6450.ppd and running sudo systemctl daemon-reload and sudo systemctl restart org.cups.cupsd.service. Now I get no error message anywhere, but the print jobs just seem to disappear entirely. The printer shows no sign of receiving them, and the CUPS web interface shows any new jobs as first "processing", then "completed", without any indication that something is black-holing everything.










share|improve this question

























  • Have you tried connecting it with a usb cab;e or whatever the printer has? I doubt it would make much difference but just in case.

    – terdon
    Nov 24 '15 at 19:25











  • I have a cheaper Canon, an MG3250 or something like, and an Arch Linux laptop. Printing comes and goes, and CUPS is super finicky about low ink indicators. I'm awaiting a good answer to this one myself.

    – Bruce Ediger
    Nov 24 '15 at 22:30











  • Try navigating to http://localhost:631 , selecting administration > manage printers, select your printer and do administration > modify printer. Then step through the setup again. My guess is the discovery of your printer is out of date. I get that someimes myself, but I have HP.

    – starfry
    Dec 20 '16 at 14:29











  • The commandtocanon filter is not for general print jobs. It's meant to perform specific maintenance task, such as printing a test page, cleaning print heads and similar stuff.

    – Kurt Pfeifle
    Dec 15 '18 at 10:29


















8















I have a Canon MG6450 with Wi-Fi enabled and an up-to-date Arch Linux installation with cnijfilter-mg4200 3.80-1 installed. I can see the printer in print dialogues (sometimes it takes a second to show up, presumably because it's being auto-discovered), I can select it, and I get no error message when clicking OK. However, the printer is completely oblivious to all this, it seems.



I've also tried connecting via USB. Afterwards the printer was not auto-detected by the print dialogue, but it was detected by system-config-printer, and I was able to configure and print with no problems. But it would be very nice to be able to print wirelessly.





It appears some fatal printing errors show up neither in the print dialogue nor in system-config-printer. Both of them simply report printer state as "Idle - Rendering completed". However, after going to the CUPS web interface and clicking the printer I finally got a hint - after each print job is the following message:




"The PPD version (5.2.11) is not compatible with Gutenprint 5.2.12. Please run `/usr/bin/cups-genppdupdate' as administrator."




OK then:



$ sudo /usr/bin/cups-genppdupdate
/etc/cups/ppd/Canon-PIXMA-MG6450.ppd: no valid candidate for replacement. Skipping
/etc/cups/ppd/Canon-PIXMA-MG6450.ppd: please upgrade this PPD manually
Unable to retrieve PPD file for /etc/cups/ppd/Canon-PIXMA-MG6450.ppd!
Failed to update any PPD files


Now I'm seeing if anywhere has a compatible PPD. Canon's IJ Printer Driver Ver. 4.00 for Linux has PPD files for MG6400 and MG6500. I tried the MG6400 one, cleaned out the printer queue, and tried printing a test page. Now the CUPS web interface has no errors, but system-config-printer reports:




File "/usr/lib/cups/filter/pstocanonij" not available: No such file or directory




Looks like that file is available from cnijfilter-common, which currently can't be built. After following the instructions by c.gerhorst I have installed the package, but now the printer dialogue is complaining that /usr/lib/cups/filter/cmdtocanonij is missing.





There is a /usr/lib/cups/filter/commandtocanon. I've tried replacing cmdtocanonij with commandtocanon in /etc/cups/ppd/Canon-PIXMA-MG6450.ppd and running sudo systemctl daemon-reload and sudo systemctl restart org.cups.cupsd.service. Now I get no error message anywhere, but the print jobs just seem to disappear entirely. The printer shows no sign of receiving them, and the CUPS web interface shows any new jobs as first "processing", then "completed", without any indication that something is black-holing everything.










share|improve this question

























  • Have you tried connecting it with a usb cab;e or whatever the printer has? I doubt it would make much difference but just in case.

    – terdon
    Nov 24 '15 at 19:25











  • I have a cheaper Canon, an MG3250 or something like, and an Arch Linux laptop. Printing comes and goes, and CUPS is super finicky about low ink indicators. I'm awaiting a good answer to this one myself.

    – Bruce Ediger
    Nov 24 '15 at 22:30











  • Try navigating to http://localhost:631 , selecting administration > manage printers, select your printer and do administration > modify printer. Then step through the setup again. My guess is the discovery of your printer is out of date. I get that someimes myself, but I have HP.

    – starfry
    Dec 20 '16 at 14:29











  • The commandtocanon filter is not for general print jobs. It's meant to perform specific maintenance task, such as printing a test page, cleaning print heads and similar stuff.

    – Kurt Pfeifle
    Dec 15 '18 at 10:29
















8












8








8


3






I have a Canon MG6450 with Wi-Fi enabled and an up-to-date Arch Linux installation with cnijfilter-mg4200 3.80-1 installed. I can see the printer in print dialogues (sometimes it takes a second to show up, presumably because it's being auto-discovered), I can select it, and I get no error message when clicking OK. However, the printer is completely oblivious to all this, it seems.



I've also tried connecting via USB. Afterwards the printer was not auto-detected by the print dialogue, but it was detected by system-config-printer, and I was able to configure and print with no problems. But it would be very nice to be able to print wirelessly.





It appears some fatal printing errors show up neither in the print dialogue nor in system-config-printer. Both of them simply report printer state as "Idle - Rendering completed". However, after going to the CUPS web interface and clicking the printer I finally got a hint - after each print job is the following message:




"The PPD version (5.2.11) is not compatible with Gutenprint 5.2.12. Please run `/usr/bin/cups-genppdupdate' as administrator."




OK then:



$ sudo /usr/bin/cups-genppdupdate
/etc/cups/ppd/Canon-PIXMA-MG6450.ppd: no valid candidate for replacement. Skipping
/etc/cups/ppd/Canon-PIXMA-MG6450.ppd: please upgrade this PPD manually
Unable to retrieve PPD file for /etc/cups/ppd/Canon-PIXMA-MG6450.ppd!
Failed to update any PPD files


Now I'm seeing if anywhere has a compatible PPD. Canon's IJ Printer Driver Ver. 4.00 for Linux has PPD files for MG6400 and MG6500. I tried the MG6400 one, cleaned out the printer queue, and tried printing a test page. Now the CUPS web interface has no errors, but system-config-printer reports:




File "/usr/lib/cups/filter/pstocanonij" not available: No such file or directory




Looks like that file is available from cnijfilter-common, which currently can't be built. After following the instructions by c.gerhorst I have installed the package, but now the printer dialogue is complaining that /usr/lib/cups/filter/cmdtocanonij is missing.





There is a /usr/lib/cups/filter/commandtocanon. I've tried replacing cmdtocanonij with commandtocanon in /etc/cups/ppd/Canon-PIXMA-MG6450.ppd and running sudo systemctl daemon-reload and sudo systemctl restart org.cups.cupsd.service. Now I get no error message anywhere, but the print jobs just seem to disappear entirely. The printer shows no sign of receiving them, and the CUPS web interface shows any new jobs as first "processing", then "completed", without any indication that something is black-holing everything.










share|improve this question
















I have a Canon MG6450 with Wi-Fi enabled and an up-to-date Arch Linux installation with cnijfilter-mg4200 3.80-1 installed. I can see the printer in print dialogues (sometimes it takes a second to show up, presumably because it's being auto-discovered), I can select it, and I get no error message when clicking OK. However, the printer is completely oblivious to all this, it seems.



I've also tried connecting via USB. Afterwards the printer was not auto-detected by the print dialogue, but it was detected by system-config-printer, and I was able to configure and print with no problems. But it would be very nice to be able to print wirelessly.





It appears some fatal printing errors show up neither in the print dialogue nor in system-config-printer. Both of them simply report printer state as "Idle - Rendering completed". However, after going to the CUPS web interface and clicking the printer I finally got a hint - after each print job is the following message:




"The PPD version (5.2.11) is not compatible with Gutenprint 5.2.12. Please run `/usr/bin/cups-genppdupdate' as administrator."




OK then:



$ sudo /usr/bin/cups-genppdupdate
/etc/cups/ppd/Canon-PIXMA-MG6450.ppd: no valid candidate for replacement. Skipping
/etc/cups/ppd/Canon-PIXMA-MG6450.ppd: please upgrade this PPD manually
Unable to retrieve PPD file for /etc/cups/ppd/Canon-PIXMA-MG6450.ppd!
Failed to update any PPD files


Now I'm seeing if anywhere has a compatible PPD. Canon's IJ Printer Driver Ver. 4.00 for Linux has PPD files for MG6400 and MG6500. I tried the MG6400 one, cleaned out the printer queue, and tried printing a test page. Now the CUPS web interface has no errors, but system-config-printer reports:




File "/usr/lib/cups/filter/pstocanonij" not available: No such file or directory




Looks like that file is available from cnijfilter-common, which currently can't be built. After following the instructions by c.gerhorst I have installed the package, but now the printer dialogue is complaining that /usr/lib/cups/filter/cmdtocanonij is missing.





There is a /usr/lib/cups/filter/commandtocanon. I've tried replacing cmdtocanonij with commandtocanon in /etc/cups/ppd/Canon-PIXMA-MG6450.ppd and running sudo systemctl daemon-reload and sudo systemctl restart org.cups.cupsd.service. Now I get no error message anywhere, but the print jobs just seem to disappear entirely. The printer shows no sign of receiving them, and the CUPS web interface shows any new jobs as first "processing", then "completed", without any indication that something is black-holing everything.







arch-linux wifi cups printer canon






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 2 '17 at 11:14







l0b0

















asked Nov 24 '15 at 19:13









l0b0l0b0

28.2k18119246




28.2k18119246













  • Have you tried connecting it with a usb cab;e or whatever the printer has? I doubt it would make much difference but just in case.

    – terdon
    Nov 24 '15 at 19:25











  • I have a cheaper Canon, an MG3250 or something like, and an Arch Linux laptop. Printing comes and goes, and CUPS is super finicky about low ink indicators. I'm awaiting a good answer to this one myself.

    – Bruce Ediger
    Nov 24 '15 at 22:30











  • Try navigating to http://localhost:631 , selecting administration > manage printers, select your printer and do administration > modify printer. Then step through the setup again. My guess is the discovery of your printer is out of date. I get that someimes myself, but I have HP.

    – starfry
    Dec 20 '16 at 14:29











  • The commandtocanon filter is not for general print jobs. It's meant to perform specific maintenance task, such as printing a test page, cleaning print heads and similar stuff.

    – Kurt Pfeifle
    Dec 15 '18 at 10:29





















  • Have you tried connecting it with a usb cab;e or whatever the printer has? I doubt it would make much difference but just in case.

    – terdon
    Nov 24 '15 at 19:25











  • I have a cheaper Canon, an MG3250 or something like, and an Arch Linux laptop. Printing comes and goes, and CUPS is super finicky about low ink indicators. I'm awaiting a good answer to this one myself.

    – Bruce Ediger
    Nov 24 '15 at 22:30











  • Try navigating to http://localhost:631 , selecting administration > manage printers, select your printer and do administration > modify printer. Then step through the setup again. My guess is the discovery of your printer is out of date. I get that someimes myself, but I have HP.

    – starfry
    Dec 20 '16 at 14:29











  • The commandtocanon filter is not for general print jobs. It's meant to perform specific maintenance task, such as printing a test page, cleaning print heads and similar stuff.

    – Kurt Pfeifle
    Dec 15 '18 at 10:29



















Have you tried connecting it with a usb cab;e or whatever the printer has? I doubt it would make much difference but just in case.

– terdon
Nov 24 '15 at 19:25





Have you tried connecting it with a usb cab;e or whatever the printer has? I doubt it would make much difference but just in case.

– terdon
Nov 24 '15 at 19:25













I have a cheaper Canon, an MG3250 or something like, and an Arch Linux laptop. Printing comes and goes, and CUPS is super finicky about low ink indicators. I'm awaiting a good answer to this one myself.

– Bruce Ediger
Nov 24 '15 at 22:30





I have a cheaper Canon, an MG3250 or something like, and an Arch Linux laptop. Printing comes and goes, and CUPS is super finicky about low ink indicators. I'm awaiting a good answer to this one myself.

– Bruce Ediger
Nov 24 '15 at 22:30













Try navigating to http://localhost:631 , selecting administration > manage printers, select your printer and do administration > modify printer. Then step through the setup again. My guess is the discovery of your printer is out of date. I get that someimes myself, but I have HP.

– starfry
Dec 20 '16 at 14:29





Try navigating to http://localhost:631 , selecting administration > manage printers, select your printer and do administration > modify printer. Then step through the setup again. My guess is the discovery of your printer is out of date. I get that someimes myself, but I have HP.

– starfry
Dec 20 '16 at 14:29













The commandtocanon filter is not for general print jobs. It's meant to perform specific maintenance task, such as printing a test page, cleaning print heads and similar stuff.

– Kurt Pfeifle
Dec 15 '18 at 10:29







The commandtocanon filter is not for general print jobs. It's meant to perform specific maintenance task, such as printing a test page, cleaning print heads and similar stuff.

– Kurt Pfeifle
Dec 15 '18 at 10:29












1 Answer
1






active

oldest

votes


















0














Is that particular printer IPP-enabled with AirPrint as well? If so, you may be able to use "driverless" printing (even though that possibly won't support all the bells and whistles which you can ring with Gutenprint).



1. Check IPP support:



Just run



ippfind


If you get a return, IPP is supported, and it will tell you the IPP-URI to address the printer.



2. Install the print queue:



Now run



lpadmin -p my_brother -v $IPP_URI -E -m everywhere


the -m everywhere will directly query the printer for details of all the IPP printing features it supports, and auto-generate a PPD for this printer to be used by all 'legacy' applications which don't know about IPP (yet). This way all print clients can use the CUPS queue as they were used to before....





(I am not familiar with Arch Linux -- I'm only aware of all its supporters being proud of its ability to run the "latest and greatest" in the software world. So I think I can assume a rather recent CUPS version for you, which is needed for the above to work -- now, that it's 2018 and three years after you asked your question...)






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f245223%2fhow-to-print-from-arch-linux-via-wi-fi-to-canon-mg6450%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Is that particular printer IPP-enabled with AirPrint as well? If so, you may be able to use "driverless" printing (even though that possibly won't support all the bells and whistles which you can ring with Gutenprint).



    1. Check IPP support:



    Just run



    ippfind


    If you get a return, IPP is supported, and it will tell you the IPP-URI to address the printer.



    2. Install the print queue:



    Now run



    lpadmin -p my_brother -v $IPP_URI -E -m everywhere


    the -m everywhere will directly query the printer for details of all the IPP printing features it supports, and auto-generate a PPD for this printer to be used by all 'legacy' applications which don't know about IPP (yet). This way all print clients can use the CUPS queue as they were used to before....





    (I am not familiar with Arch Linux -- I'm only aware of all its supporters being proud of its ability to run the "latest and greatest" in the software world. So I think I can assume a rather recent CUPS version for you, which is needed for the above to work -- now, that it's 2018 and three years after you asked your question...)






    share|improve this answer




























      0














      Is that particular printer IPP-enabled with AirPrint as well? If so, you may be able to use "driverless" printing (even though that possibly won't support all the bells and whistles which you can ring with Gutenprint).



      1. Check IPP support:



      Just run



      ippfind


      If you get a return, IPP is supported, and it will tell you the IPP-URI to address the printer.



      2. Install the print queue:



      Now run



      lpadmin -p my_brother -v $IPP_URI -E -m everywhere


      the -m everywhere will directly query the printer for details of all the IPP printing features it supports, and auto-generate a PPD for this printer to be used by all 'legacy' applications which don't know about IPP (yet). This way all print clients can use the CUPS queue as they were used to before....





      (I am not familiar with Arch Linux -- I'm only aware of all its supporters being proud of its ability to run the "latest and greatest" in the software world. So I think I can assume a rather recent CUPS version for you, which is needed for the above to work -- now, that it's 2018 and three years after you asked your question...)






      share|improve this answer


























        0












        0








        0







        Is that particular printer IPP-enabled with AirPrint as well? If so, you may be able to use "driverless" printing (even though that possibly won't support all the bells and whistles which you can ring with Gutenprint).



        1. Check IPP support:



        Just run



        ippfind


        If you get a return, IPP is supported, and it will tell you the IPP-URI to address the printer.



        2. Install the print queue:



        Now run



        lpadmin -p my_brother -v $IPP_URI -E -m everywhere


        the -m everywhere will directly query the printer for details of all the IPP printing features it supports, and auto-generate a PPD for this printer to be used by all 'legacy' applications which don't know about IPP (yet). This way all print clients can use the CUPS queue as they were used to before....





        (I am not familiar with Arch Linux -- I'm only aware of all its supporters being proud of its ability to run the "latest and greatest" in the software world. So I think I can assume a rather recent CUPS version for you, which is needed for the above to work -- now, that it's 2018 and three years after you asked your question...)






        share|improve this answer













        Is that particular printer IPP-enabled with AirPrint as well? If so, you may be able to use "driverless" printing (even though that possibly won't support all the bells and whistles which you can ring with Gutenprint).



        1. Check IPP support:



        Just run



        ippfind


        If you get a return, IPP is supported, and it will tell you the IPP-URI to address the printer.



        2. Install the print queue:



        Now run



        lpadmin -p my_brother -v $IPP_URI -E -m everywhere


        the -m everywhere will directly query the printer for details of all the IPP printing features it supports, and auto-generate a PPD for this printer to be used by all 'legacy' applications which don't know about IPP (yet). This way all print clients can use the CUPS queue as they were used to before....





        (I am not familiar with Arch Linux -- I'm only aware of all its supporters being proud of its ability to run the "latest and greatest" in the software world. So I think I can assume a rather recent CUPS version for you, which is needed for the above to work -- now, that it's 2018 and three years after you asked your question...)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 15 '18 at 10:26









        Kurt PfeifleKurt Pfeifle

        46838




        46838






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f245223%2fhow-to-print-from-arch-linux-via-wi-fi-to-canon-mg6450%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            19世紀