LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   D-Link DP-300U print server setup fails in Linux (https://www.linuxquestions.org/questions/linux-networking-3/d-link-dp-300u-print-server-setup-fails-in-linux-152288/)

msgclb 03-01-2004 02:15 PM

D-Link DP-300U print server setup fails in Linux
 
I have a D-Link DP-300U print server connected to a D-Link DI-604 router that is connected to computers with Windows XP Professional and Linux RedHat 9 operating systems. The print server was successfully setup with the Windows computer but I haven't found a solution for the Linux computer. I found one message where he was able to install a printer as a LPD queue under Red Hat Linux. He says that to install as a direct TCP/IP printer, you have to know that the printer ports are 9100, 9101 and 9102.

A Epson Stylus C42UX was setup using the following information:

Queue type: Network UNIX (LPD)
Server: 192.168.0.10
Queue: /9102

When a test page was sent I got the following dialog box:

Sent CUPS test page
to 'Epson' queue. Please check the result.

There was NO page printed.

I used nmap to check the status of the print server ports.

The Windows check:

CMD: nmap -sS -PT -PI -p 9100-9102 -O -T 3 192.168.0.10
...
(192.168.0.10) : (The 2 ports scanned but not shown below are in
state: closed)
Port State Service
9102/tcp open unknown

The Linux check:

# nmap -sS -PT -PI -p 9100-9102 -O -T 3 192.168.0.10
...
ports on 192.168.0.10:
PORT STATE SERVICE
9100/tcp closed jetdirect
9101/tcp closed unknown
9102/tcp closed unknown

The printer is connected to the USB port 9102 but on Linux it is closed while on Windows it is open. How do I open port 9102 on Linux? Do you see any problems with the above setup? Do you know of any other solutions?

Thanks in advance,
Corwin

BruceCadieux 03-01-2004 09:17 PM

Is the 300u compatible with linux?

I dont remeber which one I had first bought but I got it home and it refused to work, it was windows only compatible.

I now have the 301U it is linux compatible and explicitly says so on the packaging, it works perfectly.

It's at IP 192.168.0.10

The queue is PS-4AD452-U1

msgclb 03-01-2004 11:57 PM

Quote:

Is the 300u compatible with linux?
Linux is listed on the box but they don't have any documentation! The 300U is a multi-port print server with two parallel and one USB while the 301U is just one USB.

Quote:

It's at IP 192.168.0.10
The queue is PS-4AD452-U1
Exactly what did you enter in the CUPS setup. After you entered your Name and Discription of the printer, which device did you choose? (JetDirect, http, ipp or LPD/LPR). When you open up http://localhost:631/printers what does the device line look like?

Device URL: //192.168.10/PS-4AD452-U1
or
Device URL: //192.168.10/9100

or something else.

I'll probably will take my 300U back and get the 301U.

bauer172uw 07-25-2004 08:49 PM

I just bought the DP-301U from CompUSA for $50. It works great so far with my linux and windows systems. FYI, I used the KDE control center to setup the printer as a network LPD. You just have to get the queue name as described above. you can get your queue name from entering the IP of your print server in a browser and looking in the configuration tab. Its the same as the "USB Port Name" when setting up Windows. I hope this helps.

bauer172uw

Also I am using a HP648C Printer.

gnulab 11-22-2010 01:46 AM

I know this is already an old thread, but I believe the information might prove useful to those who own DLINK DP-301U.

Below are the steps I took in order to print successfully.

Printer Make: HP
Printer Model: p2015d
OS: Ubuntu 10.10
Wireless Printer Server: DP-301U

1. I connect to the printer directly using usb cable. I did this in order for the printer driver to be automatically installed.

2. After the driver has been installed, go to SYSTEM -> Administration -> Printing, Properties of the installed driver.

3. Device URI, Change

4. Find Network Printer, enter the IP of your Dlink.

5. I choose the 1st option LPD/lp.

That should work now.

Though if you nmap the wireless printer server,

Code:

Starting Nmap 5.21 at 2010-11-22 14:33 WIT
Nmap scan report for 192.168.3.104
Host is up (0.029s latency).
Not shown: 994 closed ports
PORT    STATE SERVICE
21/tcp  open  ftp
23/tcp  open  telnet
80/tcp  open  http
139/tcp  open  netbios-ssn
515/tcp  open  printer
9100/tcp open  jetdirect

The jetdirect option is available, but somehow under Ubuntu it doesn't seems to work. Though my last installation of Kubuntu 10.10, it works perfectly.

Hope that helps


All times are GMT -5. The time now is 05:40 PM.