Install Cups Print server in ubuntu

by
Share this Article: Facebook3Google+0Twitter1LinkedIn0Reddit0StumbleUpon0

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/

Share this Article: Facebook3Google+0Twitter1LinkedIn0Reddit0StumbleUpon0