lpadmin -m and foomatic

Hi i'm a newbie in linux and need help installing network printer. Trying to install an HP Laser Jet 5.

I tried to look for the available ppd files using lpadmin -m | grep " HP LaserJet 5" and got the following output:

gutenprint.5.2://pcl-5/expert HP LaserJet 5 - CUPS+Gutenprint v5.2.3
gutenprint.5.2://pcl-5/simple HP LaserJet 5 - CUPS+Gutenprint v5.2.3 Simplified
foomatic:HP-LaserJet_5-lj4dith.ppd HP LaserJet 5 Foomatic/lj4dith
foomatic:HP-LaserJet_5-lj5gray.ppd HP LaserJet 5 Foomatic/lj5gray
foomatic:HP-LaserJet_5-ljet4.ppd HP LaserJet 5 Foomatic/ljet4
foomatic:HP-LaserJet_5-pxlmono.ppd HP LaserJet 5 Foomatic/pxlmono

Can someone point me in the right direction on what to do next? I tried to locate the ppd files listed under foomatic, but I cannot find any files with those names.

Thanks!
ShadowColossusAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Fabio MarzoccaConnect With a Mentor FreelancerCommented:
The ppd files should be in /usr/share/ppd
0
 
Fabio MarzoccaFreelancerCommented:
Have you tried with System-Administration->Printers, and let the system install recommended drivers?
0
 
ShadowColossusAuthor Commented:
how would I do this from the command line?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Fabio MarzoccaFreelancerCommented:
Are you running a server?. You didn't say that in your first post.
0
 
Fabio MarzoccaFreelancerCommented:
You can run cups administrator from a browser on another PC:

http://<server-ip>:631
0
 
ShadowColossusAuthor Commented:
Sorry I wasn't mentioning I was using Ubuntu server. Thanks for the advice, I wanted to check if I could do it from command line. The browser was going to be my last recourse.I was curious about the foomatic output from "lpadmin -m" command. I know that command is used to view the available drivers, but I cannot locate the .ppd files listed with foomatic.
0
 
Fabio MarzoccaFreelancerCommented:
So i have misunderstood. You are not trying to configure the printer, but just to exercise the terminal?
0
 
ShadowColossusAuthor Commented:
Yes..sorry again....I was thinking "lpinfo -m" and "not lpadmin -m"

I was using lpinfo -m to view available drivers, lpinfo -v  to locate the network printer and "lpadmin p printer-name options" to configure the printer.


It was the lpinfo -v where I was getting the foomatic lines and didn't know where the ppd files are located from foomatic. I hope this clears any confusion with my problem.



0
 
ShadowColossusAuthor Commented:
thanks for your help, i download the necessary ppd files and move it to that location.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.