DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-01-07 01:59:59

Dig
New member
Registered: 2007-12-31
Posts: 3

HOWTO: Getting GDI printers to work with DNS323

After hours (if not days) of frustration trying to get my HP1020 printer working with the DNS323 I've finally cracked it.  As I regularly borrow useful information from these forums and wiki I thought I'd post this to let you know how I did it and see if it helps anyone else.

I've only tested it on my HP LaserJet 1020 but I believe the process will work on other 'Windows only' GDI printers that need their firmware installed everytime they are powered on (e.g. HP LaserJets 100, 1005, 1018, and 1020 possibly others).

SET UP THE DNS323 TO SEND FIRMWARE TO THE PRINTER
--------------------------------------------------------------------

You need busybox3, the easiest way to get that and have access to your DNS323 is to install telnet access:

http://dns323.kood.org/howto:telnet

I have chroot debian but its not required to get this running as long as telnet / busybox3 are available. 

Once you have telnet working you need to get the right firmware for your printer, here are some HP ones that work with the examples listed above:

http://oleg.wl500g.info/hplj/

For ease of use I made a folder called firmware in the root directory of Volume_1 via windows and copied the firmware file in there.  You can put the file anywhere but make sure you change the path in the fun_plug accordingly.

We now need to set up the DNS323 so it sends the firmware to the printer automatically when it boots up.  Edit fun_plug and add the following lines:

Code:

#send firmware to the printer
/mnt/HD_a2/lnx_bin/busybox3 cat /mnt/HD_a2/firmware/sihp1020.dl > /dev/usblp0

I added these after the block that starts telnet, I don't think it would matter if it was sent before.

NOTE: for this to work automatically the printer MUST be turned on before the DNS323.

Connect the printer to the dns323 if you haven't already!
Turn off the printer and the DNS323.

Turn on the printer

Turn on the DNS323.

The printer should make a noise and spin (something?) shortly after the DNS323 light stops blinking.  This shows that the firmware has been sent and the printer will now work until its switched off.


INSTALLING THE PRINTER IN WINDOWS
----------------------------------------------

We will install the printer as a local printer using the ip address of the DNS323, this method seems to work and provides quicker accessing times than using the DNS323's name to access the printer.

In Control Panel -> Printers and Faxes choose Add a Printer.

Choose Local Printer

Choose New Port -> New Local Port.

Enter the following, change if you DNS323 has a different ip address:

\\192.168.0.100\lp

Choose the correct driver for your printer, if its not available you can choose Have Disk... and install it from disk at this stage.

Print a test page and everything should work as expected!!!

Hopefully someone will find this useful, good to get a cheap, but usable printer working over the network.

Cheers,
Nick

Offline

 

#2 2008-02-11 18:09:55

Kappar
Member
Registered: 2008-02-11
Posts: 7

Re: HOWTO: Getting GDI printers to work with DNS323

You have entered my "10 greatest heroes of all times"-list!

This has annoyed me beyond comprehension for more than 6 months! Thank you very much.

Br,
Kasper

Offline

 

#3 2008-02-14 19:26:38

Mister I
New member
From: The Netherlands
Registered: 2008-01-22
Posts: 1
Website

Re: HOWTO: Getting GDI printers to work with DNS323

And you're almost entering my "10 greatest heroes of all times"-list wink
I'm still fighting with this problem, because I've got an HP Color Laserjet 1600, and far as I know that one is also a GDI printer.

But my problem now is that I can't find the firmware for this printer. You got any idea what to do to get this printer working?

Thanks!

Offline

 

#4 2009-01-14 20:43:30

ceno
New member
Registered: 2009-01-14
Posts: 1

Re: HOWTO: Getting GDI printers to work with DNS323

Thank you so much!
Finally, and after months of problems...i got my hp 1020 running perfectly with the dns-323.

Thanks!!!

Offline

 

#5 2009-01-16 21:08:39

krajyk
Member
Registered: 2008-09-26
Posts: 7

Re: HOWTO: Getting GDI printers to work with DNS323

I was able to get my HP Laserjet 1020 properly configured on my DNS 323 when accessing through my PC but I had serious problems when I try to access it through my new Mac OS Leopard 10.5.6 system.  I initially came to this forum but there isn't a unique post of setting up a GDI printer with DNS 323 when accessing through a Mac.  After several painful days, I finally got it to work so I wanted to capture the details here.  As a side note, it's been a long process of getting my Mac to work well with the DNS (for example, took me  a week figure out why my afpd wasn't work properly (it was due to a crash and not properly deleted .AppleDB files).  But all in all, I think I'm finally there with the Mac / DNS setup with the HP 1020 printer being the last straw.

So here goes.  The instructions should apply for the following printers although I've only tested with 1020:
    *   Generic-OAKT_Printer
    * Generic ZjStream Printer
    * HP Color LaserJet 1500
    * HP Color LaserJet 1600
    * HP Color LaserJet 2600n
    * HP LaserJet 1000
    * HP LaserJet 1005
    * HP LaserJet 1018
    * HP LaserJet 1020
    * HP LaserJet 1022
    * HP LaserJet M1005 MFP
    * KonicaMinolta magicolor 2480 MF
    * KonicaMinolta magicolor 2490 MF
    * KonicaMinolta magicolor 2530 DL
    * Minolta Color PageWorks/Pro L
    * Minolta magicolor 2200 DL
    * Minolta magicolor 2300 DL
    * Minolta magicolor 2430 DL
    * Lexmark C-500
    * Samsung CLP-300
    * Samsung CLP-600
    * Samsung CLX-2160
    * Samsung CLX-3160
    * Xerox Phaser 6110
    * Xerox Phaser 6115MFP


Step 1:  The directions for sending firmware to these GDI printers still apply.  Follow the directions in this post to get that going.

Step 2:  Get the HP 1020 running while directly connected to the Mac.  It's a big enough hassle as it is to get this printing even in the connected state to the Mac.  To do this follow these instructions:

1) Disconnect the HP 1020 if it is currently connected to the MacBook.
2 Download; http://www.narc.ca/1601-LJ_1022_Series_OSX.dmg (Old version)
2) Delete anything for the HP 1020 in Printer in "Printer Setup Utility"
3) If you have anything for the HP 1020 (or the 1022 from a failed installation) in "/Library/Reciepts" delete it.
4) Remove the 1020Series folder from "/Library/Printers/hp/laserjet" directory if it exists.
5) Reset the print system from the Printer Setup Utility
6) Reboot (the HP 1020 is still disconnected from the MacBook)
7) Run the installer package downloaded in step 2
8) Shut down the MacBook completely
9) Power on the MacBook
10) Move the files from "/Library/Printers/hp/laserjet/1020Series" to "/Library/Printers/hp/laserjet"
11) Reset the print system from the Printer Setup Utility
12) Shut down the MacBook completely
13) While the MacBook is off, connect the HP 1020 and power the PRINTER on.
14) Power on the MacBook
15) Add new printer in "Printer Setup Utility", select HP LaserJet 1020, driver should come up, click ADD
16) Print a test page from the Printer queue

Step 3
Next, you need to add printer drivers from foo2zjs on your Mac.  These drivers are the ones that wasn't easily "googlable" and I just happened to run into them through multiple levels of searching.  There seems to be a problem with existing Gutenprint drivers causes network printing to not work.

1.  Download and install the runtime component:
http://www.openprinting.org/download/pr … -01-30.dmg
2.  Download and install ghostscript for Mac OS 10.5.X, 10.4.X, 10.3.X
http://www.openprinting.org/download/pr … .63-ub.dmg

Step 4
Add your wireless printer to the Mac.
1.  Open your printer settings under system prefs
2.  Right click the toolbar (next to the other icons like AppleTalk, Windows, etc.) and Customize toolbar.  Drag the Advanced icon to the toolbar.
3.  Change "Type" to Windows.  URL should be smb://yourIP address/yourprinter name.  For example mine is smb://192.168.1.100/lp .  The default printer name should be lp.  "Name" should is whatever name you want displayed for the print.  "Print Using"  search for you driver.  Make sure you choose the foozjs driver and not gutenprint or any other.
4.  Follow instructions in Step 2 from #12 to #15 with some modifications:
11) Power down the printer
12) Shut down the MacBook completely
13) While the MacBook is off, connect the HP 1020 and power the PRINTER on.
14) Send firmware to printer as described in this post
15) Power on the MacBook
16) Print a test page from the Printer queue.  You may be asked for the smb username and password so use the one that currently is configured.  BTW, this post assumes that you have access to the DNS via smb from your Mac.

That should be it.  I'm curious if this worked for others so comment if it has or not.

Offline

 

#6 2009-02-08 17:49:26

ditrovic
New member
Registered: 2009-02-08
Posts: 1

Re: HOWTO: Getting GDI printers to work with DNS323

Hi,

thanks for your great, helpful post.

Nevertheless, it wouldn't work in my case:
I have an HP LaserJet 1000C and everything went very well until the 'print a test page'-step.
The printer doesn't respond to this command.

Very weird...

too bad, because I've been searching for 5 years on how to get this printer to work on a print server.

If anyone has got some ideas... you're more than welcome!

Thanks!!

D.

Offline

 

#7 2009-02-08 21:40:38

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: HOWTO: Getting GDI printers to work with DNS323

According to HP LaserJet 1000 is not compatible with any HP JetDirect print server.
However, a person reported success (with issues) using a Netgear PS121.
See http://forums11.itrc.hp.com/service/for … 1+28353475


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#8 2009-02-22 17:36:47

gutsy
New member
Registered: 2009-02-22
Posts: 1

Re: HOWTO: Getting GDI printers to work with DNS323

Thanks Dig for great how-to ... I was going crazy with my HP LaserJet 1000 and was planning to give up. Then I decided to give it one more try and found your solution....

Dig wrote:

The printer should make a noise and spin...

that reminded me of the sound the printer makes when my Ubuntu boots - it's probably doing the same thing - loading up fw into the printer (up until now the printer was connected to a Ubuntu 7.10 box).

My setup is:
DNS-323 firmware v1.06
HP LaserJet 1000
Ubuntu 7.10 and Win2003 boxes - printing now works fine form both machines
Linksys WRT54GL wireless router

Offline

 

#9 2010-08-12 15:35:59

bubenkoff
New member
Registered: 2010-08-12
Posts: 2

Re: HOWTO: Getting GDI printers to work with DNS323

Hi, great howto, thanks!
question: is there any way to auto-run sending firmware script on connecting printer/switching it on
cause my p1505 is not always on, also looks like it has auto-switch on after timeout

Last edited by bubenkoff (2010-08-12 15:36:11)

Offline

 

#10 2011-06-16 20:20:27

RLaflamme
New member
Registered: 2011-06-16
Posts: 1

Re: HOWTO: Getting GDI printers to work with DNS323

@Dig Big Thank's buddy!

I just bought my DNS 323.

I have the same printer model, and got the same issue with my DNS 323.
I have read your recipe and configured the fun plug and now by printer works!!!

You saved me a lot of frustation and time.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB