subota, 15. veljače 2014.

Install CUPS Server to Raspberry Pi - Raspbian

--------------------------------

$ sudo apt-get install mc nano cups

--------------------------------

$ sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original

--------------------------------

$ sudo chmod a-w /etc/cups/cupsd.conf.original

--------------------------------

$ sudo cupsctl --share-printers  --remote-admin --remote-printers

--------------------------------

http://raspberry_pi_IP:631
example:
http://192.168.1.16:631

If you can‘t connect to CUPS Server on Raspberry Pi via web browser try command line bellow:

$ sudo usermod -aG lpadmin USERNAME    - "your Raspberry Pi USERNAME"

or

$ sudo adduser USERNAME lpadmin        - "your Raspberry Pi USERNAME"

--------------------------------

$ sudo /etc/init.d/cups restart

--------------------------------

http://raspberry_pi_IP:631
example:
http://192.168.1.16:631

--------------------------------

Nema komentara:

Objavi komentar