Solved

lpadmin -m and foomatic

Posted on 2009-07-15
9
734 Views
Last Modified: 2013-11-15
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!
0
Comment
Question by:ShadowColossus
  • 5
  • 4
9 Comments
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24867430
Have you tried with System-Administration->Printers, and let the system install recommended drivers?
0
 

Author Comment

by:ShadowColossus
ID: 24870904
how would I do this from the command line?
0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24870973
Are you running a server?. You didn't say that in your first post.
0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24871003
You can run cups administrator from a browser on another PC:

http://<server-ip>:631
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:ShadowColossus
ID: 24872193
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
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24872216
So i have misunderstood. You are not trying to configure the printer, but just to exercise the terminal?
0
 

Author Comment

by:ShadowColossus
ID: 24872911
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
 
LVL 14

Accepted Solution

by:
fmarzocca earned 125 total points
ID: 24876375
The ppd files should be in /usr/share/ppd
0
 

Author Closing Comment

by:ShadowColossus
ID: 31604068
thanks for your help, i download the necessary ppd files and move it to that location.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now