HP LaserJet 1018 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Wrong firmware downloaded by getweb [solved]
Posted by: marcelo ()
Date: September 11, 2012 08:51PM

getweb by now is downloading a non-working firmware for 1018.
it is downloading this one:
http://foo2zjs.rkkda.com/firmware/sihp1018.tar.gz
sihp1018.img, 129092 bytes, md5 bbe1b12501f502b2950cf89624d2c838
# file sihp1018.img
sihp1018.img: data
but this one is simply ignored.

While downloading from
http://embar.wen.ru/html/bylos/linux/hp/sihp1018-dl.zip
as seen in a comment here https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/329898
works:
sihp1018.dl, 129143 bytes, md5 052c34845bb5a5b65a8e5bf12397e6ff
# file sihp1018.dl
sihp1018.dl: PJL encapsulated PostScript document text

Sounds like the first one is missing the PJL encapsulation (checked via vimdiff).



Edited 1 time(s). Last edit at 09/11/2012 09:38PM by rickrich.

Options: ReplyQuote
Re: Wrong firmware downloaded by getweb
Posted by: rickrich ()
Date: September 11, 2012 09:37PM

From the "make install" output:
# foo2zjs Firmware files (if any)
install -oroot -glp -m 775 -d /usr/share/foo2zjs/firmware/
for i in sihp1*.img; do \
    if [ -f $i ]; then \
        base=`basename $i .img`; \
        ./arm2hpdl $i >$base.dl; \
        install -c -m 644 $base.dl /usr/share/foo2zjs/firmware/; \
    fi; \
done

arm2hpdl puts the PJL header on the ".dl" file. Not a problem.

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.