you might be wondering how to print to a printer connected to the same network that your Raspberry Pi is connected to.This is how you can:
- In LXTerminal, type sudo apt-get install cups.
- When prompted, type y then press enter.
- Then, still in LXTerminal, type sudo usermod -a -G lpadmin pi.
- Open Midori, then type the following into the URL Bar at the top of the screen. http://127.0.0.1:631
- Save this website to your favourites for future reference.
- From the main screen, choose the 'Administration' tab.
- Select 'Add Printer'
- Enter your normal Pi username and password.
- Select your printer from the list. Click 'continue'.
- Edit the settings if you wish (if you only have one printer, you can leave these be.)
- Click on 'continue'.
- Choose the model that is the closest mach to your printer from the list (it doesn't matter whether it is a bit different.)
- Click on 'add printer'.
- Choose the different options to suit your printer.
- Click on 'set default options'
- Choose the 'Printers' tab. You can request a print test if you wish.
The printer will now appear in any applications that provide printing facilities.
A couple of tips:
- Be patient - Sometimes printing can take a long time.
- Avoid running other applications on your Raspberry Pi while printing is in progress.
taken from http://www.raspberrypitutorials.yolasite.com/printing.php