Printer Server

February 13, 2008

Aim is for little-un to be printer server for mac, windows and linux clients. Need to install Cups and Samba to do this.

Cups installation

sudo apt-get install cupsys cupsys-client

documentation in */usr/share/doc/libcupsys2

  • sudo gunzip /usr/share/doc/libcupsys2/README.txt.gz
  • sudo gunzip /usr/share/doc/libcupsys2/README.Debian.gz

ubuntu forums guide

Cups configuration

Used lynx on localhost:631 to get to web interface of Cups then turned on remote administration. Somehow config file got corrupted. Detected this by

  1. Editing /etc/cups/cupsd.conf and setting the LogLevel (on line 1) to debug
  2. tail -f /var/log/cups/error_log

Log showed error line so fixed and restarted /etc/init.d/cupsys start. After successful restart found that remote admin is working.

Connecting Printer

Plugged in printer to usb port. Used dmesg to confirm that system had recognised printer. Configured printer using web admin on the server using Lynx. Used this to setup remote administration, however wouldn’t save because config had faulty DefaultAuthType none. Set this to DefaultAuthType basic. Now can install printer driver.

Installing Printer Driver

Did this through web interface little-un:631 you have to fill in a couple of forms. The printer was detected automatically. I chose to use a ppd driver which I got from linuxprintingorg

Installing Clients

[Cups Client on OSX]