Now you need a printer. A dye sublimation printer makes decent quality photo prints fairly quickly. I used the Canon Selphy CP900, which I randomly bought at Best Buy for this project without doing much research. Luckily it worked out.

Use CUPS to drive the printer. You can check to see if CUPS supports a particular printer. The Canon Selphy CP-900 is not on that list. I got it working using the SELPHY-CP770 driver (this was the lucky part), which, though it was available through the actual CUPS installation, I do not see on the list linked to above (as of Feb 2014).



1. Install CUPS from the RPi command line (for further guidance/troubleshooting, see here)

sudo apt-get install cups

Add the user (pi) to the group allowed to print (lpadmin)

sudo usermod -a -G lpadmin pi



2. Connect your printer and setup CUPS from the RPi desktop

Attach to the RPi by USB and power up your printer.



Open Midori and type into the URL line

http://127.0.0.1:631

This will open up the CUPS setup.



Click "administration" and "add printer;" enter your username and password (e.g., the defaults "pi" and "raspberry").



You should see your printer listed under "local printer;" select it and click "continue."



Set the name and location of your printer as you like, and click "continue."



Select the driver for your printer. For me, there was no CP900 driver, but the CP770 driver worked just fine.



Set the default options.



Now you should be done with printer setup.





3. Test printing

Check for active printers

lpstat -p

Do a test print. "lpstat -p" will give you the name of the printer, in my case "Canon_CP900," which was designated during the CUPS setup above. List the files in your home directory by typing "ls." "capt0000.jpg" is the photo previously captured by the camera. Substitute your own printer name and photo capture name into the command to print, "lp"; the -d argument determines the print destination.

lp -d Canon_CP900 capt0000.jpg