Once you've bought a wireless printer, you never want to go back to the dark days of having to plug in all the time. But good wireless printers are expensive, and many routers that let you make network printers out of USB ones don't necessarily do all the driver-work for you.

With a $25 RPi Model A, a $2 power supply, a $5 SD card and a $5 USB Wifi dongle (be sure to find one supported in Raspbian or other OSes) you can turn any printer from the CUPS printer list into a wireless network printer. A lot of added functionality for under $40!

If you look for a laser printer from the early 2000s on that list, chances are it will be heavily supported and very efficient with toner, not to mention cheap.

Step 1: Step 1: Set Up Your OS

This is pretty simple stuff if you know anything about the RPi, so I won't tell you much about it, but if not the foundation has made an awesome instructional page.
Any OS should do, but make sure it has WICD for easy setup!

If you can't find it on your OS, here is a good guide to setting it up from scratch.

(Check out this guide to installing Raspbian if you need help.)

<p>I tried to use CUPS (through Openmediavault) to act as a server for my Canon LBP6030W. Though it correctly identified the printer, there was no driver for it. I tried several different drivers but none worked.</p><p>I wonder if anyone could offer some suggestions that would help me run that printer though CUPs.</p>
<p>I needed to install the drivers directly into the raspberry pi, here is the links that I used : </p><p><a href="http://www.howtogeek.com/169679/how-to-add-a-printer-to-your-raspberry-pi-or-other-linux-computer/" rel="nofollow">http://www.howtogeek.com/169679/how-to-add-a-print...</a></p><p><a href="https://mark.zealey.org/2015/06/29/getting-hp-p1005-and-associated-laserjet-printers-working-with-raspberry-pi" rel="nofollow">https://mark.zealey.org/2015/06/29/getting-hp-p100...</a></p><p><a href="http://foo2xqx.rkkda.com" rel="nofollow">http://foo2xqx.rkkda.com</a></p>
<p>well i have done all the step but i can not open localhost:631</p>
<p>If you have not figured out yet, try running the following commands to enable remote access to CUPS service and restart the cups service:</p><blockquote>sudo cupsctl --remote-any <br>sudo /etc/init.d/cups restart</blockquote><p>Now find the IP address of the RPi and access it from your browser as mentioned in the article (like</p>
<p>Well u can't &quot;Turn Any Printer into a wireless printer with a Raspberry Pi&quot; but only those which drivers are available for Linux in ARM architecture. Trust me there are more non supported then supported printers. </p>
<p>Yes, my printer came only with i386 binary CUPS driver........ :(</p>
<p>Thanks a lot, was really helpful</p>
So can i still use this method even if the printer driver is not supported by ny windows operating system
<p>You can use $(whoami) to automatically add your correct username.. Eg:</p><p>sudo usermod -a -G lpadmin $(whoami)</p>
Hi<br>What should i write in the &quot;username&quot; in the line 'sudo usermod....'? <br>Thank you
I wrote pi as username and i think i works. (i'm not getting any error). <br>But i cant find my xerox workcenter pe120.<br>I searched for other printers and didnt found anything. <br>Maybe it have some connection to the fact that i cant get into cup with the ip address? <br>I enter the cup with localhost:631<br>Thank you!
Got as far as the cups gui by using localhost:631 as ip option would not work. Tried finding drivers on the printer tab but there aren't any trying sesrching many different models but nothing showing? Then tried adding the printer using the default user and password but this is not accepted....Help
<p>Hi, I find difficult to add myself to group &quot;Ipadmin&quot;. When I try this &quot;sudo usermod -a -G Ipadmin username&quot;, it returns &quot;usermod: group 'Ipadmin' does not exist&quot;. I also try to get accessed to &quot;Administration page&quot; to add printers by browsing, after inputing my RaspberryPi's name and password, it returns &quot;Add printer error - Unable to add printer - Forbidden, please help, thanks.</p>
<p>In case you're still stuck, or someone else gets this problem, its lower case L and not an uper case i. Writing LPADMIN in lower case is what it required basically, i.e. lpadmin.</p><p>It's supposed to mean line printer I think.</p><p>ref: https://www.raspberrypi.org/forums/viewtopic.php?t=40705&amp;p=332288</p>
<p>I got fed up with the laser printer toner fumes and put the printer in the furthest part of my flat and used this guide to set it up with an RPI A with a stronge power source (wouldn't work with usb adaptor otherwise). Thanks!</p><p>I currently have an OKI B410 and a Brother HL-2030 connected. both work perfectly locally or from Windows or Mac but if I print from my 64bit Arch Linux, both print jobs fail:</p><p><strong>OKI desktop-local message:</strong></p><p>processing since Thu 22 Oct 2015 08:26:23 PM CEST <em>&quot;/usr/lib/cups/filter/foomatic-rip failed&quot;</em></p><p><strong>OKI rpi-local message:</strong></p><p>stopped &quot;/usr/lib/cups/filter/foomatic-rip failed&quot;</p><p><strong>Brother desktop local message:</strong></p><p>processing since Thu 22 Oct 2015 08:32:46 PM CEST <em>&quot;Sending data to printer.&quot;</em></p><p><strong>Brother rpi-local message:</strong></p><p>stopped <em>&quot;/usr/lib/cups/filter/foomatic-rip failed&quot;</em></p><p>I used Minibian-wifi <a href="https://sourceforge.net/projects/minibianwifi/" rel="nofollow">https://sourceforge.net/projects/minibianwifi/ </a> , so I could use a 2GB SD card. I just used the root user, so no dealing with permission...</p>
<p>Nice project. I have more or less the same setup.</p><p>Do you have any idea on how to add a relay so that the printer can automatically be turned on when there is a print job for it. The HW part if it is easy but how to make CUPS toggle the pin is not so obvious to me.</p>
<p>You could probably have a script running all 5 seconds or so that uses a command-line tool to check if there's a print job in some list (just some kind of &quot;if `lprmagiclistpending | wc -l` &gt; 1 then&quot;)</p><p>There are commands on <a href="https://www-uxsup.csx.cam.ac.uk/pub/doc/suse/suse9.1/adminguide9.1/ch05s07.html" rel="nofollow">https://www-uxsup.csx.cam.ac.uk/pub/doc/suse/suse9...</a></p><p>You might want to share your solution :)</p>
<p>Thanks for this HowTo but I want to add something more to it. I try all steps but as another user already say there are huge number of printers without drivers for ARM architecture. My printer is one of this printers - Canon MP2450 but I manage to make it work. That is how I do it:</p><p>1. Follow all steps from this article (only CUPS installation)</p><p>2. sudo apt-get install printer-driver-gutenprint</p><p>3. sudo apt-get install printer-driver-*</p><p>4. go to YourPiIpAddress:631</p><p>5. go to Administration -&gt; Add Printer and select your printer, Manufacturer and Driver from the list (you can try to add PPD file or not)</p><p>6. Print test page</p>
<p>Is it possible to add more than 1 printer to the Raspberry Pi? and have a Wireless Print Station. i have couple i would like to use. many thanks</p>
I dont know about Wireless Print Station, but its possible to connect multiple usb printers with CUPS
<p>many thanks. Thats the answer I was looking for.</p>
<p>Though i needed to do these steps to make the web interface accessible remotely http://www.howtogeek.com/169679/how-to-add-a-printer-to-your-raspberry-pi-or-other-linux-computer/</p>
<p>Thanks for sharing.. I will test this on my old HP 1600 Color Laser. </p>
<p>Thanks to your Instructable, I was able to connect my old HP Color Laser 1600 to my network.</p>
<p>Do you think I can do this with a 3d printer?</p>
<p>I assume the printer has to have an USB port?</p>
<p>Yes, that's the limiting factor and why I said 2000s, otherwise any 1990s workhorse would do well!</p>
<p>Perhaps you could write a script for the gpio pins to simulate a parallel port and use older printers that way? Just throwing an idea out there. :)</p>
<p>USB to Parallel (DB25 female) converter cable for less than $10.. I'm not sure how it works, but there are a LOT of options for that. </p><p><a href="http://www.monoprice.com/Product?c_id=103&cp_id=10311&cs_id=1031104&p_id=6265&seq=1&format=2" rel="nofollow">http://www.monoprice.com/Product?c_id=103&amp;cp_id=10...</a></p><p>It does, however, sound like a fun diy project too!</p>
<p>Could this principle be used with an outdated android smartphone? I mean since it is linux based and has some usb capabilities, could someone hack one and use that in place of the Pi?</p>
<p>I just avoided paying for anything to be able to print from my tablet by installing Google Cloud Print. My printer is not Bluetooth enabled, but by using a cloud server, the print command is sent from my tablet (or my PC) to the printer. But I'd love to be able to do that with my Silhouette vinyl/paper/fabric cutter. Got 'ible?</p>
You cany exactly turn ANY printer into a wireless printer. There is a huge majority of printers which have no drivers for linux and if they do theyre i386 or amd64 drivers not armv6/v7 so dont go buying a Pi only to find out that it doesnt support your printer.
<p>Hey! Great instructable. I have a friend that is looking for a way to do something like this with a vinyl cutter. Similar, I know, but a little different. Any thoughts on this?</p>
<p>Amazing! I can't wait to try this out. My wired printer has frustrated me since day 1.... I can't believe I never thought of this.</p>
<p>I have kept my HP4M for 20 years. I love the printer. But it won't work with my newer Macs. I've looked through your instructable and it all seems to be for Windows OS. Could you tell me if Mac OS 10.9.4 will work with your scheme? I have used the CUPS dialog for years on my older Macs. So I know it will work on a Mac, but not sure about this whole thing. I am excited to think I could get a printer that I really like, was inexpensive to operate, and reliable, could work again.</p>
<p>Well all the software runs on the Linux OS you put on the Raspberry Pi, after that it's a very basic Postscript print that works on any OS. </p><p>The whole guide was done using OSX 10.6.8, but would be the same on 10.9.4. Just follow the Raspberry Pi foundation guide on setting up the OS on your SD card. </p>
<p>i love this , can i re-post it to my blog?</p>
<p>Sure thing, I doubt I'm the first to come up with this set of steps. </p>
<p>I think you meant to use a Raspberry Pi Model B as the Model A has only 1 USB port as you did not mention the printer had to be plugged into a USB port as well as the WiFi dongle. nice article otherwise.</p>
<p>Correct you are!</p><p>Perhaps backpowering via a USB hub would be cheaper, though. </p>
<p>Great concise explanation. Thank you.</p>
<p>More advanced guide: </p><p><br>Ultimate Raspberry Pi : LAN Print , Scan and PDF Server : CUPS + AirPrint + IPP + cups-pdf + sanescan ( SaneTwain ) + phpSANE ( scanner webinterface ) + samba ( remote file access )</p><p><a href="https://extremeshok.com/6138/ultimate-raspberry-pi-lan-print-scan-and-pdf-server-cups-airprint-ipp-cups-pdf-sanescan-sanetwain-phpsane-scanner-webinterface-samba-remote-file-access/" rel="nofollow">https://extremeshok.com/6138/ultimate-raspberry-pi-lan-print-scan-and-pdf-server-cups-airprint-ipp-cups-pdf-sanescan-sanetwain-phpsane-scanner-webinterface-samba-remote-file-access/</a></p>
<p>This same instructable can easily be expanded to include Apple's Airprint so that your iPad/iPhone can print to any usb printer - linux makes this easy. Rather than write up my own, here's a google search that will give you all of the necessary info: <a href="https://www.google.com/search?q=raspberry+pi+airprint." rel="nofollow">https://www.google.com/search?q=raspberry+pi+airpr...</a></p><p>Since I have done this very thing, I wanted to click the &quot;I Made it!&quot; button, however that requires me to upload an image. How many images of a raspberry pi do we need? lol</p>
<p>Great idea! Thanks.</p>
<p>no detailed HW set up of a printer?</p>
<p>Great project!! Congratulations!!!</p>
Nice walk through, detailed but concise.

About This Instructable




Bio: I'm an inactive K'nexer, I used to be one of the most active ones, but I have a lot of other things to ... More »
More by Bartboy:Turn any printer into a wireless printer with a Raspberry Pi Flaming K'nex Spinner (Of Death!) A host of Bacon Cheesecakes, with Maple-Bacon Ice cream 
Add instructable to: