Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto for HP LaserJet 1000
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
FuzzeX
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 96

PostPosted: Fri Sep 19, 2003 11:31 pm    Post subject: Howto for HP LaserJet 1000 Reply with quote

EDIT (01/23/04): Updated the foo2zjs info to reflect new url and added the link to the support thread.
EDIT (07/28/04): Updated the hotplug script link and added the full script.
mod edit wrote:

Due to lack of hardware, FuzzeX can't maintain this howto anymore. If you intend to use it, please notice the following updates:
- Step 4-6 are changed as foo2zjs is available through Portage. Please run emerge foo2zjs (you might have to unmask it) and use /usr/share/foo2zjs/firmware/sihp1000.dl in step 6. --Earthwings 2005-01-18

If you have one of these printers all is not lost. These are the steps I took to get this printer working with gentoo. The steps are basically the same as the Gentoo Printing Guide with a few extra steps.

For Support: I will try to answer your support questions, but you must post them in the Support Thread.

Howto:

Step 1: Add cups and usb to your use flags as directed by the Gentoo Printing Guide.

Step 2: Emerge cups and foomatic
Code:
emerge cups
emerge foomatic


Step 3: Configure your kernel as directed by the Gentoo Printing Guide for usb support.

Step4: Download the foo2zjs package and compile. The complete directions are at their website (http://foo2zjs.rkkda.com/) but here they are in short: (Note: The foo2zjs driver package now has a tool to download the firmware for the LaserJet 1000 printer. See the driver website for details.)
Code:
wget http://foo2zjs.rkkda.com/foo2zjs.tar.gz

tar zxf foo2zjs.tar.gz
cd foo2zjs
make
su
make install


Step 5: Download the driver for the printer from HP's ftp . Unzip the firmware from the exe. (If you used the tool in the foo2zjs package to get the firmware, follow the directions on their website and ignore this step.)
Code:
wget ftp://ftp.hp.com/pub/softlib/software1/lj1488/lj-1145-2/lj1488en.exe

unzip lj1488en.exe sihp1000.img


Step 6: Plug in the printer and power it up, convert the firmware to the correct format and download it to the printer.
Code:
arm2hpdl sihp1000.img > sihp1000.dl
cat sihp1000.dl > /dev/usb/lp0


Step 7: Start cupsd and setup the printer as covered in the Gentoo Printing Guide

Code:
/etc/init.d/cupsd start
foomatic-configure -s cups -p HP-LaserJet_1000 -c file:/dev/usb/lp0 -n laser -d foo2zjs


Step 8: Goto the cups admin page and try printing a test page.

You should now be able to print. However, you still have the issue that if you power off the printer you will need to re-cat the firmware to it. I happened to find a solution that uses usb hotplug to do this for you. (http://www.linuxprinting.org/pipermail/hp-list/2004q2/002369.html)
(oldlink: http://www.linuxprinting.org/pipermail/hp-list/2003q1/002376.html)

Here is the script since the link seems to be moving:
Code:
#! /bin/sh
#####################################################################
#                                                                   #
#   hp1000fw - HP LaserJet 1000 Firmware Uploader                   #
#                                                                   #
#   This program will upload the firmware of the HP LaserJet 1000   #
#   checking if the printer is connected and if the firmware        #
#   has been already uploaded.                                      #
#   (c) 2002 Oscar Santacreu. Alicante-Spain                        #
#   Copyright under GPL                                             #
#                                                                   #
#   This program uses the usb_id_test.c program by Till Kamppeter   #
#   (Thanks, Till). You can found it at                             #
#   http://www.linuxprinting.org/download/printing/usb_id_test.c    #
#   and you can compile it simply with:                             #
#   "gcc -o usb_id_test usb_id_test.c"                              #
#                                                                   #
#####################################################################
# Last modification date: Jan 10 2002 #
#######################################
#
# ======= User Settings ===============
# 1. Where is the firmware file?
firmware=/etc/printer/sihp1000.img
# 2. Where is the usb_id_test executable?
detector=/usr/local/bin/usb_id_test
# ======= End of user Settings ========
#
# logging for diagnostics
#
if [ -t -o ! -x /usr/bin/logger ]; then
    mesg () {
   echo "$@"
    }
else
    mesg () {
   /usr/bin/logger -t $0 "$@"
    }
fi
# End logging for diagnostics
# Check if the configuration is ok
if [ -e $detector ]; then
 if [ -e $firmware ]; then
  candidate_list=`find /dev/usb -name lp*`" "`find /dev -name usblp*`
  for candidate in $candidate_list; do
   printer_status=`$detector $candidate | grep 'hp LaserJet 1000'`
   if [ "$printer_status" != "" ]; then
    # I have found a hp LaserJet 1000 :-)
    mesg hp LaserJet 1000 detected at $candidate
    firmware_status=`$detector $candidate | grep 'FWVER'`
    if [ "$firmware_status" = "" ]; then
     # The firmware is not loaded. Now we can upload the firmware.
     result=`cat $firmware > $candidate`
     mesg Firmware uploaded to $candidate.
     mesg Now you can print normally with this printer.
    else
     mesg The firmware was already uploaded.
    fi
   fi
  done
 else
  mesg Error: I cannot find the firmware file
  mesg Please check the settings of $0
 fi
else
 mesg Error: I cannot find the usb_find_test program.
 mesg Please check the settings of $0
fi
############### End of program



Step 9: Put the firmware and the hp1000fw script in to the usb hotplug folder.
Code:
mv sihp1000.dl /etc/hotplug/usb
mv hp1000fw /etc/hotplug/usb


Step 10: Download usb_id_test.c, compile it and put it someplace nice. Check the hp1000fw script and make sure that the $firmware (sihp1000.dl) and $detector (usb_id_test) variables are pointing to the right places.
Code:
wget http://www.linuxprinting.org/download/printing/usb_id_test.c
gcc usb_id_test.c -o usb_id_test
mv usb_id_test /usr/local/bin


Step 11: Edit the /etc/hotplug/usb.usermap file to include the following line (it should be one line, but it's kind of long for the forum):
Code:
hp1000fw               0x0003      0x03f0   0x0517    0x0000       0x0000
     0x00         0x00            0x00            0x00            0x00   
          0x00               0x00000000


You should now be able to power cycle the printer and the firmware will automatically be downloaded (you can tell if the printer makes its start up noises, pauses and then makes them again).

More support info can be found at the following links:
http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_1000
http://foo2zjs.rkkda.com/
https://forums.gentoo.org/viewtopic.php?t=97760

I think that's it. Hope it helps.


Last edited by FuzzeX on Wed Jul 28, 2004 6:20 pm; edited 2 times in total
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sat Sep 20, 2003 8:13 am    Post subject: Reply with quote

I assume you have a HP 1000 yourself.
I saw one a few days ago for an amazingly low price, but was put-off by the comments on linuxprinting.org.

Do you like it :?
Back to top
View user's profile Send private message
FuzzeX
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 96

PostPosted: Sat Sep 20, 2003 5:02 pm    Post subject: Reply with quote

Yes I do have one in my possesion. The comments on linuxprinting.org are there for a reason. When they say it's a very odd printer, they are right (the fact that it won't hold it's firmware after a power cycle being strangest). They have it listed as mostly working and it seems to do text pretty well. I haven't been able to run it through it's paces yet.

I have noticed that gradients seem to step rather than be smooth, but the text is crisp and the resolution is pretty good. I have used (and abused) one of these printers in the past in a win environment and it preformed pretty good for the price (price per sheet is better than injet).

Yeah the price right now can't be beat. I think $150 at some places, which for laser is insane. But if I had my pick I'd go with at least a LaserJet 1300. It has better resolution, better firmware, bigger toner carts, and you can get a hardware printserver to plug into it if you so desire.
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sat Sep 20, 2003 6:16 pm    Post subject: Reply with quote

Thanks FuzzeX,

I was considering the price per page compared to my current Inkjet,
and a cheap laser that is linux-compatible would be really interesting.

I also noticed some really cheap Samsung ML-1210 printers, that seem to be 100% under linux.
Back to top
View user's profile Send private message
FuzzeX
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 96

PostPosted: Sat Sep 20, 2003 8:39 pm    Post subject: Reply with quote

Browsing Samsung's Website it looks like the ML-1210 is a much nicer printer. It has 8 Mb of on board memory while the LaserJet 1000 only has 1 Mb. It also looks like the ML-1210 understands postscript (or at least something close) while the LaserJet 1000 talks something like zjs, but not quite it would seem.

As far as price per sheet (I think most of these are calculated at 5% converage):
ML-1210 US$.015 (about US$53 for 3500 pages)
HP LJ 1000 US$.025 (about US$60 for 2500 pages, US$80 for 3500 pages)
Average Inkjet ~ US$.06 (about US$30 for 500 pages)(on the low end)

So, if you can find the samsung at a good price I'd say get that over the HP.
Back to top
View user's profile Send private message
trolley
Apprentice
Apprentice


Joined: 12 Jun 2002
Posts: 292
Location: Canada

PostPosted: Fri Oct 17, 2003 8:02 pm    Post subject: Reply with quote

If anyone is interested, I have posted an ebuild for foo2zjs at http://mark.trolley.ca/ebuilds.

Thanks for the great info, I had been beating my head against the wall over this printer!
Back to top
View user's profile Send private message
FuzzeX
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 96

PostPosted: Fri Oct 17, 2003 9:47 pm    Post subject: Reply with quote

Glad the info was useful. Thanks for the ebuild, looks great.
Back to top
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Sat Oct 18, 2003 11:08 am    Post subject: Reply with quote

FuzzeX, have you ever tried printing multiple pages on one sheet in KDE? My Laserjet 1000 just shoots out empty sheets of paper, and cups log tell me this:
Code:
I [17/Oct/2003:12:23:05 +0200] Job 87 queued on 'HP_LaserJet_1000' by 'fuero'.
I [17/Oct/2003:12:23:05 +0200] Started filter /usr/lib/cups/filter/pstops (PID 8962) for job 87.
I [17/Oct/2003:12:23:05 +0200] Started filter /usr/lib/cups/filter/cupsomatic (PID 8963) for job 87.
I [17/Oct/2003:12:23:05 +0200] Started backend /usr/lib/cups/backend/usb (PID 8964) for job 87.
W [17/Oct/2003:12:23:06 +0200] [Job 87] Media tray empty!
E [17/Oct/2003:21:52:04 +0200] Scheduler shutting down due to SIGTERM.

Printing without this option works flawlessly, and I have psutils installed.
Any idea?

--Robert
_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
Vishruth
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 138
Location: India

PostPosted: Sat Oct 18, 2003 3:26 pm    Post subject: Reply with quote

AlterEgo wrote:
I assume you have a HP 1000 yourself.
I saw one a few days ago for an amazingly low price, but was put-off by the comments on linuxprinting.org.

Do you like it :?


I got an HP LaserJet 1010 yesterday. It's wonderful. I found it difficult to install it on WindowsXP. The installer hung at the "detecting connected printers" (or something like that) screen. But on Gentoo, it was a cool breeze! All I had to do was emerge cups and start the server and then add a printer using cups' browser based management system. Now I have added three configurations for 600dpi (maximum/best quality), 300dpi and 150dpi. I never expected this to be so easy on Gentoo.

As far as the price of 1010 is concerned, it cost me less than 1000 (here in India) and it has better features too - 8 mb memory, 12 ppm, very compact (blah blah...). I suggest checking 1010 and 1015 out before buying a laser printer. 8)
_________________
http://freeshell.in/~vish/
Back to top
View user's profile Send private message
FuzzeX
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 96

PostPosted: Sun Oct 19, 2003 3:21 am    Post subject: Reply with quote

Master_Of_Disaster:

Check here for some info on your question:
https://forums.gentoo.org/viewtopic.php?t=97760
Back to top
View user's profile Send private message
discostu
Guru
Guru


Joined: 01 Nov 2002
Posts: 333

PostPosted: Wed Oct 22, 2003 12:16 am    Post subject: Reply with quote

:D Thanks for posting this howto! I've been trying to get this printer working under linux for a long time!
_________________
"Disco Stu doesn't advertise."
Back to top
View user's profile Send private message
trolley
Apprentice
Apprentice


Joined: 12 Jun 2002
Posts: 292
Location: Canada

PostPosted: Tue Nov 04, 2003 1:50 am    Post subject: Reply with quote

So after reinstalling my printer no longer works. I set it up exactly as before, but now every time I send it a job, the top light just flashes green forever. Anyone here experience this and have a solution? By the way, this is printing to a shared printer via SMB. On the windows box it sits in the print queue saying it's printing.
Back to top
View user's profile Send private message
FuzzeX
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 96

PostPosted: Wed Nov 05, 2003 7:40 pm    Post subject: Reply with quote

If you want to try and get the smb connection to the printer working post your /etc/samba/smb.conf to this thread.

If the windows machine is running XP I would recommend trying to set it up to access cups directly rather than go through samba. You can do this by setting up the printer as an internet printer (enter the url of the priner, something like, http://server:631/printers/printername) and selecting a driver that will print postscript (something like a LaserJet IIIP).
Back to top
View user's profile Send private message
trolley
Apprentice
Apprentice


Joined: 12 Jun 2002
Posts: 292
Location: Canada

PostPosted: Wed Nov 05, 2003 11:57 pm    Post subject: Reply with quote

I think you have it backwards. The printer is hooked up to a WinME box and shared via SMB, and I'm trying to print to it from my Gentoo box. It was working before I reinstalled Gentoo, and I followed the same steps, but now any print jobs from the linux box just sit in the ME print queue...
Back to top
View user's profile Send private message
FuzzeX
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 96

PostPosted: Thu Nov 06, 2003 1:13 am    Post subject: Reply with quote

trolly:
Response to your question here
Back to top
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2021
Location: Republic of California

PostPosted: Sun Jan 04, 2004 2:08 am    Post subject: Reply with quote

Has anyone successfully installed the HP 1010 LaserJet?
Back to top
View user's profile Send private message
norty123
n00b
n00b


Joined: 04 Jan 2004
Posts: 17

PostPosted: Sun Jan 04, 2004 11:29 pm    Post subject: Great Help Reply with quote

I can't explain how great this was. It should for sure be added to a list of how-to's on the main docs page.

Awesome!
So excited!
Printing everything now ;-)

Cheers!

~Ian
Back to top
View user's profile Send private message
norty123
n00b
n00b


Joined: 04 Jan 2004
Posts: 17

PostPosted: Mon Jan 05, 2004 12:29 am    Post subject: Almost Perfect Reply with quote

I have a Small Weird Problem to report. After about 5 minutes of inactivity, the printer shuts itself off... I have to go into CUPS configuration and start it again. Jobs are held, it says it will accept jobs (and it does) but they won't print until I start the printer again.

Anyone have this problem?

~ian
Back to top
View user's profile Send private message
bludger
Guru
Guru


Joined: 09 Apr 2003
Posts: 389

PostPosted: Fri Jan 23, 2004 12:01 pm    Post subject: Reply with quote

I have a Minolta/QMS magicolor 2300 DL and have just successfully followed your instructions to download and install the foo2zjs driver.

Is there any reason why this driver is not in portage? If not, could someone with the skills and time (I have neither) please create an ebuild etc. Perhaps this info could also be added to the printing howto, if it is not already.

Thanks anyway for the much needed instructions.
Back to top
View user's profile Send private message
Vishruth
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 138
Location: India

PostPosted: Sun Feb 08, 2004 1:50 am    Post subject: Reply with quote

-Amoeba- (Posted: Sun Jan 04, 2004 7:38 am) wrote:
Has anyone successfully installed the HP 1010 LaserJet?


Vishruth (Posted: Sat Oct 18, 2003 8:56 pm) wrote:
I got an HP LaserJet 1010 yesterday. It's wonderful. I found it difficult to install it on WindowsXP. The installer hung at the "detecting connected printers" (or something like that) screen. But on Gentoo, it was a cool breeze! All I had to do was emerge cups and start the server and then add a printer using cups' browser based management system. Now I have added three configurations for 600dpi (maximum/best quality), 300dpi and 150dpi. I never expected this to be so easy on Gentoo.

As far as the price of 1010 is concerned, it cost me less than 1000 (here in India) and it has better features too - 8 mb memory, 12 ppm, very compact (blah blah...). I suggest checking 1010 and 1015 out before buying a laser printer. 8)


HP 1010's working great here. (2.6.2 kernel, cups 1.1.20) And also, if you're having too much of a tough time setting your printer up, you might want to try gnome-cups-manager.
_________________
http://freeshell.in/~vish/
Back to top
View user's profile Send private message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Thu Mar 04, 2004 8:30 am    Post subject: Reply with quote

I've a problem with Hp LaserJet 1000 on a Win2000 server and my notebook with samba and cups.
I've installed cups and samba at home and a Hp 930c and a Okipage 6e on a Xp server worls fine. Instead, at work when a try to print the "Test Page" on the win2000 printer manager arrive a document but the printer don't print anything. After 10 sec the printer queue is cleaned and cups 'says' "CUPS v1.1.20 is ready to print."
Back to top
View user's profile Send private message
FuzzeX
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 96

PostPosted: Fri Mar 05, 2004 6:48 am    Post subject: Reply with quote

berus:
It sounds like the configuration on the linux end is working fine since the document makes it into the print manager. Why the document doesn't print on the windows end is anyone's guess. Unfortunatly I don't live with this printer (or it's owner) any more and so I won't really be able to troubleshoot your problem.

If someone has a suggestion they are more than welcome to post it to the Support Thread.
Back to top
View user's profile Send private message
thecas
n00b
n00b


Joined: 28 Jul 2004
Posts: 22

PostPosted: Wed Jul 28, 2004 5:26 pm    Post subject: Reply with quote

Tnx alot,
I almost gave it up because it didn't seem to work at all.
Here were my problems (and solutions)
I first got stuck on the part you need /dev/usb/lp0
The problem was: It wasn't there, solution: udev+hotplug

The second problem i had was that it kept saying that the tray was empty this was solved after i gave it up pulled the power out of the printer and shut the pc down.
When i booted the pc again suddenly the testpage came out of the printer!
I guess your script that installed the driver every time you power the printer up fixed it.

I really appreciate your great guide and am a happy printing fellow now!
keep on the good work!
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Wed Jul 28, 2004 10:51 pm    Post subject: Reply with quote

I have the same problem with "tray empty" on my hplj1005 and I cannot solve it, I do not want to reboot every time if I want to print :(. Sometimes it prints, sometimes not. Someone should perhabs contact the author and tell him about this.
Back to top
View user's profile Send private message
FuzzeX
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 96

PostPosted: Thu Jul 29, 2004 7:29 am    Post subject: Reply with quote

It's been a while since I've posted to this thread, but about the tray empty error:

I've found that if you open the front of the printer where you would insert the toner cart. and then close it, the printer does a self check and will find the paper.

I has been a while since I've had this printer so I don't know if that is the solution in your case.

Power cycling the printer might be an option too.

::shrugs::
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum