Request CUPS compiled HP LaserJet 1020 driver/firmware

Problems and successes with specific brands/models of printers
Message
Author
Antonio GR
Posts: 7
Joined: Wed 15 Oct 2008, 17:02

#41 Post by Antonio GR »

Hi I compiled it for you.
Most files will be located in
/usr/bin
/bin/
/usr/share
Hope this helps
Oh ya you don't have a compiler installed by default, you need to download and install a compile matching what version of puppy your using
I'm using 4.0 at the moment so the compiler I have installed is devx_400.sfs
ttuuxxx
Dear ttuuxxx:

ok. Thanks for the explanation.

As I was thinking a pep don't need a 'compiler' to be executed / instaled, etc.

So, why you put that I must install a compiller? (sorry my English, I was thinking that I need install a compiller to run your .pep).

If you may tell me why, THEN, need a compiller?
To 'transform a standard linux program' readable/compatible to puppy?

May you tell me when I may find a link to learn to 'compile' programs (may be it's not so ussual, but a link may clarify all my questions).

Sorry for this cascade of 'newie questions' and sorry because that are 'out of this thread'... (only to try to clarify to another newie as me, I hope...)

Again thanks for your help.

Antonio GR
Posts: 7
Joined: Wed 15 Oct 2008, 17:02

link found!

#42 Post by Antonio GR »

May you tell me when I may find a link to learn to 'compile' programs (may be it's not so ussual, but a link may clarify all my questions)?
found a link!

how to compile source and install new program


Antonio

Antonio GR
Posts: 7
Joined: Wed 15 Oct 2008, 17:02

laserjet 1018 not print in gimp or mtPaint

#43 Post by Antonio GR »

Hi I compiled it for you.
Most files will be located in
/usr/bin
/bin/
/usr/share
Hope this helps
Dear ttuuxxx:

I just downloaded your pet into my root account and then 'executed' it (double click).

I find files related with '1018' into these directories:
1.- usr/lib/cups/backend/foo2zjs/PPD (where I found the driver, the file HP-LaserJet_1018.ppd)

2.- usr/lib/cups/backend/foo2zjs/foomatic-db/printer/ (a file called HP-LaserJet_1018.xml)

According the treat:
How to Access a Windows Shared Printer from Puppy 4

the driver must be into the directory /usr/share/cups/model

in this directory there are only a 'symbolic link' to /usr/share/ppd

as this link seems to not be well 'redirected' I only copied the file HP-LaserJet_1018.ppd to the dir-> /usr/share/cups/model

So, after restart cups I'm able to:

- Print a text page
- Print a page edited by Abiword

BUT I CAN'T PRINT a image file (.jpg) in gimp or mtPaint.

The status of the printer (if I go to CUPS) is:
Printer State: idle, accepting jobs.
"Can not get the ticket cache for root"

What is wrong?

May be I must change the 'symbolic link' that your pet is created in the directory /usr/share/cups/model? how? with directory?

Sorry for disturb again.

Antonio

User avatar
canbyte
Posts: 264
Joined: Sat 10 Jan 2009, 20:20
Location: Hamilton, Canada

#44 Post by canbyte »

Hi ttuuxx, futureperfect, antonio, hushpuppy et al

Any possibility of revitalizing this thread to adapt it to this driver from the same author

http://foo2hiperc.rkkda.com/


Its a bit confusing because he says
DON'T USE the foo2zjs package from:
Ubuntu, SUSE, etc
*** Download it here and follow the directions below.
then he goes on to instruct to download
$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz

Looks like the same thing to me but its supposed to be for my oki 3400n??? foo2hiperc???

Anyway, someone said they would post an instruction page summarizing how to do all this and i'm hoping you can point me to it or otherwise help me get started. Its a bit daunting given the need to compile but i should be able to follow instructions if there are any.

Am rather desperate to get the oki running as i can't afford to replace it. After this, i should be able to help out posting stuff for the wiki or manual. Thanks
[/quote]

mauritroviano
Posts: 1
Joined: Sat 04 Apr 2009, 19:05

hotplug hp1020

#45 Post by mauritroviano »

Hi, I could hotplug the hp1020 in the following way:
- download and install http://www.doubleburgerbar.com/pets/foo2zjs-i486.pet
- download and unzip http://foo2zjs.rkkda.com/foo2zjs.tar.gz

- create new directory /etc/hotplug/usb

-go to foo2zjs folder unziped and copy the file hplj1000 to /etc/hotplug/usb folder

-go to foo2zjs folder unziped and copy the file hplj10xx.rules to /etc/udev/rules.d/11-hplj10xx.rules file

-ln the terminal: ln -sf /etc/hotplug/usb/hplj1000 /etc/hotplug/usb/hplj1020

Now, try to turn off and turn on the printer. The leds would poweron and poweroff (yellow and green).

I dont know, but the packager could include this in the pet package.

Note: I follow the makefile foo2zjs for realize this hotplug.

User avatar
growler
Posts: 209
Joined: Mon 24 Mar 2008, 04:42
Location: Kapiti - New Zealand

HP 1020 Installed with foo2zjs driver but no print

#46 Post by growler »

If you have the symptom that having installed the HP 1020 using the foo2zjs driver the print job disappears and no printing takes place - then the issue is that the firmware file has not been sent to the printer.

You must use hotplug and udev rules to sense when the printer is connected to usb - and when it is turned on - to send the firmware patch to the printer.

Thankyou mauritroviano - your post enabled me to get the hotplug udev scripts going - just need to follow the instructions very carefully - I think the ln -s files are the wrong way around though - but other than that worked perfectly.

cameronclark
Posts: 1
Joined: Wed 28 Oct 2009, 12:59

#47 Post by cameronclark »

I am have a problem regarding HP 1020. It won't work...
regards,
cameron
http://simulationpretimmobilier.net/sim ... ation-pret

Limmor
Posts: 7
Joined: Sat 01 May 2010, 20:49

Manually loading firmware?

#48 Post by Limmor »

Ok, I may be wrong about causality, as I new to any linux, but the solution works.

I had a similar problem in Puppeee (Puppy for EEE pc) - it did not automatically send firmware to HP Laserjet 1000. The drivers for the printer had been installed using foo2zjs-i486.pet, still, no printing could be done.

Manually loading HP Laserjet 1000 firmware:

1. Turn on Printer, PC, plug in USB cable.
2. Type in console:
cat /usr/share/foo2zjs/firmware/sihp1000.dl > /dev/usb/lp0
(If successful, the printer will make some sound).
3. Print.

I made a shell script from 2 step, so there is little trouble printing.

If you start printing before loading firmware, then you will not be able to load firmware. Unplug USB, cancel all jobs in CUPS, plug in USB and repeat from step 1.

How could I make the process automatic, on boot?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#49 Post by rcrsn51 »

Does Puppeee have a /root/Startup folder? If so, put your script there.

Limmor
Posts: 7
Joined: Sat 01 May 2010, 20:49

Solved

#50 Post by Limmor »

Ah, so simple :) now I do not even have to turn a finger.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#51 Post by pemasu »

HP Laserjet 1020 has worked for me with most puppies with this:
http://www.datafilehost.com/download-bf13c069.html

it is foo2xxx package which creates hotplugin folder and feeds firmware to printer without need to use any scripts.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#52 Post by edoc »

pemasu wrote:HP Laserjet 1020 has worked for me with most puppies with this:
http://www.datafilehost.com/download-bf13c069.html

it is foo2xxx package which creates hotplugin folder and feeds firmware to printer without need to use any scripts.
Will this work with a HP LaserJet P1006?

What about a HP Photosmart C4480?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#53 Post by rcrsn51 »

For your HP P1006, try Patriot's foo2xxx_r220909-0.0 (zjs/xqx/slx/oak/hp/xxx) package from here. Get Item #13.

Your Photosmart C4480 is included in the hpijs-3.10.2-dynppd.pet from here.

sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

#54 Post by sfeeley »

HP Laserjet 1020 has worked for me with most puppies with this:
http://www.datafilehost.com/download-bf13c069.html
the above just worked for me on the following specs:
Sony viao laptop
puppy lucid 5.20 frugal
hp laserjet 1020

thanks for making it simple! :D

Post Reply