F4200series PPD doesn't install with hplip-2.8.6b.run

Asked by Ron Widell

Well I got hplip-2.8.6b.run to build on Mandriva Linux 2008.0 (BTW cups-devel is now cups2-devel, so the Perl RE match failed).

I then altered /etc/cups/cupsd.conf and /etc/security/console.perms.d/50-mandriva.perms per http://hplip.sourceforge.net/install/manual/distros/mandriva.html

Unfortunately, when I went to install the HP Deskjet F4240 (did a restart and then launched hp-setup as root), it found the printer on the USB port but the PPD for the Deskjet F4200series couldn't be found (it wasn't in /usr/share/ppd/hpijs/HP). It WAS in <build_dir>/hplip-2.8.6b/ppd, so I pointed the hp-setup to that file. I then got an error message about the print queue setup failing which told me to restart CUPS, which I did. After CUPS restarted, I clicked the OK button and then clicked Finish.

I then got the following 2 lines in the console where I started hp-setup:
<i>lpr: The printer or class was not found.</i>
<i>error: Print command failed with exit code 256!</i>

So I launched CUPS and installed the printer from there, using the PPD file from below the build directory and HPLIP Printer for the port. Hooray!! I got a test page!

I'm going to gzip all of the PPDs under the build directory and move them as root to /usr/share/hpijs/HP and reconfigure the printer under CUPS to point there for the PPD so I can clean out the build directory.

I just thought that you may be interested to know that there may still be some code removed from 2.8.6 that needs to be restored. That version DID install all of the PPDs into /usr/share/ppd/hpijs/HP when I ran it on my mother's machine.

As soon as I see any response from you folks I'll mark it solved (it is for me).

Thanks,
ron

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Ron Widell
Solved:
Last query:
Last reply:
Revision history for this message
John Hosszu (john-hosszu) said :
#1

Hey Ron

So for Man2k8, which directory is the proper PPD location?

/usr/share/hpijs/HP or /usr/share/ppd/hpijs/HP

Thanks

jh

Revision history for this message
Ron Widell (r-widell) said :
#2

Ooops. That's what happens when I don't do a cut-n-paste.

For Mdv2k8.0 the correct directory is /usr/share/ppd/hpijs/HP (/usr/share/hpijs doesn't exist). I believe that's true for Mdv2k8.1 as well.

I guess my problems aren't totally resolved, I've noticed that since successfully installing HPLIP that removeable media (USB thumb drives OR CD/DVD media) won't automount anymore. I confess to laziness, I haven't searched the database yet, but is that a natural consequence of the change to the 50-mandriva.perms file? Is there a good workaround?

Would a different approach work better? I'm thinking of installing the version of HPLIP (or perhaps just hpijs) available from the Mandriva repositories. That would be 2.7.7 for Mdv2k8.0 and I believe 2.8.2 for Mdv 2k8.1 (my REAL interest). The question becomes: will those older versions work with the Deskjet F4240 and the F4200series PPD file? If so, that would be the cleanest solution.

Thanks,
ron

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Hey Ron,

Thanks for the report. We are working on resolving this for the next release.

Aaron

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#4

The F4240 is supported with HPLIP 2.8.5 and above. You can try just using the pdd file but I can't promise it will work correctly. (although it may..)

Thanks for your support of HPLIP!

A

Revision history for this message
Ron Widell (r-widell) said :
#5

John & Aaron,

Thanks for the feedback. I really appreciate the support.

I'm going to try to make it print without losing the automount functionality. If I find something that work, I'll let you know.

In the meantime, I'm going to mark this thing as solved becuase at least the printer is working fine.

Thanks again,
ron