Hello,
Got a P1007 working consistently and a 1020 only once with this entry in
lts.conf:
[default]
....
RCFILE_01=/etc/init.d/init_hp_P1007.sh
The 1020 has been complaining of some error ever after - some USB bad
descriptor error. May need a separate thread to discuss.
For 1020 i replace the above with
RCFILE_01=/etc/init.d/init_hp_P1020.sh
through which I am uploading a different firmware file.
init_hp_1007.sh is a very amateur script which shall need some building
up and may upload custom firmware based on the printer detected via
lsusb. (Not that good at shell scripting ;-( )
$ more init_hp_P1007.sh
#! /bin/sh
#
if [ -c "/dev/usb/lp0" ]; then
cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/usblp0
fi
I think this opens the requirement for a new lts.conf parameter
PRINTER_n_FIRMWARE= <firmware file name>
with the firmware present in some directory relative to the chroot as
increasingly more and more printers at least from HP and using the
foo2zjs drivers need this.
Any thoughts?
Regards,
SB
PS: Am floating this idea on the KIWI-LTSP users list as well.
Shrenik Bhura wrote:
> Hello All,
>
> A step closer to the solution. I discovered the following:
>
> After installing the drivers as per instructions at:
> 1 http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_1020_Plus and
> 2 http://foo2zjs.rkkda.com/
>
> Note that the default print drivers packaged with the distribution may
> not work as stated at 2 above.
>
> Thereafter, transfer the firmware file sihp1020.dl from a
> desktop/workstation system on which the printer has been installed as
> per instructions given at 2 onto the thin-client using scp.
> For. e.g. :
> On the thin-client to which the printer is connected and turned on
> switch to one of the shells at Alt+F1 ... Fn -
> # scp [email protected]:/usr/share/foo2zjs/firmware/sihp1020.dl /tmp/
> # cat /tmp/sihp1020.dl > /dev/usblp0
>
> Now print as you like via network/cups, etc
>
> Hence the problem is that to print to printers like HP Laserjet 1020, HP
> Laserjet 1020 Plus, HP Laserjet P1007, HP Laserjet P1050 and the like,
> we need to first load the firmware whenever the printer is turned on.
> This happens automatically on hot-plug enabled workstations and now we
> need to figure out how to do it on the thin-clients.
>
> I think RCFILE_0n where 1<=n<10 or LDM rc scripts (may not be preferred
> as it is not exactly related to LDM)be used for doing the same?
>
> Any head-ups, hints, solutions ;-) shall be highly appreciated while I
> continue my work on it.
>
> Regards,
> SB
>
--
Shrenik Bhura
IntelliAnt: Consulting and Development of Free / Open Source Software
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net