Home
last modified time | relevance | path

Searched refs:ppdfile (Results 1 – 7 of 7) sorted by relevance

/external/libcups/cups/
Dtestcache.c26 const char *ppdfile = NULL;/* PPD filename */ in main() local
42 ppdfile = argv[1]; in main()
43 if ((ppd = ppdOpenFile(ppdfile)) == NULL) in main()
51 fprintf(stderr, "Unable to open \"%s\": %s on line %d\n", ppdfile, ppdErrorString(err), line); in main()
57 fprintf(stderr, "Unable to create PPD cache from \"%s\".\n", ppdfile); in main()
Dtestcups.c47 *ppdfile; /* PPD file */ in main() local
449 if ((ppdfile = cupsGetPPD(dest->name)) == NULL) in main()
464 if ((ppd = ppdOpenFile(ppdfile)) == NULL) in main()
473 unlink(ppdfile); in main()
Dtestpwg.c35 const char *ppdfile; /* PPD filename */ in main() local
53 ppdfile = argv[1]; in main()
55 printf("ppdOpenFile(%s): ", ppdfile); in main()
56 if ((ppd = ppdOpenFile(ppdfile)) == NULL) in main()
/external/libcups/systemv/
Dlpadmin.c1331 const char *ppdfile; /* PPD filename */ in set_printer_options() local
1375 ppdfile = file; in set_printer_options()
1378 if ((ppdfile = cupsGetServerPPD(http, ppdname)) != NULL) in set_printer_options()
1397 ppdfile = cupsGetPPD(printer); in set_printer_options()
1399 ppdfile = NULL; in set_printer_options()
1421 if (ppdfile) in set_printer_options()
1427 if ((ppd = ppdOpenFile(ppdfile)) == NULL) in set_printer_options()
1433 …_cupsLangPrintf(stderr, _("lpadmin: Unable to open PPD \"%s\": %s on line %d."), ppdfile, ppdError… in set_printer_options()
1444 if (ppdfile != file) in set_printer_options()
1445 unlink(ppdfile); in set_printer_options()
[all …]
/external/libcups/scheduler/
Dcupsfilter.c62 const char *ppdfile,
72 const char *outfile, const char *ppdfile,
116 const char *ppdfile; /* PPD file */ in main() local
143 ppdfile = NULL; in main()
299 ppdfile = argv[i]; in main()
386 printer_type = add_printer_filters(command, mime, printer, ppdfile, in main()
501 status = exec_filters(src, filters, infile, outfile, ppdfile, printer, user, in main()
512 if (removeppd && ppdfile) in main()
513 unlink(ppdfile); in main()
653 const char *ppdfile, /* I - PPD file */ in add_printer_filters() argument
[all …]
Dcolorman.c330 char ppdfile[1024], /* PPD filename */ in apple_register_profiles() local
372 snprintf(ppdfile, sizeof(ppdfile), "%s/ppd/%s.ppd", ServerRoot, p->name); in apple_register_profiles()
373 if ((ppd = _ppdOpenFile(ppdfile, _PPD_LOCALIZATION_ICC_PROFILES)) == NULL) in apple_register_profiles()
1370 char ppdfile[1024], /* PPD filename */ in colord_register_printer() local
1390 snprintf(ppdfile, sizeof(ppdfile), "%s/ppd/%s.ppd", ServerRoot, p->name); in colord_register_printer()
1391 if ((ppd = _ppdOpenFile(ppdfile, _PPD_LOCALIZATION_ICC_PROFILES)) == NULL) in colord_register_printer()
/external/libcups/tools/
Dippeveprinter.c194 *ppdfile, /* PPD file (if any) */ member
302 static ipp_t *load_ppd_attributes(const char *ppdfile, cups_array_t *docformats);
369 *ppdfile = NULL, /* PPD file */ in main() local
474 ppdfile = argv[i]; in main()
616 if (((ppdfile != NULL) + (attrfile != NULL) + legacy) > 1) in main()
688 else if (ppdfile) in main()
690 attrs = load_ppd_attributes(ppdfile, docformats); in main()
708 if (ppdfile) in main()
709 printer->ppdfile = strdup(ppdfile); in main()
2114 if (printer->ppdfile) in delete_printer()
[all …]