DD-WRT allows for clientless printer sharing making it easy to install printers directly into the router without the need for a seperate computer. You must have installed USB support (usb_storage, sd_mod etc. can be left out if no need for external storage).
Prerequisites:
You know what SSH is and how to use it
You know what a terminal is and how to use it
Your router has an internet connection, and if you are using it as an access point (like me) you will need to figure out how to get those files into the jffs folder on your own.
Web Interface steps 1-3 and 5:
Step 1: Enable JFFS
On the Administration>>>Management tab scroll down and click enable under jffs2 and disable on clean jffs. Apply Settings
Step 2: Enable SSH
Click the Services tab and click enable under secure shell. Apply Settings
Step 3: Enable USB Support
Click the Services tab and click usb enable everything except usb storage. Apply Settings
Step 4: SSH into the router and enter the following.
Code:
cd /jffs
wget http://downloads.openwrt.org/snapshots/trunk/atheros/packages/p910nd_0.93-2_atheros.ipk
ipkg install p910nd_0.93-1_atheros.ipk
rm p910nd_0.93-1_atheros.ipk
Step 5: Launch p910nd on startup
In the web interface, click tab administration tab then click commands. Enter the following code and click “save startup”.
Code:
/jffs/usr/sbin/p910nd -b -f /dev/usb/lp0 0
/bin/mkdir -m 755 -p /dev/usb
/bin/mknod -m 660 /dev/usb/lp0 c 180 0
Step 6: Connecting to the Print server on windows computers.
Add a new printer, choose Local Printer. Choose Create a new Standard TCP/IP Port. Set the IP address to the IP of the router. (192.168.1.1 by default) Protocol should be RAW, Port number 9100. Install the correct drivers for the printer.
Let me know how it goes guys. And thanks to everyone that I took tidbits from.
USB Storage coexistence will be next on my list coupled with Optware. Then I will be moving on to transmission and samba. If I get any of it working, you can bet I will post a How-To here.
Source: http://www.dd-wrt.com/wiki/index.php/Printer_Sharing#Print_server
http://wl520gu.googlepages.com/
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=388044&sid=46ad4111c1ab1559c78c7f3ed32ac3e1