Print server on Raspberry Pi

  1. Install raspbian
  2. 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

  1. Install raspbian
  2. 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

Dodaj odgovor

Vaš e-naslov ne bo objavljen. * označuje zahtevana polja

This site uses Akismet to reduce spam. Learn how your comment data is processed.