Introduction: Raspberry Pi Print Server

A print server that tastes of pi. This project assumes that you have the latest version of raspbian (which can be downloaded at) https://www.raspberrypi.org/downloads/raspbian/. And an active internet connection.

(When imaging the SD card be careful to select the right device otherwise BOOM! There goes your shopping list and the 4086 page novel you were working on)

Let’s get started!

Step 1: Updates!

Turn on your pi and login to the GUI. Next go to LX Terminal and type

sudo apt-get update

That’s it for this step.

Step 2: Auto Login

This no longer works in Rasbian Jessie. See: https://raspberrypi.stackexchange.com/a/49399for how to do this.


****************************************************************************************
Do you really need to log into your pi every time you turn your print server on? No! So in Lx terminal type:

sudo nano /etc/inittab

Then go to the following line in the file

1:2345:respawn:/sbin/getty 115200 tty1

Put a # before the line. It should look like this

#1:2345:respawn:/sbin/getty 115200 tty1

Then below it type

1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1

Press crtl+x then press y to save the file
****************************************************************************************

Step 3: Installing CUPS

CUPS is the print server software required to instruct the printer to print. So to install it type

Sudo apt-get install cups

Into LX Terminal

That was easy!

Step 4: Configure CUPS

Ok so CUPS has been installed but now you need to configure it

To configure CUPS type:

*02/03/17 eyesofnova found an error. Correct code is:

sudo usermod –aG lpadmin pi

Step 5: Plug in Your Printer

Now is the time to shut down your pi and plug in the printer and move it to an ideal location. I’m using the brother HL-1030 which has a parallel port. To use a printer with a parallel port use a USB to parallel wire.

Step 6: Turn It On

This is as simple as plugging it in.

Step 7: Adding a Printer

Go to youripaddress:631 and press add a printer. If prompted for login information the username is pi and the password is raspberry. Now fill out the form. Select your Printer, Printer name, Printer Driver and printer description. Then press save and exit the browser.

Step 8: Try It Out

Add the printer as you would add a network printer. And print a test page.

Well done! Have a coffee and relax.

Please do vote for me in the contest

Comments

author
sutto007 (author)2017-03-21

Fantastic instructable, I have now recovered much needed desk space and can now print from all our computers in my home. 10/10.

author
printersofa (author)sutto0072017-08-18

Great! My printer still is the size of my house, so won't fit on my desk!

author
SweDestroyer (author)2017-08-17

Hi! When i get in to the second step.. the file is empty... when i type

"sudo nano /etc/inittab" i only get an empty nano frame... do i something wrong...?

author
printersofa (author)SweDestroyer2017-08-18

Hi SweDestroyer,

It seems like Raspbian Jessie has messed a few things up!

See: https://raspberrypi.stackexchange.com/a/49399 for how to log in automatically.

Printersofa

author
eyesofnova (author)2017-03-02

Just a heads up for the usermod line. You need to run it as sudo and you need to make sure usermod is lowercase

sudo usermod –aG lpadmin pi

author
printersofa (author)eyesofnova2017-03-02

Thanks! All changed now!

author
printersofa (author)2015-08-20

Hope you enjoy

author
LP700-4 (author)printersofa2016-12-17

You just have to go through your code again just to make sure it is all correct