Wonderful win-printers in general are capricious pieces of iron when trying to use them under * NIX and over the network, and then it became necessary to connect the HP LaserJet 1000 to the designer of D-Link DIR-320 for printing without wires. The print server from the box does not seem to support this feature, I did not check the kit from the iota homemade product. My recipe under the cut.
General concept
The printer requires a firmware download, it can be done on the router when the printer is connected to USB. The print server needs to be chosen such that it exposes the RAW interface through which fully prepared tasks will come from the clients. To support the firmware download and launch of the print server, firmware of the router with USB support is required, as well as the inclusion of USB support, additional memory and printing in its settings.
There is a variation on this topic - download the firmware from the client computer. But it does not seem to work, because To remotely download the firmware, you must first share the printer, and for this you need to download the firmware ;-)
Concrete
Installing router firmware. In this case, dd-wrt.v24-13577_NEWD_mini_usb.bin from eko . Instructions can be found here.
Setting up the router. Do not forget to set a password and configure the mac-address, Internet access and routing. After that we enable on the Administration tab in the USB section support JFFS2, Core USB Support, USB 1.1 Support, USB 2.0 Support, USP Printer Support. Then we enable the SSHd service in the services section and the option to access the router via SSH.
Printer and print server. We connect the printer to the router, reboot the router, go to it with ssh root (192.168.1.1). Preparing the firmware: mkdir -p /jffs/usr/share/foo2zjs/firmware cd /jffs/usr/share/foo2zjs/firmware wget oleg.wl500g.info/hplj/sihp1000.dl Install print server for JetDirect printing: ipkg update ipkg install p910nd In theory, the correct firmware of the router should already have the modules kmod-usb-core, kmod-usb-uhci, kmod-usb-ohci, kmod-usb2, kmod-usb-printer, which we included in the settings for downloading. Modify (with vi or cat) the connection script: The /jffs/etc/config/usb.startup file should contain the firmware download and server start cat /jffs/usr/share/foo2zjs/firmware/sihp1000.dl > /dev/usb/lp0<br> /jffs/usr/sbin/p910nd -b -f /dev/usb/lp0 0
It must also be executable - we do rights with + x and run. In principle, simply performing these commands manually is sufficient if you do not plan to turn off either the router or the printer. You can check the status of the printer connection dmesg | grep USBdmesg | grep USB , server on port 9100 netstat -na . Everything can be done without ssh by executing commands via the web admin area, but this is inconvenient, especially for editing files.
Customize customers. On Linux, we simply install foo2zjs and gplgs from packages. Mac OS we put dmg foo2zjs foomatic + ghostscript ')
When creating a printer, select the HP LaserJet 1000 network printer with the foo2zjs driver using the JetDirect protocol at 192.168.1.1 on port 9100.
Conclusion, open questions
Probably, will work and from the screw client. For Mac, apparently, operation and installation is easier than local connection. The downside is that in fact the foo2zjs driver is worse than the hplip driver (experience on a local machine using Ubuntu 9.x). Perhaps you can install hplips + cups, but far from being a fact.