Now, when printer was configured and work for you, you may want the hotplug system loads firmware to your device instead of typing command cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/usb/lp0 every cycle turn of/on.
To configure hotplug, you can use the instruction on foo2zjs homepage. See Part I for that link. But then you must download source of foo2zjs, make it and then make install-hotplug. Be sure to read /etc/hotplug/usb/hplj1000 (a bash script) and in this file clearly show the place of your device (/dev/usb/lp0).
Instead, you can take that file from my system. Put it in /etc/hotplug/usb/. Give it executable properties and make link(s):
# mv hplj1000 /etc/hotplug/usb/
# chmod a+x /etc/hotplug/usb/hplj1000
# cd /etc/hotplug/usb
# ln -s hplj1000 hplj1018
Maybe, you need to restart cupsys service. And then turn on printer. It should work now.
No comments:
Post a Comment