Ubuntu - Sharing a Printer with LPD


Enabling LPDsupport is a little more complex, since Ubuntu does not normally include servers.

On the print server:

1. Install xinetd on the print server. This is the extended Internet daemon for running processes.

sudo apt-get install xinetd

2. Create a configuration file for the printer service. This requires creating a file called /etc/xinetd.d/printer. The contents should look like this:

service printer
socket_type = stream
protocol = tcp
wait = no
user = lp
group = sys
server = /usr/lib/cups/daemon/cups-lpd
server_args = -o document-format=application/octet/stream

3. Restart the xinetd server:

sudo /etc/init.d/xinetd restart

On the printer client:

1. Go to System -> Administration -> Printing, to open the printer applet.

2. Double-click New Printer to configure the device.

3. Select a Network Printer and the Unix Printer (lpd) protocol.

4. Enter the print server hostname (or IP address) in the Host field and the CUPS printer name under the Queue field.

5. Continue through the remaining screens to select the printer type and configure it.

Source of Information : Wiley Ubuntu Powerful Hacks And Customizations


Subscribe to Computing Tech

Enter your email address:

Delivered by FeedBurner

Add to Technorati Favorites Top Blogs