Introduction

The D-Link 713P is a very nice residential gateway/broadband router/print server/wireless access point. I use mine as a firewall and gateway for my computers (an Apple iBook and a home made tower PC), my parents computer, and the mail/print/IMAP/ssh server.

The documentation suggests that its print server only works with Windows machines, but truth be known, it will work with any operating system that can use the LPR protocol. Examples are Linux, the various BSDs, Windows, Mac OS 9, and Mac OS X.

Most users of Linux should be able to figure out how to set up Linux to use an LPR printer, but the Mac community isn't so fortunate. As such they are who I'll focus on with this page.

The D-Link 713P configuration

The 713P's print server is really just an LPD running on port 515. Here is an nmap scan on my 713P:

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on  (192.168.0.1):
(The 1599 ports scanned but not shown below are in state: closed)
Port       State       Service
80/tcp     open        http
515/tcp    open        printer
Nmap run completed -- 1 IP address (1 host up) scanned in 34 seconds

The LPD's print queue is named lp, of all the illogical things they could have named it, they just kept it simple. Anyhoo, this is all unimportant if you just want to get it working, and don't care how.

Setting it up in Mac OS X

  1. Know the IP address of your 713P. This is the address you type into your web browser to administer your gateway. By default this is 192.168.0.1.
  2. Plug your printer into the 713P's parallel port.
  3. Reset your 713P. This is most easily done by pusing a pencil into the reset switch on the back of your 713P. It can also be done from the "Tools" menu, and clicking on the Reset button.
  4. Acquire Mac OS X drivers for your printer. LinuxPrinting is a good place to look. If you have an HP printer, use the HPIJS drivers rather than the ones that come from HP. The HPIJS drivers are better.
  5. Start the Print Centre program in Mac OS X. It is located in /Applications/Utilities/Print Center.app
  6. Option-click on the "Add Printer" button.
  7. From the combo box, select Advanced.
  8. In the "Device" field, select "LPD/LPR Host or Printer"
  9. For "Device Name", give the name of your printer, or any name you chose. If your name is Bob, for instance you could call it "Bob's Printer". Mine is named "HP Deskjet 882C"
  10. For "Device URI" use "lpd://(put the hostname from 1 here)/lp"
  11. In the Printer Model field, select your printer.
  12. You should now be done, try printing.

Issues

Apparently, the HP printer drivers don't support anything other than USB for printing in Mac OS X, so you must use the HPIJS or Gimp-print drivers. Thanks macosxhints.com user cewatts for that one.

This basic process should also work for Linux and BSD machines, the only difference is that you have no option to get vendor supplied printer drivers. Linux Printing.org should be able to help. Use CUPS, and cupsomatic print filter to get started. You'll also have to use the web interface to CUPS configuration, http://localhost:631/ is the address.

Links of interest/References

Linux Printing.org, a site dedicated to getting UNIX printing working.

Ghostscript, a print filter with printer drivers for many different makes and models of printers.

CUPS homepage, the print system used by Mac OS X, and various flavours of Linux.


My Homepage

Dan McGregor Last modified: Sat Apr 12 19:29:41 CST 2003