Associated Links

Other websites associated with this blog. ________________________

Raspberry Pi Printer

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. Nothing in the configuration and nothing in the user menu. Well That’s Fine (WTF).

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’t EVER destroy your SUDO command. Fixing that created a major amount of forum discussion and hoops to jump through, but wasn’t solving my issue.

All I wanted to do is get a networked printer going with the RPi. My sudo was fine…

SAMBA is probably necessary it seems. I saw some mention of SAMBA in further research. 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. I didn’t have to load it so it must exist or was loaded with CUPS.

What I did have to install was CUPS 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… See picture. Note: I did a search for CUPS. The other files in the pix self installed with the first (highlighted) entry.

Next I required HPLIP 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.

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.

One big “GOTCHA” 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’t deleted your SUDO command. (Remember that fellow?) You don’t use sudo to set up the printer but sudo is needed to ADD a ROOT password to Raspberry Pi.

The command from a terminal window is: “sudo passwd root” (no quotes)

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.

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.

Comments are closed.