- Install raspbian
- update
sudo apt-get update
3. Install Cups
sudo apt-get install cups
4. sudo usermod -a -G lpadmin pi
5. Set static IP in graphic settings or via sudo nano /etc/dhcpcd.conf
6. Set Cups to be accessible from network
sudo cupsctl –remote-any
7. Setup SSH remote access (Options->SSH)
sudo raspi-config
8. From your browser open IP address with port 631
ex: 192.168.0.5:631
9. Add printer via menues.
SETTING HP LaserJet1018
- Install raspbian
- update
sudo apt-get update
3. Install Cups
sudo apt-get install cups
4. sudo usermod -a -G lpadmin pi
5. Get driver
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
tar zxf foo2zjs.tar.gz
cd foo2zjs
make
./getweb 1018
6. Install plugin
sudo make install install-hotplug cups
7. Manualy create Cups printer
sudo lpadmin -p hp1018 -v “usb://HP/LaserJet%201018” -E -P /usr/share/cups/model/HP-LaserJet_1018.ppd.gz
8. Set printer system default
sudo lpadmin -d “hp1018”
9. Set paper A4
sudo lpoptions -o media=A4
In windows just go to add printer and choose hp1018 via raspberry pi
If still not working run (I run it as su)
hp-setup -i xxx.xxx.xxx.xxx (xxx are IP if printer) and install drivers from HP site or try to run hp-doctor