post-mount gets executed when usbstorage device is detected and the partitions are get mounted. It never gets executed for printers...
Printable View
post-mount gets executed when usbstorage device is detected and the partitions are get mounted. It never gets executed for printers...
did anyone get LJ 1000 to work? I am trying on asus WL500gP with no success.
I load FW on printer and I stil cant print (LPR and RAW):
this is added to log when I connect printer to router:Code:cd /tmp
wget http://oleg.wl500g.info/hplj/usb_printerid
wget http://oleg.wl500g.info/hplj/sihp1000.dl
chmod +x usb_printerid
./usb_printerid /dev/usb/lp0 | grep -q FWVER || cat sihp1000.dl > /dev/usb/lp0
Code:Jun 17 22:37:13 kernel: hub.c: new USB device 01:03.0-1, assigned address 3
Jun 17 22:37:13 kernel: printer.c: usblp1: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x0517
Jun 17 22:37:13 kernel: printer.c: usblp1 Device ID string [99]='MFG:Hewlett-Packard;MDL:hp LaserJet 1000;CMD:ZJS;CLS:PRINTER;DES:hp LaserJet 1000;FWVER:20011207;'
i'm a little confused -- the official documents say that the LaserJet 1010 only supports host-based printing (and that only the LJ 1015 speaks PCL 5).
now, does the lj 1010 work with the wl-500g or doesn't it? (i plan on getting one, so i would appreciate any informed comments..)
Hi,
I have HP LaserJet 1018 so I am in trouble (lesson not to buy cheap things). By reading this thread I found that it is possible to make printer work with 500gP, but now I haven't any USB stick or hard disk.. Maybe there is a way to "include" laserjet 1018 support directly to 500gP firmware ?
Had problems with this printer in Ubuntu but they are already solved, now it would be nice to have it working without host computer.
i just got a new WL500g.Premium, and it seems the LaserJet 1100 is working, with a Parallel to USB adapter. With the Wl500g, it didn't work both directly attached to the Parallel port, as well as to the USB port with the adapter.
Anyone got any reports on the WL500g Deluxe?
Can anybody make ipkg package for foo2zjs? I'm not sure, but I think it could be helpful. Or guide me simply how to install it on WL-500gP. This driver simply solved my problem in SUSE and I wanted to try on my router, but I'm not so good in linux so i didn't manage to compile it.
Hi everyone,
I'm running dd-wrt firmware on my wl500g but I'm considering using Oleg's firmaware since the dd-wrt seems not to support my HP LJ1022. As far as I can see there seems to be a workaround to make the printer usable using Oleg's firmware. My question is the following (I'm not very proficient in programming or anything like that):
- Does the latest Oleg's firmware support the 1022 out ot the box, ie, just install the firmware plug the printer and were good to go? By reading this thread it seems that I should use a USB stick to load the firmware (how to do it is something a can't understand), and I can't understand how this is done.
- for those that have tried DD-WRT, do you think Oleg's firmware is better?
All the best,
nickie
Is there any "Plug and Play" way to solve the problem with WL500g and LJ1020?
I'm defoult windows user and all those solutions writen here are to complicated for me to implement them... Is there a way for a solution to be implemented in some firmware any time soon?
Setup: Pc with Win XP, WL500gP, HP LJ 1020 plugged in Asus.
Router flashed with latest Oleg's firmware. 1020 installed in Win as local printer (following Oleg's tutorial) using HP non-PnP driver (I think it's second on the DL list). Printed test page - everything working. No hotplug scripts, Dl firmware, nothing.
Tomorrow will try LJ 1000 on work, refused to work untill now.
A.
Time to corect myself: If I powercycle printer, it stops working... It seems I flipped power switch too fast & didn' reset printer. So - hotplug it is.
Fortunately, I can read Russian, because in Russian thread hotplugging is explained in detail. Mounted USB HDD ext3 partition on /opt, placed hotplug.sh, sihp1020.dl and usb_printerid on disc, modified post-mount & post-boot scripts, and MAGIC - printer is working! :)
... Untill first time I rebooted router without attached HDD...
Plugged in HDD - and no printing... My partition with hotplug, firmware & the rest is not mounted.... :confused:
... Few hours later, after playing with post-mount, hotplug.sh etc. and a lot of reading later - solution: FSTAB ! Everything is working :D
... Few hours of reading later - flashfs on WL500g Premium is big enough to store firmware. Ouch!
Epilogue: Everything is working now :) & I had a lot of fun getting to it long way round :)
Thanks, Oleg & everybody else.
A.
Just tried, and it's working fine :) Firmware needs to be downloaded to printer via hotplug.sh, and bidirectional support shoud be unchecked in windows printer properties.
LJ 1000 is connected by some kind of usb-to-serial cable, probably this is confusing router and windows driver. If you leave bidirectional printing checked, result is blocked printer port on win and stuck printer on router. Only restarting helps.
A.
According to http://etherboot.sourceforge.net/p910nd/p910nd.txt you might attempt to enable bidirectional support by adding -b parameter to the p910nd instance running.
Kill existing p910nd and start it again with -b parameter.
PHP Code:
kill `pidof p910nd`
p9100d -b -f /dev/usb/lp0 0
p910nd -b -f /dev/usb/lp0 0
did the trick. 1020 returns notthing, it seems driver is not using this (working) capability. 1000 blocks widows port & printer regardless of -b option if bidirectional printing is checked in port settings. Finally I left it unchecked, for me it works fine that way.
If printer runs out of paper, simply unplug/plug it from router. 1020 resumes printing, 1000 is resetted.
A.