Google Plus

Install Cups Print server in ubuntu

Written by Mel Kham on . Posted in Linux tutorials

I will  explain how to set up a headless Ubuntu CUPS print-server which allows printing, and can be administered, over a network (without having to install the gui)




First  we  have  to download  cups :

sudo apt-get install cupsys cupsys-client

make   a  backup of  your  cups config  file

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

Install Cups  Print  server   in  ubuntu

make  sure  that   you  have  this   in your  cups  file :

# Show shared printers on the local network.
Browsing Off
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
BrowseAddress @LOCAL

Allow CUPS to read the password file
To do admin tasks remotely using the web interface, it will ask you for a password. In order to check this password CUPS needs to be able to read the password shadow file. To do this ‘cupsys’ needs to be a member of the group ‘shadow’.

adduser cupsys shadow

Now  check the port  of   the  the  print  server

with  :

http://print-server-hostname:631 or   http://ip:63

Download  some  extra  good  printers drivers

apt-get install cupsys-driver-gutenprint


Now Connect the printers to the print-server and use the web interface to add them.

From  The  client  Workstation add the  new  printer  from

System>Administartion>Printing

 

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Bjarni

|

Excellent, thanx!

Ambiton

|

Thank you very much Chris :)

Lolman

|

in cmd

Oliver

|

Do you think that it works on a Macbook Air 1,1?… ohh and, it must be installed in a different partition than Mac OS X, right?… can´t have i installed only Ubuntu on my hard drive?

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .