It's useful to print from any device wirelessly... with a cheaper non-wireless printer (in this case a Brother laser).... here's how to make a Raspberry Pi into a useful print server.
Source: http://www.raspberry-pi-geek.com/Archive/2013/01/Converting-the-Raspberry-Pi-to-a-wireless-print-server
Set up the IP address on the PI
Listing 1
/etc/network/interfaces
#/etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
Upgrade ready for install CUPSsudo apt-get update sudo apt-get upgrade
Installing CUPS
CUPS (Common Unix Printing System) manages printers connected via USB or the network and provides a management interface. You can install CUPS on your system by running:
sudo apt-get install cups
You will want to add the pi user to the lpadmin group, so it can access the administrative functions of CUPS:
sudo usermod -a -G lpadmin pi
After the install, CUPS runs as a system service and provides a management interface on the local system. If the network on which the Rasp Pi resides is trustworthy – and that is the case with your home LAN – just run
sudo cupsctl --remote-any
sudo /etc/init.d/cups restart
Adding AirPrint for Apple i* devices
sudo apt-get install avahi-discover
Source:
http://www.makeuseof.com/tag/add-airprint-support-raspberry-pi-print-server/
No comments:
Post a Comment