Hp Laserjet P1006 setup [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Hp Laserjet P1006 setup [Solved]

Postby lestoil81 » Tue May 12, 2009 18:12

On SW and Ubuntu I had to download HPLIP. In SW I had to run a script and ./config,make file to setup printer. Ubuntu HPLIP allowed auto setup. Both linuxes needed plugin download. Suse just did setup automatically.
I see neither Sabayon nor Gentoo is in the HPLIP3.94b auto-setup list on their web site. I tried equos and emerge but no package available,unless it has another name. Sabayon's printer setup program did not list the printer either. Does anyone have some help please?
lestoil81
Young Hen
 
Posts: 31
Joined: Tue May 12, 2009 17:26

Re: Hp Laserjet P1006 setup/follow up

Postby lestoil81 » Tue May 12, 2009 21:06

I tries hplip3.9.4 download anyway. Gentoo was recognized in auto setup. The hplip program runs recognizing my printer and gives alert about plugin having to be downloaded. So I ran hp-setup and printer is recognized again but get error about not being able to connect to cups. Program says to restart cups. Looking in rc-update show list cupsd as default module. Doing system upgrade--including 2.6.29-sabayon kernel and new nvidia driver changed nothing re. starting cups. Emerge --sync && layman -S shows system up-to-date baby.
After reboot hp-set rsults same. And I can't get into http://localhost:613. But Sys.>Printing shows 2 printers(stopped) This also happend in MDK but later printer worked fine. Printing test page show printers are paused or stopped. Seems the plugin wasn't downloaded/installed?
Sorry for length of f/up. More info may help me get assistance. Thanx:)
lestoil81
Young Hen
 
Posts: 31
Joined: Tue May 12, 2009 17:26

Re: Hp Laserjet P1006 setup

Postby Fitzcarraldo » Wed May 13, 2009 15:05

Have you seen the Gentoo Wiki page on how to install your printer? http://en.gentoo-wiki.com/wiki/HP_LaserJet_P1006
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Hp Laserjet P1006 setup

Postby lestoil81 » Wed May 13, 2009 17:09

Thanx Fitz for Gentoo lead. Another Gentoo ref. from linuxprinting.org told me to install the foo2zjs driver which I did multiple times. Following your lead I did as Gentoo suggested and installed the driver with emerge. Then I ran cups printer with the correct driver and HP sets up again but no printing. Printer goes into pause mode and stays there. Logout/login and rebbot change nothing. At least this time there is no warning that HP needs a plugin and to run hp-setup again. Oh well...
lestoil81
Young Hen
 
Posts: 31
Joined: Tue May 12, 2009 17:26

Re: Hp Laserjet P1006 setup

Postby Fitzcarraldo » Wed May 13, 2009 19:40

lestoil81 wrote:I tries hplip3.9.4 download anyway.

How did you install hplip? Version 3.9.4b may be the latest version from the HPLIP Web site, but it is not the latest version in the Portage tree. It may be that, by not using the Portage package manager to install HPLIP, something is not set up correctly on your PC. The latest version of the HPLIP package ebuild in Portage is 3.9.2. I suggest you try to merge it using the package manager, rather than installing outside the package manager:

Code: Select all
emerge --sync
layman -S
emerge =hplip-3.9.2
equo database gentoosync
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Hp Laserjet P1006 setup

Postby lestoil81 » Wed May 13, 2009 20:59

Thanx again Fitz. I installed hplip3.9.4b per the directions for gentoo at hplip site. Gentoo is on the auto-install list so like for the other linuxes I followed hplip diections. Another Gentoo link suggested going to Linux printing.org which site said to use their "fooz" driver which was installed; and Cups(localhost:613) installed the printer easier but left me at same paused printer.
Note 3.9.4b is newer than 3.9.2. I am leary of screwing up SB4.1. But I am trying the newest tip now. Then I'll need a vacation from SB. Thanx again.
lestoil81
Young Hen
 
Posts: 31
Joined: Tue May 12, 2009 17:26

Re: Hp Laserjet P1006 setup

Postby Fitzcarraldo » Wed May 13, 2009 22:44

I know 3.9.4b is newer than 3.9.2. My point is that, unlike 3.9.4b, in the case of 3.9.2 there is an official Portage ebuild. Thus, in the case of 3.9.2, the patching and compiling, installation of dependencies etc. is all done automatically and precisely by a proper script ('ebuild') created specifically for use by the Gentoo package manager (Portage). It is therefore more likely to install the application (including all dependencies) correctly on your PC than a manual procedure from a third-party (i.e. non-Gentoo) Web site.

If you sync with the latest version of the Portage ebuild repository (that's what the emerge --sync command does) and then take a look at the hplip-3.9.2 ebuild using a text editor, you'll see that the ebuild script does a heck of lot of things to install the hplip package. The ebuild file on your PC is /usr/portage/net-print/hplip/hplip-3.9.2.ebuild, so open it with your favourite text editor and you'll see what I mean. An ebuild created by a Gentoo developer for the Gentoo package management system is worth trying, even if the version of hplip it installs is a little bit behind the latest version of hplip.

Over and above the aforementioned reason, the latest version of a package is not necessarily guaranteed to work. I find this happens quite often with Linux, and I sometimes have to try, or revert to, an earlier version. If you look at some other threads in the SL forums you'll find examples of this. For example recently I had to revert to an earlier version of udev to get Bluetooth working again on my laptop, I had to revert to earlier versions of KNetworkManager and NetworkManager to get networking to work again, and so on.

I'm not saying that installing hplip-3.9.2 using the official package manager rather than installing a later version manually outside the package manager is guaranteed to solve your problem, but it's definitely one avenue that any Linux user should explore. In general, it is only recommended to install software manually without using a Linux distro's package manager as a last resort. Package managers were created for a reason.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Hp Laserjet P1006 setup

Postby lestoil81 » Wed May 13, 2009 22:52

Following aa older link in this forum about HP printer pausing when sent a job I "emerge --sync && layman -S && emerge -u foomatic-filters foomatic-filters-ppds && /etc/init.d/cups restart" Removing and re-installing printer gets me printing finally .woot!yipee!
lestoil81
Young Hen
 
Posts: 31
Joined: Tue May 12, 2009 17:26

Re: Hp Laserjet P1006 setup

Postby Fitzcarraldo » Wed May 13, 2009 22:55

Bravo! Glad you got it working. For info., you can edit your first post and append "[Solved]" to the title. I'll do it this time.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: tollgate and 2 guests