• Home
  • Raw
  • Download

Lines Matching refs:dinfo

29 static void	localize(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, cons…
30 static void print_file(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *filename, …
31 static void show_conflicts(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, int num_options, c…
32 static void show_default(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option);
33 static void show_media(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, const …
34 static void show_supported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option…
48 cups_dinfo_t *dinfo; /* Destination info */ in main() local
131 if ((dinfo = cupsCopyDestInfo(http, dest)) == NULL) in main()
140 show_supported(http, dest, dinfo, argv[3], argv[4]); in main()
142 show_supported(http, dest, dinfo, argv[3], NULL); in main()
144 show_supported(http, dest, dinfo, NULL, NULL); in main()
155 show_conflicts(http, dest, dinfo, num_options, options); in main()
159 show_default(http, dest, dinfo, argv[3]); in main()
164 localize(http, dest, dinfo, argv[3], argv[4]); in main()
166 localize(http, dest, dinfo, argv[3], NULL); in main()
168 localize(http, dest, dinfo, NULL, NULL); in main()
193 show_media(http, dest, dinfo, flags, name); in main()
204 print_file(http, dest, dinfo, argv[3], num_options, options); in main()
247 cups_dinfo_t *dinfo, /* I - Destination information */ in localize() argument
258 attr = cupsFindDestSupported(http, dest, dinfo, "job-creation-attributes"); in localize()
263 localize(http, dest, dinfo, ippGetString(attr, i, NULL), NULL); in localize()
282 if (cupsCheckDestSupported(http, dest, dinfo, options[i], NULL)) in localize()
283 localize(http, dest, dinfo, options[i], NULL); in localize()
288 printf("%s (%s)\n", option, cupsLocalizeDestOption(http, dest, dinfo, option)); in localize()
290 if ((attr = cupsFindDestSupported(http, dest, dinfo, option)) != NULL) in localize()
340 …s (%s)\n", ippGetString(attr, i, NULL), cupsLocalizeDestValue(http, dest, dinfo, option, ippGetStr… in localize()
372 puts(cupsLocalizeDestValue(http, dest, dinfo, option, value)); in localize()
383 cups_dinfo_t *dinfo, /* I - Destination information */ in print_file() argument
407 …if ((status = cupsCreateDestJob(http, dest, dinfo, &job_id, title, num_options, options)) > IPP_ST… in print_file()
416 …if (cupsStartDestDocument(http, dest, dinfo, job_id, title, CUPS_FORMAT_AUTO, 0, NULL, 1) != HTTP_… in print_file()
434 if ((status = cupsFinishDestDocument(http, dest, dinfo)) > IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED) in print_file()
452 cups_dinfo_t *dinfo, /* I - Destination information */ in show_conflicts() argument
458 (void)dinfo; in show_conflicts()
471 cups_dinfo_t *dinfo, /* I - Destination information */ in show_default() argument
482 if (cupsGetDestMediaDefault(http, dest, dinfo, CUPS_MEDIA_FLAGS_DEFAULT, &size)) in show_default()
495 if ((defattr = cupsFindDestDefault(http, dest, dinfo, option)) != NULL) in show_default()
515 cups_dinfo_t *dinfo, /* I - Destination information */ in show_media() argument
550 if (cupsGetDestMediaBySize(http, dest, dinfo, width, length, flags, &size)) in show_media()
552 …printf(" %s (%s) %dx%d B%d L%d R%d T%d\n", size.media, cupsLocalizeDestMedia(http, dest, dinfo, f… in show_media()
559 else if (cupsGetDestMediaByName(http, dest, dinfo, name, flags, &size)) in show_media()
561 …) %dx%d B%d L%d R%d T%d\n", size.media, cupsLocalizeDestMedia(http, dest, dinfo, flags, &size), si… in show_media()
570 count = cupsGetDestMediaCount(http, dest, dinfo, flags); in show_media()
575 if (cupsGetDestMediaByIndex(http, dest, dinfo, i, flags, &size)) in show_media()
576 …) %dx%d B%d L%d R%d T%d\n", size.media, cupsLocalizeDestMedia(http, dest, dinfo, flags, &size), si… in show_media()
591 cups_dinfo_t *dinfo, /* I - Destination information */ in show_supported() argument
602 attr = cupsFindDestSupported(http, dest, dinfo, "job-creation-attributes"); in show_supported()
607 show_supported(http, dest, dinfo, ippGetString(attr, i, NULL), NULL); in show_supported()
626 if (cupsCheckDestSupported(http, dest, dinfo, options[i], NULL)) in show_supported()
627 show_supported(http, dest, dinfo, options[i], NULL); in show_supported()
632 …\n", option, cupsLocalizeDestOption(http, dest, dinfo, option), cupsCheckDestSupported(http, dest,… in show_supported()
634 if ((attr = cupsFindDestSupported(http, dest, dinfo, option)) != NULL) in show_supported()
652 …mString(option, ippGetInteger(attr, i)), cupsLocalizeDestValue(http, dest, dinfo, option, valstr)); in show_supported()
681 …s (%s)\n", ippGetString(attr, i, NULL), cupsLocalizeDestValue(http, dest, dinfo, option, ippGetStr… in show_supported()
725 else if (cupsCheckDestSupported(http, dest, dinfo, option, value)) in show_supported()