LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-26-2011, 04:18 AM   #1
kairen
Member
 
Registered: Oct 2006
Location: Bulgaria
Distribution: Slackware64 14.1
Posts: 92

Rep: Reputation: 15
Where can I find hplip plugin for 3.11.3a version?


Hi,
I have a printer HP LJ P1102w and phlip says I need a plugin for it. I downloaded the plugin version 3.11.10 but a "version mismatch" error occurred. I can not find anywhere the older plugin and now I see even current uses 3.11.3a. Can anyone help here?

Thanks
 
Old 10-26-2011, 08:04 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,122

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
Well, the current version is 3.11.10; you might want to go to http://hplipopensource.com/hplip-web/gethplip.html and click on the HPLIP tar package link where it says Advanced users may wish to download the HPLIP tar package.

Grab the SlackBuild from your DVD or CD-ROM, edit the version number, build it and upgradepkg. You may want to removepkg what's already there but that's most likely not necessary.

According to the H-P web page, a plug-in is required for your printer model; the documentation at http://hplipopensource.com/node/309 explains the need for and how to get and install the plug-in:
Quote:
Most Linux distributions include HPLIP with their software, but most do not include the plug-in. Therefore, it is a safe practice to run a utility called "hp-setup", which, will install the printer into the CUPS spooler, download, and install the plug-in at the appropriate time.
You really ought to read that page.

So, you need to open a terminal window and execute
Code:
hp-setup
I'd recommend getting and installing version 3.11.10 just so you've got the most current stuff to work with.

Hope this helps some.
 
1 members found this post helpful.
Old 10-27-2011, 04:15 AM   #3
kairen
Member
 
Registered: Oct 2006
Location: Bulgaria
Distribution: Slackware64 14.1
Posts: 92

Original Poster
Rep: Reputation: 15
Thanks for the replay. Can you tell me where to look for the SLackBuild on the DVD? I didn't even know there was one there.
 
Old 10-27-2011, 08:01 AM   #4
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 930

Rep: Reputation: 96
A few weeks ago I had to reinstall the plugin for my LaserJet 1020 but hp-setup failed (with a 404 error). Last year I had downloaded the plugin from

http://www.openprinting.org/download...les/HP/plugins

and installed manually. I tried downloading again, but this time the website said it was down for maintenance. I just checked it, and it's still the same.

Do the newer versions of HPLIP have a different download location coded in? I'm using the version that came with 13.37.
 
Old 10-27-2011, 08:28 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,122

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
I don't have DVD handy at the moment, sorry: Easy way to find stuff on your Slackware media -- insert the disk that has the source tree on it (that will be the DVD or one of the CD-ROMs), mount it and use find something like this
Code:
find /mnt/whatevernameitis -type f -name 'hplip*.tar.gz'
That will find source (the "*.tar.gz") -- the SlackBuild is in the same directory that the "*.tar.gz" is (find will show you the full path to the source file).

Hope this helps some.
 
Old 10-27-2011, 08:39 AM   #6
escaflown
Member
 
Registered: May 2009
Location: Canada
Distribution: Slackware
Posts: 237

Rep: Reputation: 30
Quote:
Originally Posted by kairen View Post
Thanks for the replay. Can you tell me where to look for the SLackBuild on the DVD? I didn't even know there was one there.
It's in the ap folder.
 
Old 10-28-2011, 03:55 AM   #7
kairen
Member
 
Registered: Oct 2006
Location: Bulgaria
Distribution: Slackware64 14.1
Posts: 92

Original Poster
Rep: Reputation: 15
OK, I created a package and upgraded it.
Installed the printer but it can not print:

"/usr/lib/cups/filter/foomatic-rip-hplip failed"

That was the only info I managed to get from CUPS webpage. Before that I tried to print a test page using HP interface. The printer just didn't print with no errors shown on screen.
I tried it as normal user as well as root.

Any ideas?
 
Old 10-28-2011, 07:45 AM   #8
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,122

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
Are you up-to-date with patches? Particularly, ghostscript-9.02? There were some problems with CUPS that turned out to be in Ghostscript (but it wouldn't hurt to download and upgrade all available patches if you haven't done so in any event). Are you up-to-date with foomatic-filters-4.0.6 (in Slackware 13.37 -- are you actually running Slackware 11 or 12 as indicated in your profile or are you using Slackware 13.37)?

Did you install the printer with hp-setup (not directly with CUPS)? And did hp-setup "see" the printer and recommend a "model" to use? If you use hp-setup, it creates the entries in CUPS for you (and you should delete any existing entries for that printer in CUPS before you execute hp-setp). What's you interface? Ethernet, USB, parallel? Does hp-setup find the printer and display information about it? If you're using Ethernet, do you have the printer set with a fixed-IP address (rather than DHCP) and is name of the printer and that fixed-IP address in your /etc/hosts file (make life easier, that)? Did you set the printer (in CUPS) to be the system default by name so that you can simply lp file and it goes to the printer?

What does lpstat -t show you? I have two HP printers installed and your should see something similar to this if you execute lpstat -t (and, of course, your model name(s) will vary):
Code:
lpstat -t
scheduler is running
system default destination: InkJet
device for InkJet: hp:/net/HP_BUSINESS_INKJET_2280?ip=192.168.1.15
device for Photosmart: hp:/usb/Photosmart_C4600_series?serial=CN985M155J05BQ
InkJet accepting requests since Fri 28 Oct 2011 07:35:38 AM EDT
Photosmart accepting requests since Wed 26 Oct 2011 08:57:59 AM EDT
printer InkJet is idle.  enabled since Fri 28 Oct 2011 07:35:38 AM EDT
        ready to print
printer Photosmart is idle.  enabled since Wed 26 Oct 2011 08:57:59 AM EDT
        ready to print
In the above, InkJet is fixed-IP and Photosmart is USB; you should see something similar for your printer.

Hope this helps some.

Last edited by tronayne; 10-28-2011 at 07:46 AM.
 
2 members found this post helpful.
Old 11-11-2011, 04:04 AM   #9
kairen
Member
 
Registered: Oct 2006
Location: Bulgaria
Distribution: Slackware64 14.1
Posts: 92

Original Poster
Rep: Reputation: 15
tronayne I use Slackware 13.37 now sorry for the outdated profile. Thanks for the advice I upgraded all packages from "patches".
Even before I used hp-setup to locate and suggest the model of the printer. It all went well. lpstat -t :

root@darkstar:/# lpstat -t
scheduler is running
system default destination: ks
device for HP5L: ipp://synshr.cfd.meteo.bg:631/printers/HP5L
device for HP_Color_LaserJet_CP5225dn: hp:/usb/HP_Color_LaserJet_CP5225dn?serial=00CNCTB9XHG1
device for HP_LaserJet_Professional_P1102w: usb://HP/LaserJet%20Professional%20P1102w?serial=000000000Q9180X7PR1a
device for ks: ipp://synshr.cfd.meteo.bg:631/printers/ks
device for Kyocera: ipp://synshr.cfd.meteo.bg:631/printers/Kyocera
HP5L accepting requests since Fri 11 Nov 2011 10:36:51 AM EET
HP_Color_LaserJet_CP5225dn accepting requests since Fri 28 Oct 2011 10:02:34 AM EEST
HP_LaserJet_Professional_P1102w accepting requests since Fri 28 Oct 2011 09:38:55 AM EEST
ks accepting requests since Fri 11 Nov 2011 10:36:46 AM EET
Kyocera accepting requests since Fri 11 Nov 2011 10:36:54 AM EET
printer HP5L now printing HP5L-0. enabled since Fri 11 Nov 2011 10:36:51 AM EET
printer HP_Color_LaserJet_CP5225dn is idle. enabled since Fri 28 Oct 2011 10:02:34 AM EEST
printer HP_LaserJet_Professional_P1102w is idle. enabled since Fri 28 Oct 2011 09:38:55 AM EEST
printer ks is idle. enabled since Fri 11 Nov 2011 10:36:46 AM EET
printer Kyocera is idle. enabled since Fri 11 Nov 2011 10:36:54 AM EET

my problem is with HP_LaserJet_Professional_P1102w. it simply does not print
 
Old 11-11-2011, 09:04 AM   #10
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,122

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
Hm.

OK, do you have the H-P logo on your task manager bar (won't be there logged in as root, should be as a user if you did hp-setup)? You should be able to right-click it and select HP Device Manager; that will pop up a window that shows you all the H-P printers you have attached. Your HP_LaserJet_Professional_P1102w should appear on that list; Select the Printer Control tab and you should have Started/Idle and Accepting Jobs with green lights. You should also be able to the Status tab (which should tell you that it's idle, top of the list, ignore anything below the top item) or the Supplies tab (that should tell you ink levels).

If you don't see any of those, you're not communicating with the thing and you may want to use CUPS directly rather than the Device Manager to see if you can get it on line.

Open a browser and got to http://localhost:631, click the Administration tab, then Manage Printers tab, then select that printer from the list. Click the Maintenance tab; there will be a list, on that list may be enable printer -- that line will either say Pause Printer or Enable Printer and right below will be either Accept Jobs or Reject Jobs (you want those two to be Pause Pinter and Reject Jobs which indicates that the printer is enables and is accepting jobs). Once you get those, click Print Test Page (not Print Self Test Page!). Also, you should click Cancel All Jobs somewhere during this to clean out the queue for that printer (you've been testing and they're all sitting in the queue).

The only other things I can think of is that you've got a bum USB cable or if the printer has an Ethernet connection that your set up menu may be looking in the wrong direction?

If you do have an Ethernet connection, try that -- but set the printer to a fixed-IP address rather than DHCP; you can use any address less that 100 (where DHCP starts leasing) such as 192.168.1.15 or something -- if you do this you'll need to run through hp-setup again for that printer. And, you know, if you don't have an Ethernet connection, well, forget about that.

lpstat -t is telling you that it's there but CUPS isn't seeing it; could be off-line, could be that it's just not enabled or that it's rejecting jobs.

That's just about all I know to do.

Hope this helps some.
 
Old 05-17-2013, 04:15 AM   #11
sylye
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Mandrake 9.1, Debian 3.1,Slackware 13.37
Posts: 47

Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by tronayne View Post
Did you install the printer with hp-setup (not directly with CUPS)? And did hp-setup "see" the printer and recommend a "model" to use? If you use hp-setup, it creates the entries in CUPS for you (and you should delete any existing entries for that printer in CUPS before you execute hp-setp).
Just want to share with whoever that might stuck in the same problem about how did I solved the same issue finally. Thanks to tronayne for saving my day. I have been working on my new HP P1102 for the whole week and still can't make it to work. Finally I solved it with the clue from the above hint!

I am using slackware 13.37 and the hplip package version in it is 3.11.3a. This version of hplip will not able to talk with the P1102, it says it need a special plugin. In order to get the plugin, you can run hp-plugin. But the problem is, when hplip-plugin went to get the plugin, it couldn't find it as there is no such plugin version of 3.11.3a. What I did is, went to get the hplip-3.11.12 from http://sourceforge.net/projects/hpli...hplip/3.11.12/ and compile it with hplip.SlackBuild (can get it easily from the slackware DVD or http://mirrors.slackware.com/slackwa...lip.SlackBuild). Remember to compile it as root.

After getting hplip-3.11.12-i486-1.txz, install it and run hp-plugin and you will find out it actually goes to http://hplip.sf.net/plugin.conf to get the link to download the appropriate file. Once hplip-3.11.12-plugin.run downloaded, it will try to install but fail. It needs a root access to do it. I then login into X windows again with root, and run that xx-plugin.run file again. Ok, it installed correctly. However it still can't print. Same error "/usr/lib/cups/filter/foomatic-rip-hplip failed"

Finally I tried to remove that printer from CUPS admin webpage, relogin to X windows as root, run the hp-setup again, add my new printer, then only finally, done ! I can now print with HP P1102 without issue, and running lpstat -t gives a nice output like this (I have another printer HP J4660):

Quote:
scheduler is running
system default destination: HP_LaserJet_Professional_P1102
device for HP_LaserJet_Professional_P1102: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q866AZNPR1a
device for Officejet-J4660-series: hp:/usb/Officejet_J4660_series?serial=CN8C1760FB052W
HP_LaserJet_Professional_P1102 accepting requests since Fri 17 May 2013 03:25:55 PM MYT
Officejet-J4660-series accepting requests since Fri 17 May 2013 02:48:33 PM MYT
printer HP_LaserJet_Professional_P1102 is idle. enabled since Fri 17 May 2013 03:25:55 PM MYT
ready to print
printer Officejet-J4660-series is idle. enabled since Fri 17 May 2013 02:48:33 PM MYT
ready to print

Thanks a lot to tronayne as I will not able to figure this out without your hints. I am sharing this out so others need not to waste their time trying so much efforts to make it works, since we just want to get the simple printer to do it's job, it shouldn't be so much hassle.
 
Old 05-17-2013, 07:39 AM   #12
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,122

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
Quote:
Originally Posted by sylye View Post
Thanks a lot to tronayne as I will not able to figure this out without your hints. I am sharing this out so others need not to waste their time trying so much efforts to make it works, since we just want to get the simple printer to do it's job, it shouldn't be so much hassle.
You are more than welcome! Glad to know you got it going.

By the way, there is a new version of HPLIP (3.13.5) available at HP Linux Imaging and Printing: http://prdownloads.sourceforge.net/h...-3.13.5.tar.gz. You might want to take a look and see if it adds any functionality for your printers (it did for my two H-P printer, scanner and plotter). You can build it with the SlackBuild (keep your current one handy just in case), upgradepkg and give it a try; you can always removepkg then installpkg the current package if a problem crops up.

I've never had any problems with any H-P printer (or scanner or plotter) using HPLIP -- just lucky, I guess. H-P releases (and fixes!) HPLIP when they add new printer lines for Linux and that makes me a happy customer. Here's hoping your experience will be better from here on.

Hope this helps some.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] hplip-3.11.1 in 13.37rc3: plugin download error kingbeowulf Slackware 4 10-06-2011 02:16 AM
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 11:23 AM
configure: error: cannot find libusb support install hplip-3.9.8 redhatwannabe Linux - Enterprise 7 09-11-2010 05:39 PM
[SOLVED] HP PSC 1210 I can't find the ppd file in CUPS, even with hplip installed! Allamgir Slackware 3 12-20-2009 10:19 PM
HPLIP Device manager unable to find printers on current? PJBrs Slackware 13 04-02-2008 03:28 PM


All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration