Gentoo Wiki


This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc



This is a HOWTO on getting the D-Link DP-100 printserver to play along with Cups. You might want to note that its pretty much the same for every printserver using lpd - so you could try these same instructions if you have a slightly different model.

Emerge needed applications

emerge cups foomatic foomatic-db foomatic-filters

You actually only need cups, but drivers are always useful :)

Start cups

/etc/init.d/cups start

Find out your print server's IP

This is pretty important, since we kindof need to talk to the print server :)

Using nmap

Assuming you have nmap installed, its a simple matter of scanning your network, like so:

nmap -sP

Using arp on the linux DHCP server

Yet another way:

arp -a

For now, we're going to assume its

Configuring Cups

Creating a Printer

Fire up your favorite browser, and head to http://localhost:631 (Replace localhost with the IP where your cups server lives. Note that you have to edit cups.conf for the remote server to allow access to the admin interface).

Choose "Manage Printers", and then "Add Printer". It will ask you for a password - give it the root uname/pword.

In the address field, type in:


If you don't know what the portname is, read below.

Configuring Drivers

Choose printer manufactorer, and then model... Just like standard cups. Yada yada yada, go read the Gentoo printing guide ;)


There are a few gotchas for using the print server, which I have tried to list here.

All your portnames are belong to us

If the printserver has never been used before, then the portnames might not have been initialized. Thats a major showstopper - You will probably need a Windows installation somewhere to use D-Link's utility.

NOTE: you can telnet your print server (PORT 21) and change all port names as required. "angel" -- 18:17, 3 February 2008 (UTC)

We get portname

If they're already set up, but you just don't know what the portnames are, you might want to look around a preconfigured Windows installation (If there's one available), or simply use some application like smb4k or smbtree to list samba shares. The printserver is Dlink1, and you should be able to figure out the portnames with that information.

Other collected printserver info

(add your findings here!)
tbart(_at_) found out that for a US Robotics USR8000 you have to use:


Or, if the printer is on USB (in the case of other D-link products, such as the 824 VUP+):


You don't need a portnumber for a parallel printer on D-Link DI-714p+:


You don't need it either for an USB printer on D-Link DI-524UP:

Retrieved from ""

Last modified: Thu, 04 Sep 2008 02:55:00 +0000 Hits: 14,368