Visit Our UNIX and Linux User Community


how does cups recognize a new driver?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how does cups recognize a new driver?
# 1  
Old 09-11-2008
how does cups recognize a new driver?

hi there,
i am attempting to recognize a network printer on my red hat box. i know the IP, i have procured the correct driver, however, CUPS (nor the add printer utility) doesn't recognize the driver nor the printer type. i am assuming this has to do with the location of the driver. can anyone tell me how to update my printer drivers so i can finally print? thanks a million.

ps. driver: Samsung-ML-3051ND-Postscript.ppd
printer: samsung ML-3051ND
# 2  
Old 09-11-2008
The gzipped .ppd file goes in /usr/share/cups/model, and you need to specify this model name when creating the print queue. I do it from the command-line using lpadmin ... -l modelname ....
# 3  
Old 09-12-2008
cool, thanks. i'm almost there. the issue i now have is that i don't have the command "lpadmin" at my disposal. is it in a different directory than /usr/bin (where the other lp commands are)? thanks again...
# 4  
Old 09-12-2008
/usr/sbin/lpadmin - you should find that it's in your PATH when you're logged in as root, which you need to be anyway to create print queues.
# 5  
Old 09-12-2008
thanks again for all of your help. i found the lpadmin command and attempted to use the command line to install the printer and driver. after beating my head on it for a while (and trying to use CUPS) i have decided to come back to the forum and ask how one would do this correctly. i am (wrongly) attempting:

lpadmin -p Samsung-ML-3051ND -P Samsung-ML-3051ND-Postscript.ppd.gz

i can see the computer and the driver on CUPS, but still can't print a page. thanks again for all the help.
# 6  
Old 09-12-2008
How is this printer connected to your system? Directly? Or is it a network printer? I presume you will need to specify the -v to specify how it is connected.

I misled you earlier when I said -l... the following syntax should work (note no .gz)

Code:
lpadmin -p Samsung-ML-3051ND -m Samsung-ML-3051ND-Postscript.ppd -v ... -E

-E enables the printer. You can do that separately with /usr/lib/enable Samsung-ML-3051ND if it is currently disabled, which you can check with lpstat -p.
# 7  
Old 09-12-2008
thanks again for all your help. i really think we're getting somewhere. my computer (as well as cups) now recognizes the driver and the printer. the printer is a network printer attached to a static IP. so i'm guessing what i need to do now is configure the queue? again, i tried and failed. your help is greatly appreciated.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #419
Difficulty: Easy
Few popular modern Web browsers support JavaScript with built-in interpreters.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to recognize the Shell?

Hello All I am working on Red Hat Enterprise Linux Server release 5.1 when I logged on to the shell and then write echo $SHELL it shows me the result /bin/bash and when I write csh, the prompt changes and I feel that I am now working upon C shell but when I do echo $SHELL it shows me the... (9 Replies)
Discussion started by: adisky123
9 Replies

2. Hardware

Difference between platform driver,codec driver and Machine driver

In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

3. Debian

CUPS Cannot recognize lp0

I am trying to print from Debian and receive the following message: "Unable to open device file"/dev/lp0": Permission Denied" The permissions for lp0 are 666. Advice and comments, please. :wall: Thanks (0 Replies)
Discussion started by: woofy613
0 Replies

4. Red Hat

Driver fails to recognize monitor type ...

Hello, Please help me if you could to resolve the problem with NVIDIA driver. I have Lenovo T61p. I installed RHAT6 Open Client and then downloaded and installed NVIDIA driver version 270.41.06. The product is Quadro FX 570. My laptop display type is LVDS. After installation everything works... (1 Reply)
Discussion started by: susja
1 Replies

5. UNIX for Dummies Questions & Answers

boot option Available partitions 0b00 1048575 sr0 driver:sr 0800 488386584 sda driver:sd

Help, suspect hacked via serial or electric! any ideas on error "Pid:1, comm:swapper Tainted:G W 2.6.35-22 generic #33 -unbutu device = "(null)" or unknown-blocklist(8.1) please append a correct "root"boot option Available partitions 0b00 1048575 sr0 driver:sr 0800 488386584 sda driver:sd. Thanks... (3 Replies)
Discussion started by: kryclear
3 Replies

6. UNIX for Dummies Questions & Answers

Query for printer driver in CUPS

I have a RHEL 4 (probably not important, but whatever) machine with a few dozen network printers set up in CUPS. I would like to replicate this on a second machine. With lpinfo I'm able to get the queue name and device information (socket://ipaddress or whatnot), but I haven't get figured out... (0 Replies)
Discussion started by: kknigga
0 Replies

7. UNIX for Dummies Questions & Answers

Making a ppd driver for Minolta 3100 on CUPS/Ubuntu

Hello I have a Minolta QMS Magicolor 3100 printer. A driver is available (Minolta-magicolor_3100-Postscript.ppd) for Linux, installed using foomatic, but it does not work properly. The resolution is at it's lowest and a poor quality grainy print results. The printer works fine under Windows XP... (0 Replies)
Discussion started by: bwallum
0 Replies

8. Red Hat

Need a single printer driver added to CUPS

Just got an HP OfficeJet L7680 printer but there are no drivers for it in RHEL5. I just want to add the single driver without installing hplip 3.9.8. It's going to be connected with USB. Is this possible and if so how? (1 Reply)
Discussion started by: deloev
1 Replies

9. Programming

How to recognize that the server is currently unavailable?

hi all How to recognize that the server is currently unavailable? by programatically.give some example. am using fedora5 AMD cheers (2 Replies)
Discussion started by: munna_dude
2 Replies

10. Solaris

SUNWglmr -- rasctrl environment monitoring driver for i2c or SCSI device driver ?

I've been researching minimizeing Solaris 8 and found that on the web page http://www.sun.com/bigadmin/content/packagelist/s8u7PkgList/p2.html the package SUNWglmr is listed as "rasctrl environment monitoring driver for i2c, (Root) (32-bit)" while in the document "Solaris 8 minimize-updt1.pdf"... (1 Reply)
Discussion started by: roygoodwin
1 Replies

Featured Tech Videos