LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-02-2005, 05:21 PM   #1
dovad
LQ Newbie
 
Registered: Dec 2005
Location: Owings Mills, MD
Distribution: Fedora Core 5
Posts: 6

Rep: Reputation: 0
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
 
Old 08-19-2006, 03:32 AM   #2
aussieneptune
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
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

Last edited by aussieneptune; 08-19-2006 at 03:34 AM. Reason: Stupid default smilies. What a stupid default configuration!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
D-Link DP-300U print server setup fails in Linux msgclb Linux - Networking 4 11-22-2010 01:46 AM
Xandros: Print Server: Print is not clear alacritous Linux - Software 5 12-30-2004 06:33 PM
Can't print to print server (RH8 + LPRng) ivanscheers Linux - Networking 1 10-08-2004 06:37 AM
using print server from D-Link 704p duckjob Linux - Hardware 11 11-09-2003 09:59 PM
Problem Printing to D-Link Print Server Marth Slackware 4 06-14-2003 04:35 PM


All times are GMT -5. The time now is 02:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration