How to Setup a print server in Ubuntu 9.04

I have an old printer FUJI XEROX DocPrint 340A which supports TCP/IP connection.

1. Find out printer's MAC address (use printer's menu to print system)
2. Use your router to assign a fixed IP for your printer.
3. Install Ubuntu 9.04 Server (choose printer server)
4. Configure CUPS for printing server

Modify /etc/cups/cupsd.conf

4.1 Add "Allow all" to the "Location" block (line 32)


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

4.2 Add "BrowseAllow all" before "BrowseAddress @LOCAL"

4.3 Change "Listen localhost:631" to "Listen 631"

4.4 restart CUPS
sudo /etc/init.d/cups restart

5. Add your printer:
http://localhost:631 (for me, http://192.168.100.2:631)

6. Connect your printer to the client PC
System --> Administration --> Printing

7. Others
My Printer (FUJI XEROX DocuPrint 340A-AP) Driver Info:
-------------
Description: FUJI XEROX DocuPrint 340A-AP
Location: Local Printer
Printer Driver: Fujitsu PrintPartner 10V - CUPS+Gutenprint v5.2.3
Printer State: idle, accepting jobs, published.
Device URI: socket://192.168.100.10
-------------------
Note:
Fujitsu PrintPartner 10V - CUPS+Gutenprint v5.2.3
This driver works great with FUJI XEROX DocPrint 340A printer (other drivers does not work).