How to install printer driver from RPM on Ubuntu?

Mark Ramige mark at ramige.org
Fri Apr 15 22:46:19 UTC 2011


On Fri, Apr 15, 2011 at 17:15, Charlie Zender <zender at uci.edu> wrote:
> Thank you for the rmp2cpio command, now:
>
>> and then just copy ppd file to cups ppd directory
>
> which is where, exactly?
>
> zender at neige:/usr/share/cups$ ls
> banners        charmaps  data      drv       fonts   mime  profiles
> calibrate.ppm  charsets  doc-root  examples  locale  ppdc  templates
> zender at neige:/usr/share/cups$ find . -name '*.ppd'
> zender at neige:/usr/share/cups$
>
> Le 15/04/2011 12:18, Eero Volotinen a écrit :
>> 2011/4/15 Charlie Zender <zender at uci.edu>:
>>> Hi All,
>>>
>>> I am trying to drive a Dell 5130cdn Color Laser Printer from a
>>> Ubuntu 11.4 (beta) system. The closest driver Ubuntu offers is
>>>
>>> Dell 5200M Foomatic/Postscript (recommended)
>>>
>>> The printer works OK with that. It takes a _long time_ (minutes)
>>> to print a page of color with this driver. Dell supplies, on
>>> CDROM, a driver in RPM format.
>>>
>>> Dell-5130cdn-Color-Laser-1.2-1.noarch.rpm
>>>
>>> which would install exactly one file:
>>>
>>> /usr/share/cups/model/Dell/Dell_5130cdn.ppd
>>>
>>> How do I (1) extract this file from the RPM and (2) install it
>>> on my Ubuntu system so my printer can use it?
>>
>> how about unpacking rpm package using following commands:
>>
>> rpm2cpio mypackage.rpm | cpio -vid
>>
>> and then just copy ppd file to cups ppd directory
>>
>> --
>> Eero
>>
>>
>
>
> --
> Charlie Zender, Department of Earth System Science
> University of California, Irvine (949) 891-2429 :)
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

>From the CUPS documentation at http://www.cups.org/articles.php?L271+THow-To+Q

There are two ways you can add a PPD file:
1) Use the lpadmin command:
    lpadmin -p printer -E -v device-uri -i filename.ppd
                      OR
2) Copy the file to /usr/share/cups/model and restart cupsd.

Mark R.




More information about the ubuntu-users mailing list