Network Printing Setup

Standalone Network Printer

I setup a standalone network printer to provide printing services. The printer has a LAN card and is not connected to a computer. It has its own ip address on the LAN and is OS independent.

Linux will need CUPS. Windows will recognise the printer but will require drivers available to each machine that uses the printer services.

Assuming CUPS is already installed on your machine, here are the steps I took to getting it going.

As root:

1.) Open file /etc/cups/cupsd.conf and comment out the following:

# AuthType, AuthClass and AuthGroupName

2.) Open file /etc/hosts.allow and add:

cupsd : ALL

3.) Copy the printer PPD file to cups model directory:

# cp SM3050.PPD /usr/share/cups/model/

4.) Restart Cups server

# /etc/init.d/cups restart

5.) Run the following command:

/usr/sbin/lpadmin -p Samsung -E -m SM3050.PPD -v socket://

6.) Check the status of the printer:

# lpstat -p -d
printer Samsung is idle. enabled since Tue 21 Oct 2008 15:00:51 BST
system default destination: Samsung

7.) Set users in lpadmin

# lpadmin -p -u allow:all

8.) Check print status

# lpstat -s
system default destination: Samsung
device for Samsung: socket://

I haven't detailed Cups setup. I can do that sometime later.

Thats about it.