printserver for android phone [raspberry pi]

based on:
german video: http://www.youtube.com/watch?v=RPo6iNYAusE
german tutorial: http://www.spiegel.de/netzwelt/gadgets/projekt-fuer-den-raspberry-pi-so-basteln-sie-sich-einen-w-lan-drucker-a-921851.html

install the software:
sudo apt-get install cups

edit cupsd.conf:
sudo nano /etc/cups/cupsd.conf
search:
listen localhost:631
replace with
Listen *:631

search:
restrict access to the server...
insert between Location
Allow @Local

a little under it by
location/admin
insert
Allow @Local

a little under it by
location/admin/conf
insert
Allow @Local

safe it

restart cups:
sudo service cups restart

sudo usermod -a -G lpadmin pi

get the ip of your pi:
ifconfig (etho) get ip adress for you pi
(192.168.1.xx)
insert usb cable of printer to pi
in browser
192.168.1.36:631
administration ->addprinter
verwaltung->drucker hinzuf├╝gen
accept certificate
->addprinter
linux user +pw
choose printer ->next
activate “share this printer”
->next
choose correct driver
->add printer
->set default options
or
->printer->change default settings
print quality economy

on cups(192.168.1.xx:631):
printer
printer do testprint

if you like to use it from Android:
install lets print
https://play.google.com/store/apps/details?id=com.blackspruce.lpd
press on menu add printer and search for one
choose it and then do a testprint

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s