LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Print to D-Link Print Server (https://www.linuxquestions.org/questions/linux-hardware-18/print-to-d-link-print-server-388758/)

dovad 12-02-2005 05:21 PM

Print to D-Link Print Server
 
I am very new to Linux and have been struggling to get my computer to print to an HP Laserjet III connected via a D-Link print server model # DP-301P+. My network is using a D-Link router as well. When I configure the printer via the GUI in Fedora Core 4 I get the following error message:

There was a problem sending CUPS test page to �HPIII� queue:
lpr: error � unable to print file: server-error-service-unavailable

Note: my configuration under the "Printing" application is as follows:

Server: 192.168.1.65 Path: 192.168.1.65/PS-9C9D75-P1

Any help is appreciated. D-Link states that this model printer server is compatible with Linux. I have also followed the included instructions on creating an entry in the /etc/hosts file as well as creating a spool fine in the: /usr/spool/lp directory named "HPIII". I made the suggested entries in the /etc/printcap file as well but note that it looks as though the GUI utility automatically makes changes to this file.

Thanks...
Dave Ovad

aussieneptune 08-19-2006 03:32 AM

D-Link Print Server
 
Okay, it took me a few minutes to figure this out, so here goes.

There are a couple of things you need to do:

1) Make sure that you use a web browser and go to the URL supplied in your manual as the default web-page of the device. For my DP-301P+, that was 192.168.0.10

2) Using the "network" tab and the "configuration " tab, set the desired IP on your subnet.

The next bit is a little tricky. D-Link uses some strange terms to refer to some standard items.

3) Change the "server name" to the desired host-name for the printer. This is the name refered to in your /etc/hosts associated with the IP number you assigned in step 2

4) Change the "printer name" to a sensible name associated with your spool name. This will be refered to by the "rp" field in your /etc/printcap.

5) Hand edit your /etc/printcap to include the desired information as per the man page for "printcap". You will need the following information that you have just configured for your print-server device:

rm=<your assigned IP address>
rp=<your assigned short name for your queue as listed in the "printer name" tab in step 4>

Here is my example /etc/printcap to give you an idea. There will be a lot of extra stuff in there associated with my printer type and configuration. I also use a different print-server (lprng) than yours (CUPS) which will explain some of the differences. For my example, in step 2 I used 192.168.17.66, step 3 I set a name of "pixie". It is not listed here (it isn't actually relevant for the print-server configuration, but helps with your /etc/hosts configuration) and step 4 I set as "hp2550l" You can see how that information is used below

lp|hp2550l|HP 2550L:\
:sd=/var/spool/lpd/hp2550l:rm=192.168.17.66:rp=hp2550l:lpr_bounce:\
:sh:pw#80:pl#72:px#1440:mx#0:\
:if=/etc/magicfilter/ps600-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

HTH, HAND,
aussieneptune


All times are GMT -5. The time now is 11:41 PM.