[cups.development] PPD and .drv file

Michael Sweet msweet at apple.com
Thu Apr 8 13:11:38 PDT 2010


On Apr 8, 2010, at 12:59 PM, newdev wrote:
> Hi,
> 
> I've a basic question.
> While reading the documentation about postscript printing using cups, it says that we need to generate ppd files from .drv files.There are some sample .drv files available and ppd can be generated from them using ppdc.How can I understand the commands in .drv files.Is there any documentation for that?

The following is a good starting point for PostScript printers:

    http://www.cups.org/documentation.php/postscript-driver.html

There is a corresponding document for non-PostScript printers:

    http://www.cups.org/documentation.php/raster-driver.html

> In addition to this, I want to alert the user if he gives wrong paper size while selecting custom page size from openoffice or a pdf document.Can this be done through PPD?


You can specify the range of sizes that are allowed for a custom size, but whether OOo or other apps do size validation is up to the app or the toolkit they use.

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups-devel mailing list