{"id":609,"date":"2018-09-23T15:00:42","date_gmt":"2018-09-23T13:00:42","guid":{"rendered":"http:\/\/members.loria.fr\/AScheuer\/?p=609"},"modified":"2018-12-13T16:52:58","modified_gmt":"2018-12-13T15:52:58","slug":"canon-printer-xubuntu-18-04","status":"publish","type":"post","link":"https:\/\/members.loria.fr\/AScheuer\/system\/canon-printer-xubuntu-18-04\/","title":{"rendered":"Installing a Canon Printer on XUbuntu 18.04"},"content":{"rendered":"<p>Now that I have <a href=\"http:\/\/members.loria.fr\/AScheuer\/system\/missing-aseba-studio-on-ubuntu-18-04\/\">Aseba Studio working<\/a>, I tried to get connected to my Canon Wi-Fi printer, and it is once again quite difficult. Is there something rotten in Ubuntu&rsquo;s world?<\/p>\n<p>Let us start by the beginning, and describe my printer&rsquo;s configuration: it is a <a href=\"https:\/\/www.canon-europe.com\/printers\/inkjet\/pixma\/pixma_mg4250\">Canon Pixma MG4250<\/a>, connected by Wi-Fi to my Freebox Revolution. It is detected by <tt style=\"font-size: small\">system-config-printer<\/tt>, which by default chose automatically the corresponding driver, by failled at last step to define the new printer and returned <tt style=\"font-size: small\">cups-error-internal-error<\/tt>. My first reaction was of course to check the Web for others having a similar problem, and the way they solved it if any did, but I did not find anything relevant.<\/p>\n<p>I then tried something else: instead of choosing the automatically detected printer, I gave the URI found on XUbuntu 16.04, which is <tt style=\"font-size: small\">cnijnet:\/<\/tt> followed by (what I think to be) the MAC address of the printer. I then had to choose a driver (where <tt style=\"font-size: small\">system-config-printer<\/tt> automatically did it in previous method), but adding the printer still failled at last step, this time with <tt style=\"font-size: small\">cups-error-not-possible<\/tt>.<\/p>\n<p>At last, I applied the method which worked on XUbuntu 16.04, which is to use <a href=\"https:\/\/www.canon.fr\/support\/consumer_products\/products\/fax__multifunctionals\/inkjet\/pixma_mg_series\/pixma_mg4250.aspx?type=drivers\">Canon driver<\/a>. I chose the Debian archive from <a href=\"https:\/\/www.canon.fr\/support\/consumer_products\/products\/fax__multifunctionals\/inkjet\/pixma_mg_series\/pixma_mg4250.aspx?type=drivers&amp;language=&amp;os=Linux%20(64-bit)\">their page<\/a>, and tried to install it. However, it needed three packages (<tt style=\"font-size: small\">libpango1.0<\/tt>, <tt style=\"font-size: small\">libpng12<\/tt> and <tt style=\"font-size: small\">libtiff14<\/tt>) while only the first is still available on 18.04 (the two others are obsolete). A web search indicated that older packages can be used, I thus got those of the previous LTS (xenius) on the <a href=\"https:\/\/packages.ubuntu.com\">Ubuntu archive site<\/a> (but the last one, <tt style=\"font-size: small\">libtiff14<\/tt>, needs a direct access to <a href=\"http:\/\/fr.archive.ubuntu.com\/ubuntu\/pool\/main\/t\/tiff\">tiff directory of the French archive site<\/a>, as the library is not referenced, only its <tt style=\"font-size: small\">dev<\/tt> part). Once those package are saved and installed (with a <tt style=\"font-size: small\">sudo dpkg -i ...<\/tt>), Canon&rsquo;s installation script works fine, and adds the printer. Everything now works fine.<\/p>\n<p>As I found abnormal the two errors sent by <tt style=\"font-size: small\">system-config-printer<\/tt>, I filled <a href=\"https:\/\/bugs.launchpad.net\/bugs\/1795150\">a bug report on launchpad<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that I have <a href=\"http:\/\/members.loria.fr\/AScheuer\/system\/missing-aseba-studio-on-ubuntu-18-04\/\">Aseba Studio working<\/a>, I tried to get connected to my Canon Wi-Fi printer, and it is once again quite difficult. Is there something rotten in Ubuntu&rsquo;s world?<\/p>\n<p>Let us start by the beginning, and describe my printer&rsquo;s configuration: it is a <a href=\"https:\/\/www.canon-europe.com\/printers\/inkjet\/pixma\/pixma_mg4250\">Canon Pixma MG4250<\/a>, connected by Wi-Fi to my Freebox Revolution. It is detected by system-config-printer, which by default chose automatically the corresponding driver, by failled at last step to define the new printer and returned cups-error-internal-error. My first reaction was of course to check the Web for others having a similar problem,<\/p>\n","protected":false},"author":105,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[21,18],"class_list":["post-609","post","type-post","status-publish","format-standard","hentry","category-system","tag-printer","tag-xubuntu"],"_links":{"self":[{"href":"https:\/\/members.loria.fr\/AScheuer\/wp-json\/wp\/v2\/posts\/609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/members.loria.fr\/AScheuer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/members.loria.fr\/AScheuer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/members.loria.fr\/AScheuer\/wp-json\/wp\/v2\/users\/105"}],"replies":[{"embeddable":true,"href":"https:\/\/members.loria.fr\/AScheuer\/wp-json\/wp\/v2\/comments?post=609"}],"version-history":[{"count":4,"href":"https:\/\/members.loria.fr\/AScheuer\/wp-json\/wp\/v2\/posts\/609\/revisions"}],"predecessor-version":[{"id":686,"href":"https:\/\/members.loria.fr\/AScheuer\/wp-json\/wp\/v2\/posts\/609\/revisions\/686"}],"wp:attachment":[{"href":"https:\/\/members.loria.fr\/AScheuer\/wp-json\/wp\/v2\/media?parent=609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/members.loria.fr\/AScheuer\/wp-json\/wp\/v2\/categories?post=609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/members.loria.fr\/AScheuer\/wp-json\/wp\/v2\/tags?post=609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}