Home | History | Annotate | Download | only in cups

Lines Matching defs:ppd

2  * PPD cache testing program for CUPS.
19 #include "ppd-private.h"
32 const char *ppdfile = NULL;/* PPD filename */
33 ppd_file_t *ppd; /* PPD file */
36 _ppd_cache_t *pc; /* PPD cache and PWG mapping data */
44 puts("Usage: ./testcache filename.ppd [name=value ... name=value]");
49 if ((ppd = ppdOpenFile(ppdfile)) == NULL)
61 if ((pc = _ppdCacheCreateWithPPD(ppd)) == NULL)
63 fprintf(stderr, "Unable to create PPD cache from \"%s\".\n", ppdfile);
70 ppdMarkDefaults(ppd);
71 cupsMarkOptions(ppd, num_options, options);
86 if ((ppd_bin = ppdFindMarkedChoice(ppd, "OutputBin")) != NULL &&