How to define generic postscript printer when using cups-1.4.2-7

Helge Blischke h.blischke at acm.org
Sun Dec 6 08:30:47 PST 2009


Ido Levy wrote:

> Hello All,
> 
> I am running CUPS 1.4.2-7 on top of Fedora Core 12.
> 
> In earlier versions of CUPS I used lpadmin command with the following
> parameters to define a generic PostScript printer:
> 
> lpadmin -p PostScript -v ps:/tmp -E -P
> /usr/share/cups/model/postscript.ppd.gz -D "PostScript" -L "localhost"
> 
> On this version of CUPS the file /usr/share/cups/model/postscript.ppd.gz
> doesn't exists. I found on the documentation reference to generic post
> script driver -
> 
> lpinfo -m | grep -i generic.ppd
> drv:///sample.drv/generic.ppd Generic PostScript Printer
> 
> but I am not sure how to use it when defining the printer using lpadmin
> command
> 
> I would appreciate your advice
> 
> Thanks
> 
> Ido

You need to compile the PPD from the source file:

drv cat drv:///sample.drv/generic.ppd > /usr/share/cups/model/postscript.ppd

See man drv for the details.

Helge





More information about the cups mailing list