Recetly I bought TP link 1043ND
Later 4 port USB hub was added to hardware configuration. After that I used EXTroot to extend system memory.
Now i wanna connect my printer (hp1020) to this configuration.
And here is the problem, that I can`t print.
I folowed to this tutorial http://goo.gl/gcfUEc
Hotplug script is at the bottom.
But if i check LOG file there is only "Sending firmware to printer…" statment,but if I wait 1, 2, 5, 10 minutes even a hour there is no "done." statment in the log file.
Hotplug.d Script.
Please help.
"
#!/bin/sh
set -e
# change this to the location where you put the .dl file:
FIRMWARE="/usr/lib/sihp1020.dl"
DEVICE=/dev/usb/lp0
LOGFILE=/var/log/hp
if [ "$PRODUCT" = "3f0/2b17/100" -a "$ACTION" = "add" ]; then
for i in $(seq 30); do
if [ -c $DEVICE ]; then
echo "$(date) : Sending firmware to printer…" > $LOGFILE
cat $FIRMWARE > $DEVICE
echo "$(date) : done." » $LOGFILE
exit
fi
sleep 1
done
fi
"