/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkpapersize.c | 69 gchar *ppd_name; member 337 g_strndup (ppd_name, strlen (ppd_name) - strlen (".Transverse")); in gtk_paper_size_new_from_ppd() 369 strcmp (paper_names + size->info->ppd_name, ppd_name) != 0) in gtk_paper_size_new_from_ppd() 370 size->ppd_name = g_strdup (ppd_name); in gtk_paper_size_new_from_ppd() 532 if (other->ppd_name) in gtk_paper_size_copy() 533 size->ppd_name = g_strdup (other->ppd_name); in gtk_paper_size_copy() 689 if (size->ppd_name) in gtk_paper_size_get_ppd_name() 1013 if (ppd_name != NULL) in gtk_paper_size_new_from_key_file() 1033 g_free (ppd_name); in gtk_paper_size_new_from_key_file() 1065 if (ppd_name != NULL) in gtk_paper_size_to_key_file() [all …]
|
H A D | gen-paper-names.c | 127 if (standard_names[i].ppd_name) in main() 128 add_name (standard_names[i].ppd_name); in main() 133 add_name (extra_ppd_names[i].ppd_name); in main() 216 find_name (standard_names[i].ppd_name)); in main() 232 find_name (extra_ppd_names[i].ppd_name), in main()
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/ |
H A D | gtkpapersize.c | 66 char *ppd_name; member 330 g_strndup (ppd_name, strlen (ppd_name) - strlen (".Transverse")); in gtk_paper_size_new_from_ppd() 362 strcmp (paper_names + size->info->ppd_name, ppd_name) != 0) in gtk_paper_size_new_from_ppd() 363 size->ppd_name = g_strdup (ppd_name); in gtk_paper_size_new_from_ppd() 519 if (other->ppd_name) in gtk_paper_size_copy() 520 size->ppd_name = g_strdup (other->ppd_name); in gtk_paper_size_copy() 664 if (size->ppd_name) in gtk_paper_size_get_ppd_name() 969 if (ppd_name != NULL) in gtk_paper_size_new_from_key_file() 989 g_free (ppd_name); in gtk_paper_size_new_from_key_file() 1019 if (ppd_name != NULL) in gtk_paper_size_to_key_file() [all …]
|
H A D | gen-paper-names.c | 127 if (standard_names[i].ppd_name) in main() 128 add_name (standard_names[i].ppd_name); in main() 133 add_name (extra_ppd_names[i].ppd_name); in main() 216 find_name (standard_names[i].ppd_name)); in main() 232 find_name (extra_ppd_names[i].ppd_name), in main()
|
H A D | paper_names.c | 15 const char *ppd_name; member 209 const char *ppd_name; member
|
H A D | paper_names_offsets.c | 609 int ppd_name; member 798 int ppd_name; member
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/ |
H A D | gtkpapersize.c | 45 gchar *ppd_name; member 288 g_strndup (ppd_name, strlen (ppd_name) - strlen (".Transverse")); in gtk_paper_size_new_from_ppd() 318 strcmp (paper_names + size->info->ppd_name, ppd_name) != 0) in gtk_paper_size_new_from_ppd() 319 size->ppd_name = g_strdup (ppd_name); in gtk_paper_size_new_from_ppd() 387 if (other->ppd_name) in gtk_paper_size_copy() 388 size->ppd_name = g_strdup (other->ppd_name); in gtk_paper_size_copy() 410 g_free (size->ppd_name); in gtk_paper_size_free() 545 if (size->ppd_name) in gtk_paper_size_get_ppd_name() 855 if (ppd_name != NULL) in gtk_paper_size_new_from_key_file() 875 g_free (ppd_name); in gtk_paper_size_new_from_key_file() [all …]
|
H A D | gen-paper-names.c | 129 if (standard_names[i].ppd_name) in main() 130 add_name (standard_names[i].ppd_name); in main() 135 add_name (extra_ppd_names[i].ppd_name); in main() 218 find_name (standard_names[i].ppd_name)); in main() 234 find_name (extra_ppd_names[i].ppd_name), in main()
|
H A D | paper_names.c | 13 const gchar *ppd_name; member 190 const char *ppd_name; member
|
H A D | paper_names_offsets.c | 535 int ppd_name; member 707 int ppd_name; member
|
/dports/print/system-config-printer/system-config-printer-1.5.12/cupshelpers/ |
H A D | xmldriverprefs.py | 83 self.ppd_name = None 98 self.ppd_name = re.compile (pattern, re.I) 153 def match (self, ppd_name, attributes, fit): argument 165 if matches and self.ppd_name and not self.ppd_name.match (ppd_name): 294 for ppd_name, ppd_dict in ppdsdict.items (): 295 drivertype = self.match (ppd_name, ppd_dict, fit.get (ppd_name, 303 m.append (ppd_name) 308 for ppd_name in ppdtypes.get (drivertypename, []): 309 if ppd_name in ppdnames: 312 ppdnames.append ((drivertypename, ppd_name))
|
/dports/print/gutenprint/gutenprint-5.3.3/src/main/ |
H A D | print-ps.c | 724 char *ppd_name = NULL; in ps_external_options() local 764 desc.name, ppd_name ? ppd_name : "(null)", in ps_external_options() 768 ppd_name ? ppd_name : desc.name, in ps_external_options() 776 desc.name, ppd_name ? ppd_name : "(null)", in ps_external_options() 781 ppd_name ? ppd_name : desc.name, in ps_external_options() 790 desc.name, ppd_name ? ppd_name : "(null)", in ps_external_options() 797 ppd_name ? ppd_name : desc.name, in ps_external_options() 806 desc.name, ppd_name ? ppd_name : "(null)", in ps_external_options() 812 ppd_name ? ppd_name : desc.name, in ps_external_options() 822 desc.name, ppd_name ? ppd_name : "(null)", in ps_external_options() [all …]
|
/dports/print/gimp-gutenprint/gutenprint-5.3.3/src/main/ |
H A D | print-ps.c | 724 char *ppd_name = NULL; in ps_external_options() local 764 desc.name, ppd_name ? ppd_name : "(null)", in ps_external_options() 768 ppd_name ? ppd_name : desc.name, in ps_external_options() 776 desc.name, ppd_name ? ppd_name : "(null)", in ps_external_options() 781 ppd_name ? ppd_name : desc.name, in ps_external_options() 790 desc.name, ppd_name ? ppd_name : "(null)", in ps_external_options() 797 ppd_name ? ppd_name : desc.name, in ps_external_options() 806 desc.name, ppd_name ? ppd_name : "(null)", in ps_external_options() 812 ppd_name ? ppd_name : desc.name, in ps_external_options() 822 desc.name, ppd_name ? ppd_name : "(null)", in ps_external_options() [all …]
|
/dports/print/cups/cups-2.3.3op2/cups/ |
H A D | pwg-media.c | 774 …snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%s", pwg_format_inches(wstr, sizeof(wstr), w), pw… in pwgMediaForPPD() 776 …snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%smm", pwg_format_millimeters(wstr, sizeof(wstr),… in pwgMediaForPPD() 777 size->ppd = cg->ppd_name; in pwgMediaForPPD() 885 …snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%smm", pwg_format_millimeters(wstr, sizeof(wstr),… in pwgMediaForPWG() 887 …snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%s", pwg_format_inches(wstr, sizeof(wstr), w), pw… in pwgMediaForPWG() 888 size->ppd = cg->ppd_name; in pwgMediaForPWG() 993 …snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%s", pwg_format_inches(wstr, sizeof(wstr), width)… in _pwgMediaNearSize() 995 …snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%smm", pwg_format_millimeters(wstr, sizeof(wstr),… in _pwgMediaNearSize() 996 cg->pwg_media.ppd = cg->ppd_name; in _pwgMediaNearSize()
|
/dports/sysutils/gnome-control-center/gnome-control-center-41.2/panels/printers/ |
H A D | pp-new-printer.c | 53 gchar *ppd_name; member 99 g_clear_pointer (&self->ppd_name, g_free); in pp_new_printer_finalize() 195 g_free (self->ppd_name); in pp_new_printer_set_property() 432 if (!self->ppd_name && !self->ppd_file_name) in printer_add_real_async() 454 self->ppd_name ? self->ppd_name : self->ppd_file_name, in printer_add_real_async() 541 ppd_item && ppd_item->ppd_name) in printer_add_async_scb3() 543 self->ppd_name = g_strdup (ppd_item->ppd_name); in printer_add_async_scb3() 553 g_free (ppd_item->ppd_name); in printer_add_async_scb3() 675 self->ppd_name = g_strdup (ppd_item->ppd_name); in printer_add_async_scb() 686 g_free (ppd_item->ppd_name); in printer_add_async_scb() [all …]
|
H A D | pp-details-dialog.c | 94 names[0]->ppd_name, in get_ppd_names_cb() 140 g_autofree gchar *ppd_name = NULL; in ppd_selection_dialog_response_cb() local 142 ppd_name = pp_ppd_selection_dialog_get_ppd_name (self->pp_ppd_selection_dialog); in ppd_selection_dialog_response_cb() 144 if (self->printer_name && ppd_name) in ppd_selection_dialog_response_cb() 147 ppd_name, in ppd_selection_dialog_response_cb() 153 self->ppd_file_name = g_strdup (ppd_name); in ppd_selection_dialog_response_cb()
|
H A D | pp-ppd-selection-dialog.c | 60 gchar *ppd_name; member 111 … PPD_NAMES_COLUMN, self->list->manufacturers[index]->ppds[i]->ppd_name, in G_DEFINE_TYPE() 288 PPD_NAMES_COLUMN, &self->ppd_name, in ppd_selection_dialog_response_cb() 331 g_clear_pointer (&self->ppd_name, g_free); in pp_ppd_selection_dialog_dispose() 363 return g_strdup (self->ppd_name); in pp_ppd_selection_dialog_get_ppd_name()
|
/dports/print/cups/cups-2.3.3op2/systemv/ |
H A D | lpinfo.c | 329 *ppd_name; /* Pointer to ppd-name */ in show_models() local 404 ppd_name = NULL; in show_models() 419 ppd_name = attr->values[0].string.text; in show_models() 428 if (ppd_language == NULL || ppd_make_model == NULL || ppd_name == NULL) in show_models() 447 ppd_name, ppd_language, ppd_make_model, ppd_device_id); in show_models() 450 _cupsLangPrintf(stdout, "%s %s", ppd_name, ppd_make_model); in show_models()
|
/dports/sysutils/cinnamon-settings-daemon/cinnamon-settings-daemon-4.8.5/plugins/print-notifications/ |
H A D | csd-printer.c | 312 gchar *ppd_name = NULL; in get_best_ppd() local 373 return ppd_name; in get_best_ppd() 452 gchar *ppd_name, in add_printer() argument 464 if (!printer_name || !device_uri || !ppd_name) in add_printer() 487 ppd_name, in add_printer() 817 gchar *ppd_name; in setup_printer() local 820 ppd_name = get_best_ppd (device_id, device_make_and_model, device_uri); in setup_printer() 823 if (!ppd_name || !printer_name || !device_uri) { in setup_printer() 824 g_free (ppd_name); in setup_printer() 830 ppd_name, NULL, NULL); in setup_printer() [all …]
|
/dports/sysutils/gnome-settings-daemon/gnome-settings-daemon-3.38.2/plugins/print-notifications/ |
H A D | gsd-printer.c | 312 gchar *ppd_name = NULL; in get_best_ppd() local 373 return ppd_name; in get_best_ppd() 452 gchar *ppd_name, in add_printer() argument 464 if (!printer_name || !device_uri || !ppd_name) in add_printer() 487 ppd_name, in add_printer() 817 gchar *ppd_name; in setup_printer() local 820 ppd_name = get_best_ppd (device_id, device_make_and_model, device_uri); in setup_printer() 823 if (!ppd_name || !printer_name || !device_uri) { in setup_printer() 824 g_free (ppd_name); in setup_printer() 830 ppd_name, NULL, NULL); in setup_printer() [all …]
|
/dports/x11-toolkits/p5-Gtk2/Gtk2-1.24993/xs/ |
H A D | GtkPaperSize.xs | 18 # GtkPaperSize *gtk_paper_size_new_from_ppd (const gchar *ppd_name, const gchar *ppd_display_name, … 19 GtkPaperSize_own *gtk_paper_size_new_from_ppd (class, const gchar *ppd_name, const gchar *ppd_displ… 21 ppd_name, ppd_display_name, width, height
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/modules/printbackends/cups/ |
H A D | gtkprintercups.c | 76 printer->ppd_name = NULL; in gtk_printer_cups_init() 110 g_free (printer->ppd_name); in gtk_printer_cups_finalize() 186 result = printer->ppd_name; in gtk_printer_cups_get_ppd_name()
|
/dports/print/ghostscript9-x11/ghostscript-9.06/cups/libs/cups/ |
H A D | pwg-ppd.c | 89 ppd_name[PPD_MAX_NAME]; in _pwgCreateWithPPD() local 198 pwg_unppdize_name(ppd_size->name, ppd_name, sizeof(ppd_name)); in _pwgCreateWithPPD() 199 _pwgGenerateSize(pwg_keyword, sizeof(pwg_keyword), NULL, ppd_name, in _pwgCreateWithPPD() 914 const char *ppd_name; /* PPD media name */ in _pwgGetPageSize() local 930 ppd_name = keyword; in _pwgGetPageSize() 954 ppd_name = attr->values[0].string.text; in _pwgGetPageSize() 957 DEBUG_printf(("1_pwgGetPageSize: ppd_name=\"%s\"", ppd_name)); in _pwgGetPageSize() 959 if (ppd_name) in _pwgGetPageSize() 970 if (!strcasecmp(ppd_name, size->map.ppd)) in _pwgGetPageSize() 975 DEBUG_printf(("1_pwgGetPageSize: Returning \"%s\"", ppd_name)); in _pwgGetPageSize() [all …]
|
/dports/print/ghostscript9-base/ghostscript-9.06/cups/libs/cups/ |
H A D | pwg-ppd.c | 89 ppd_name[PPD_MAX_NAME]; in _pwgCreateWithPPD() local 198 pwg_unppdize_name(ppd_size->name, ppd_name, sizeof(ppd_name)); in _pwgCreateWithPPD() 199 _pwgGenerateSize(pwg_keyword, sizeof(pwg_keyword), NULL, ppd_name, in _pwgCreateWithPPD() 914 const char *ppd_name; /* PPD media name */ in _pwgGetPageSize() local 930 ppd_name = keyword; in _pwgGetPageSize() 954 ppd_name = attr->values[0].string.text; in _pwgGetPageSize() 957 DEBUG_printf(("1_pwgGetPageSize: ppd_name=\"%s\"", ppd_name)); in _pwgGetPageSize() 959 if (ppd_name) in _pwgGetPageSize() 970 if (!strcasecmp(ppd_name, size->map.ppd)) in _pwgGetPageSize() 975 DEBUG_printf(("1_pwgGetPageSize: Returning \"%s\"", ppd_name)); in _pwgGetPageSize() [all …]
|
/dports/print/p5-Net-CUPS/Net-CUPS-0.64/lib/Net/ |
H A D | CUPS.pm | 1183 my( $self, $name, $location, $printer_info, $ppd_name, $device_uri) = @_; 1188 $ppd_name,
|