{"id":5018,"date":"2019-04-11T16:52:45","date_gmt":"2019-04-11T22:52:45","guid":{"rendered":"https:\/\/ramblindan.org\/?p=5018"},"modified":"2019-04-12T06:44:33","modified_gmt":"2019-04-12T12:44:33","slug":"raspberry-pi-printer","status":"publish","type":"post","link":"https:\/\/ramblindan.org\/?p=5018","title":{"rendered":"Raspberry Pi Printer"},"content":{"rendered":"<h3>Raspberry Pi Printer<\/h3>\n<p>I was telling myself I had a pretty good mini PC (computer) in the form of a Raspberry Pi (RPi). It was capable of doing everything I thought a small computer should do. But then, it <em>hit<\/em> me. Not the computer but a<strong> realization<\/strong>.<\/p>\n<p>There was no way for me to send any of my documents from the RPi to a printer. There is no printer set-up in a stock Raspberry Pi. Nothing in the configuration and nothing in the user menu. Well That\u2019s Fine (WTF).<\/p>\n<p>So, I do some web searching to see what others (other folk) are doing. Not too well it seems. Some Noob deleted his SUDO command and was trying to deal with that, while getting a CUPS printer server going. Hint: don\u2019t EVER destroy your SUDO command. Fixing that created a major amount of forum discussion and hoops to jump through, but wasn&#8217;t solving my issue.<\/p>\n<p>All I wanted to do is get a networked printer going with the RPi. My sudo was fine&#8230;<\/p>\n<p>SAMBA is probably necessary it seems. I saw some mention of SAMBA in further research. <a href=\"https:\/\/www.samba.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.samba.org\/<\/a> Probably since I was trying to create a CUPS Print Server in RPI that would work on my network. SAMBA should already be installed in Rpi as it a kind of universal domain controller. <span style=\"text-decoration: underline;\">I didn\u2019t have to load it<\/span> so it must exist or was loaded with CUPS.<\/p>\n<p><a class=\"lbp_primary\" href=\"https:\/\/ramblindan.org\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-58-35.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-5020 size-medium\" src=\"https:\/\/ramblindan.org\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-58-35-300x270.png\" alt=\"\" height=\"270\" width=\"300\" srcset=\"https:\/\/ramblindan.org\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-58-35-300x270.png 300w, https:\/\/ramblindan.org\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-58-35-200x180.png 200w, https:\/\/ramblindan.org\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-58-35-768x692.png 768w, https:\/\/ramblindan.org\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-58-35-600x541.png 600w, https:\/\/ramblindan.org\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-58-35-150x135.png 150w, https:\/\/ramblindan.org\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-58-35-400x360.png 400w, https:\/\/ramblindan.org\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-58-35.png 1002w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>What I did have to install was CUPS <a href=\"https:\/\/www.cups.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.cups.org\/<\/a> because I needed to use the Internet Printing Protocol (IPP). CUPS is the acronym for Common UNIX Printing System It can be found in the ADD\/REMOVE SOFTWARE in the Rpi menu\u2026 <strong><em>See picture<\/em><\/strong>. Note: I did a search for CUPS. The other files in the pix self installed with the first (highlighted) entry.<\/p>\n<p>Next I required HPLIP <a href=\"https:\/\/developers.hp.com\/hp-linux-imaging-and-printing\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/developers.hp.com\/hp-linux-imaging-and-printing<\/a> which I downloaded and installed from their website. My printer is an HP printer and this was the interface that let me (I used) to configure CUPS properly.<\/p>\n<p>These are the basic software tools I required. Between them all is enough to get my network print server working. HPLIP also has the tools for a USB printer and several other options.<\/p>\n<p>One big \u201cGOTCHA\u201d with the Raspberry Pi, is there is NO PASSWORD for the root account. Access to root is required to get HPLIP working. The problem is simple if you haven\u2019t deleted your SUDO command. (Remember that fellow?) You don\u2019t use sudo to set up the printer but sudo is needed to ADD a ROOT password to Raspberry Pi.<\/p>\n<p>The command from a terminal window is: \u201csudo passwd root\u201d (no quotes)<\/p>\n<p>Then makeup and add whatever ROOT password you want. Then you can login as root for the Rpi CUPS print server setup. Remember to document your new root password in a secure place.<\/p>\n<p>This should be enough hints and information for others to get a printer running on a Raspberry Pi. There may be other methods, but this has worked for me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry Pi Printer I was telling myself I had a pretty good mini PC (computer) in the form of a Raspberry Pi (RPi). It was capable of doing everything I thought a small computer should do. But then, it hit me. Not the computer but a realization. There was no way for me to send any of my documents from the RPi to a printer. There is no printer set-up in a stock Raspberry Pi.&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[38,95],"tags":[28,165,96],"class_list":["post-5018","post","type-post","status-publish","format-standard","hentry","category-computersoftware","category-linux","tag-computer","tag-linux","tag-sofware"],"_links":{"self":[{"href":"https:\/\/ramblindan.org\/index.php?rest_route=\/wp\/v2\/posts\/5018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ramblindan.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ramblindan.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ramblindan.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ramblindan.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5018"}],"version-history":[{"count":0,"href":"https:\/\/ramblindan.org\/index.php?rest_route=\/wp\/v2\/posts\/5018\/revisions"}],"wp:attachment":[{"href":"https:\/\/ramblindan.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ramblindan.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ramblindan.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}