Install CUPS print server on Rasbian

Install CUPS:

sudo apt-get install cups

Add yourself to a group:

sudo usermod -aG lpadmin <username>

Edit file:

sudo nano /etc/cups/cupsd.conf

And coment out line “Listen localhost:631”

# Only listen for connections from the local machine
Listen localhost:631

Make sure your file looks like this:

# Only listen for connections from the local machine
# Listen localhost:631
Port 631

< Location / >
# Restrict access to the server...
Order allow,deny
Allow @local
< /Location >

< Location /admin >
# Restrict access to the admin pages...
Order allow,deny
Allow @local
< /Location >

< Location /admin/conf >
AuthType Default
Require user @SYSTEM

# Restrict access to the configuration files...
Order allow,deny
Allow @local
< /Location >

Restart CUPS:

sudo /etc/init.d/cups restart

Access to your CUPS via web browser:

http://<hostname>:361/admin

or

http://<IP address>:361/admin
Advertisements

One thought on “Install CUPS print server on Rasbian”

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