{"id":15448,"date":"2019-05-02T15:39:10","date_gmt":"2019-05-02T19:39:10","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=15448"},"modified":"2021-02-23T14:37:06","modified_gmt":"2021-02-23T19:37:06","slug":"possibly-painless-network-printing-from-your-raspberry-pi","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2019\/05\/02\/possibly-painless-network-printing-from-your-raspberry-pi\/","title":{"rendered":"Possibly Painless Network Printing from your Raspberry Pi"},"content":{"rendered":"\n<p>Printing from computers goes through waves of being difficult to being easy, then back to difficult again. This is likely due to the cycles of technology, complexity and user demand flow in and out of sync. I think we&#8217;re at peak annoyance right now.<\/p>\n\n\n\n<p>It&#8217;s even harder with Raspberry Pis, as when printer drivers support Linux, 90% of them are for x86 or x86_64 computers only (Canon: <strong>\u00e0\u00b2\u00a0_\u00e0\u00b2\u00a0<\/strong>). ARM doesn&#8217;t get a look in. But one technology does actually seem to help: network printers that support <strong>IPP<\/strong> \u00e2\u20ac\u201d Internet Printing Protocol.<\/p>\n\n\n\n<p>We had an old Brother laser printer that just got slower and crankier and less useful as a printer, so yesterday I got a new Brother <a href=\"https:\/\/support.brother.com\/g\/b\/producttop.aspx?c=ca&amp;lang=en&amp;prod=dcpl2550dw_us\">DCP-L2550DW<\/a> to replace it. It says it supports Linux in the spec, but I knew not to be too optimistic with my Raspberry Pis. And indeed, it was seen on the network but no driver was found. I had a sad.<\/p>\n\n\n\n<p>What turned my frown upside down was finding out about Raspbian&#8217;s <strong>cups-ipp-utils<\/strong> package. For desktop use, install it this way:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install cups cups-ipp-utils system-config-printer<\/pre>\n\n\n\n<p>(leave off <strong>system-config-printer<\/strong> if you&#8217;re running from the terminal.)<\/p>\n\n\n\n<p class=\"has-dark-red-color has-text-color\"><strong>Update<\/strong>: while you&#8217;re here, you might also want to install the print-to-PDF driver too. This allows you to print without wasting paper. Install it (and the IPP driver) with:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install cups cups-ipp-utils system-config-printer <code>printer-driver-cups-pdf<\/code><\/pre>\n\n\n\n<p>In many cases, this might be all you need to do: the network printers should be automatically found and added as devices.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"adding\">Adding the new printer<\/h2>\n\n\n\n<p>On the desktop, open up <em>Preferences \u00e2\u2020\u2019 Print Settings<\/em> and add a new printer. Yes, it prompts for your user password which you may have forgotten. I&#8217;ll wait while you try to remember it \u00e2\u20ac\u00a6<\/p>\n\n\n\n<p>Now under Network Printers, you should see a device you recognize. Pick the one that says <em>IPP network printer<\/em> somewhere:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"667\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-39-08.png\" alt=\"\" class=\"wp-image-15449\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-39-08.png 620w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-39-08-149x160.png 149w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-39-08-297x320.png 297w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><figcaption>IPP network printer<\/figcaption><\/figure>\n\n\n\n<p>Here&#8217;s where the magic happens: you actually <em>want<\/em> to pick the generic driver for once:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"667\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-39-55.png\" alt=\"\" class=\"wp-image-15452\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-39-55.png 620w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-39-55-149x160.png 149w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-39-55-297x320.png 297w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><figcaption>Select Generic (recommended) manufacturer<\/figcaption><\/figure>\n\n\n\n<p>And again, the IPP utilities package will have picked the right driver for you:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"667\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-40-26.png\" alt=\"\" class=\"wp-image-15451\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-40-26.png 620w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-40-26-149x160.png 149w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-40-26-297x320.png 297w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><figcaption>Just go with what the driver suggests<\/figcaption><\/figure>\n\n\n\n<p>Changing the name and location is optional:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"667\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-40-56.png\" alt=\"\" class=\"wp-image-15450\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-40-56.png 620w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-40-56-149x160.png 149w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/05\/Screenshot_from_2019-05-02_11-40-56-297x320.png 297w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><figcaption>Your new printer&#8217;s almost ready to go!<\/figcaption><\/figure>\n\n\n\n<p>Hit <strong>Apply<\/strong>, and you <em>should<\/em> be printing!<\/p>\n\n\n\n<p>(Hey, printer manufacturers have been known to be evil and make good, working stuff suddenly not work. IPP is supposed to make everything sparkly again, but I can&#8217;t guarantee that something wicked won&#8217;t come this way.)<\/p>\n\n\n\n<p><strong>Update<\/strong>: After a few months of using the <a href=\"https:\/\/support.brother.com\/g\/b\/producttop.aspx?c=ca&amp;lang=en&amp;prod=dcpl2550dw_us\">Brother DCP-L2550DW<\/a>, I don&#8217;t recommend you buy it. It&#8217;s a perfectly capable printer, but it takes \u00e2\u20ac\u02dcchipped\u00e2\u20ac\u2122 toner cartridges that:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>stop dead when you hit their page count limit, wasting toner and preventing you from finishing the print job;<\/li><li>can&#8217;t easily be refilled by local technicians, so are wasteful of resources.<\/li><\/ol>\n\n\n\n<p>To get around (1), select <em>Continue<\/em> instead of <em>Stop<\/em> in the <strong>Toner Out<\/strong> configuration menu.<\/p>\n\n\n\n<p class=\"has-dark-red-color has-text-color\"><strong>Update, January 2020<\/strong>: with sales and all needing a printer for work, the DCP-L2550DW will go with me to the office. I now have a <a href=\"https:\/\/www.brother.ca\/en\/p\/MFCL2750DW\">MFC-L2750DW<\/a> at home that scans to network, amongst other things. IPP proved it was magic yet again by the new printer being found and <span style=\"text-decoration: underline;\">just<\/span> <span style=\"text-decoration: underline;\">worked<\/span> with all my machines as soon as I added it to the network.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Printing from computers goes through waves of being difficult to being easy, then back to difficult again. This is likely due to the cycles of technology, complexity and user demand flow in and out of sync. I think we&#8217;re at peak annoyance right now. It&#8217;s even harder with Raspberry Pis, as when printer drivers support [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Possibly Painless Network Printing from your Raspberry Pi: cups-ipp-utils is your friend","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7,2],"tags":[2894,3172,2781,270,893,1679,922,2510],"class_list":["post-15448","post","type-post","status-publish","format-standard","hentry","category-computers-suck","category-goatee-stroking-musing-or-something","tag-cups","tag-ipp","tag-laser","tag-linux","tag-network","tag-print","tag-printer","tag-raspberrypi"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-41a","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/15448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=15448"}],"version-history":[{"count":9,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/15448\/revisions"}],"predecessor-version":[{"id":16634,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/15448\/revisions\/16634"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=15448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=15448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=15448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}