| /sfw/usr/src/cmd/a2ps/a2ps-4.13/lib/ |
| ppd.h | 2 * ppd.h 31 * $Id: ppd.h,v 1.1 1998/03/02 08:57:09 demaille Exp $ 41 struct ppd struct 52 void ppd_font_add PARAMS ((struct ppd * pdd, const char * fontname)); 53 int ppd_font_known_p PARAMS ((struct ppd * pdd, const char * fontname)); 58 struct ppd * ppd_new PARAMS ((void)); 59 void ppd_free PARAMS ((struct ppd * pdd)); 60 struct ppd * _a2ps_ppd_get PARAMS ((char * const * path, const char * key)); 70 struct ppd * a2ps_ppd_parse
|
| ppd.c | 2 * ppd.c 30 * $Id: ppd.c,v 1.2 1998/03/04 17:27:02 demaille Exp $ 34 #include "ppd.h" 44 #define PPD_SUFFIX ".ppd" 50 ppd_font_add (struct ppd * ppd, const char * fontname) 52 string_htable_add (ppd->fonts, fontname); 56 ppd_font_known_p (struct ppd * ppd, const char * fontname) 58 return (string_htable_get (ppd->fonts, fontname) != NULL) [all...] |
| parseppd.h | 5 struct ppd * ppd; member in union:__anon124
|
| parseppd.y | 45 #include "ppd.h" 67 static struct ppd * ppd_parse_result; 74 struct ppd * ppd; 82 %type <ppd> ppd 93 ppd 100 ppd : 105 | ppd font_clause EOL 110 | ppd tModelName ':' STRING EO 99 ppd : label [all...] |
| /sfw/usr/src/pkgdefs/SUNWhpijs/ |
| prototype_com | 45 d none usr/share/ppd 0755 root lp 46 d none usr/share/ppd/SUNWhpijs 0755 root bin 47 d none usr/share/ppd/SUNWhpijs/HP 0755 root bin 48 f none usr/share/ppd/SUNWhpijs/HP/hp-2000c-hpijs.ppd.gz 0444 root bin 49 f none usr/share/ppd/SUNWhpijs/HP/hp-2500c-hpijs.ppd.gz 0444 root bin 50 f none usr/share/ppd/SUNWhpijs/HP/hp-910-hpijs.ppd.gz 0444 root bin 51 f none usr/share/ppd/SUNWhpijs/HP/hp-915-hpijs.ppd.gz 0444 root bi [all...] |
| /sfw/usr/src/cmd/cups/cups-1.4.1/cups/ |
| page.c | 31 #include "ppd.h" 42 ppdPageSize(ppd_file_t *ppd, /* I - PPD file record */ 54 DEBUG_printf(("2ppdPageSize(ppd=%p, name=\"%s\")", ppd, name)); 56 if (!ppd) 58 DEBUG_puts("3ppdPageSize: Bad PPD pointer, returning NULL..."); 64 if (!strncmp(name, "Custom.", 7) && ppd->variable_sizes) 70 for (i = ppd->num_sizes, size = ppd->sizes; i > 0; i --, size ++ [all...] |
| mark.c | 21 * cupsMarkOptions() - Mark command-line options in a PPD file. 26 * ppdMarkDefaults() - Mark all default options in the PPD file. 27 * ppdMarkOption() - Mark an option in a PPD file and return the number 29 * ppdFirstOption() - Return the first option in the PPD file. 30 * ppdNextOption() - Return the next option in the PPD file. 31 * _ppdParseOptions() - Parse options from a PPD file. 56 static void debug_marked(ppd_file_t *ppd, const char *title); 58 # define debug_marked(ppd,title) 60 static void ppd_defaults(ppd_file_t *ppd, ppd_group_t *g); 61 static void ppd_mark_choices(ppd_file_t *ppd, const char *s) [all...] |
| testppd.c | 4 * PPD test program for the Common UNIX Printing System (CUPS). 135 ppd_file_t *ppd; /* PPD file loaded from disk */ local 172 * Do tests with test.ppd... 175 fputs("ppdOpenFile(test.ppd): ", stdout); 177 if ((ppd = ppdOpenFile("test.ppd")) != NULL) 192 if ((attr = ppdFindAttr(ppd, "cupsTest", NULL)) == NULL) 206 if ((attr = ppdFindNextAttr(ppd, "cupsTest", NULL)) == NULL) 220 if ((attr = ppdFindAttr(ppd, "cupsTest", "Foo")) == NULL [all...] |
| ppd.h | 2 * "$Id: ppd.h 8673 2009-05-22 17:34:15Z mike $" 50 * PPD version... 57 * PPD size limits (defined in Adobe spec) 99 PPD_FILE_OPEN_ERROR, /* Unable to open PPD file */ 100 PPD_NULL_FILE, /* NULL PPD file pointer */ 102 PPD_MISSING_PPDADOBE4, /* Missing PPD-Adobe-4.x header */ 130 typedef struct ppd_attr_s /**** PPD Attribute Structure @since CUPS 1.1.19/Mac OS X 10.3@ ****/ 272 typedef struct ppd_file_s /**** PPD File ****/ 341 extern void ppdClose(ppd_file_t *ppd); 342 extern int ppdCollect(ppd_file_t *ppd, ppd_section_t section [all...] |
| localize.c | 4 * PPD localization routines for the Common UNIX Printing System (CUPS). 28 * ppdLocalize() - Localize the PPD file to the current locale. 35 * _ppdGetLanguages() - Get an array of languages from a PPD file. 47 #include "ppd-private.h" 59 * 'ppdLocalize()' - Localize the PPD file to the current locale. 69 ppdLocalize(ppd_file_t *ppd) /* I - PPD file */ 87 DEBUG_printf(("ppdLocalize(ppd=%p)", ppd)); 89 if (!ppd) [all...] |
| emit.c | 4 * PPD code emission routines for the Common UNIX Printing System (CUPS). 41 #include "ppd.h" 59 static void ppd_handle_media(ppd_file_t *ppd); 80 ppdCollect(ppd_file_t *ppd, /* I - PPD file data */ 84 return (ppdCollect2(ppd, section, 0.0, choices)); 99 ppdCollect2(ppd_file_t *ppd, /* I - PPD file data */ 112 DEBUG_printf(("ppdCollect2(ppd=%p, section=%d, min_order=%f, choices=%p)", 113 ppd, section, min_order, choices)) [all...] |
| /sfw/usr/src/cmd/gutenprint/gutenprint-5.2.4/src/cups/ |
| test-ppds | 6 rm -rf ppd ppd-stamp 7 make ppd 10 ppd_count=`find ppd \( -name '*.ppd.gz' -o -name '*.ppd' \) -print | wc -l` 12 failures="`find ppd -name '*.ppd*' -print | xargs cupstestppd |grep 'FAIL$' | awk -F: '{print $1}'`" 15 echo "All $ppd_count PPD files pass" 19 # Use this with "normal" PPD files without translated numbers [all...] |
| Makefile.am | 54 PPD = ppd-global 56 PPD = $(PPD_NLS_1) 61 PPD = ppd-nonls 122 INSTALL_DATA_LOCAL_DEPS = ppd-stamp 126 PPD_NLS_1 = ppd-nls 133 cd ppd ; \ 137 cd ppd/$$language; \ 139 (cd ../..; $(INSTALL_DATA) ppd/$$language/$$ppdfile $(DESTDIR)$(cups_modeldir)/$$language) ; [all...] |
| /sfw/usr/src/cmd/webmin/webmin-1.340/lpadmin/ |
| solaris-driver.pl | 5 $cups_ppd_dir = "/etc/lp/ppd"; 20 local $ppd = $_[1]->{'ppd'} ? &parse_cups_ppd($_[1]->{'ppd'}) : undef; 21 if ($ppd && $ppd->{'NickName'}) { 22 # Printer has a PPD file 24 'manuf' => $ppd->{'Manufacturer'}, 25 'model' => $ppd->{'ModelName'}, 26 'nick' => $ppd->{'NickName'} [all...] |
| cups-driver.pl | 5 $cups_ppd_dir = "/etc/cups/ppd"; 52 local $ppd = &parse_cups_ppd($_[0]); 53 if ($ppd->{'NickName'}) { 54 # Looks like a CUPS PPD file! 56 'manuf' => $ppd->{'Manufacturer'}, 57 'model' => $ppd->{'ModelName'}, 58 'nick' => $ppd->{'NickName'}, 59 'desc' => "$ppd->{'Manufacturer'} $ppd->{'ModelName'}" }; 90 local $drv = "$cups_ppd_dir/$_[0]->{'name'}.ppd"; [all...] |
| /sfw/usr/src/cmd/cups/cups-1.4.1/filter/ |
| commandtops.c | 39 static void auto_configure(ppd_file_t *ppd, const char *user); 40 static void begin_ps(ppd_file_t *ppd, const char *user); 41 static void end_ps(ppd_file_t *ppd); 42 static void print_self_test_page(ppd_file_t *ppd, const char *user); 43 static void report_levels(ppd_file_t *ppd, const char *user); 58 ppd_file_t *ppd; /* PPD file */ local 77 * Open the PPD file... 80 if ((ppd = ppdOpenFile(getenv("PPD"))) == NULL [all...] |
| /sfw/usr/src/cmd/foomatic-ppd/ |
| findunsupported.sh | 30 # Find the PPD files delivered by foomatic that Sun does not support. 34 # 2. The driver used by the PPD file must be brought down 37 # The unsupported PPD file should be listed in /tmp/ppdunsupported for review. 47 # Drivers are noted in many PPD files with driverType. To sort these, look 51 # Drivers are also noted in the name of the ppd file. This is used 54 # ppd files that use this driver do not utilize the driverType line. 57 # driverType F/Filter: "" denotes ppd files that use GhostScript and 63 if [ -f ${SRC}/cmd/foomatic-ppd/ppdunsupported ]; then 64 /bin/rm ${SRC}/cmd/foomatic-ppd/ppdunsupported 66 if [ -f ${SRC}/cmd/foomatic-ppd/ppdsnomatch ]; the [all...] |
| /sfw/usr/src/cmd/cups/cups-1.4.1/ppdc/ |
| ppdc-import.cxx | 4 // PPD file import methods for the CUPS PPD Compiler. 17 // ppdcSource::import_ppd() - Import a PPD file. 18 // ppd_gets() - Get a line from a PPD file. 26 #include <cups/ppd.h> 31 // 'ppdcSource::import_ppd()' - Import a PPD file. 42 ppd_file_t *ppd; // PPD file data local 43 ppd_group_t *group; // PPD group 44 ppd_option_t *option; // PPD optio [all...] |
| ppdmerge.cxx | 4 // PPD file merge utility for the CUPS PPD Compiler. 17 // main() - Main entry for the PPD merge utility. 18 // ppd_locale() - Return the locale associated with a PPD file. 26 #include <cups/ppd-private.h> 38 static const char *ppd_locale(ppd_file_t *ppd); 43 // 'main()' - Main entry for the PPD merge utility. 52 ppd_file_t *ppd; // PPD file local 53 cups_array_t *ppds; // Array of PPD file [all...] |
| /sfw/usr/src/cmd/cups/cups-1.4.1/monitor/ |
| bcp.c | 52 ppd_file_t *ppd; /* PPD file */ local 83 * Open the PPD file as needed... 86 ppd = ppdOpenFile(getenv("PPD")); 96 if (ppd && ppd->jcl_begin) 97 fputs(ppd->jcl_begin, stdout); 98 if (ppd && ppd->jcl_ps [all...] |
| /sfw/usr/src/cmd/cups/cups-1.4.1/driver/ |
| attr.c | 4 * PPD attribute lookup routine for CUPS. 17 * cupsFindAttr() - Find a PPD attribute based on the colormodel, 30 * 'cupsFindAttr()' - Find a PPD attribute based on the colormodel, 35 cupsFindAttr(ppd_file_t *ppd, /* I - PPD file */ 50 if (!ppd || !name || !colormodel || !media || !resolution || !spec || 68 if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) 73 if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) 78 if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) 83 if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL [all...] |
| commandtopclx.c | 43 ppd_file_t *ppd; /* PPD file */ local 62 * Open the PPD file... 65 if ((ppd = ppdOpenFile(getenv("PPD"))) == NULL) 67 fputs("ERROR: Unable to open PPD file!\n", stderr); 126 (ppd->model_number & PCL_INKJET)) 160 ppdClose(ppd);
|
| /sfw/usr/src/cmd/cups/cups-1.4.1/scheduler/ |
| cups-driverd.cxx | 4 * PPD/driver support for the Common UNIX Printing System (CUPS). 6 * This program handles listing and installing static PPD files, PPD files 7 * created from driver information files, and dynamically generated PPD files 22 * add_ppd() - Add a PPD file. 23 * cat_drv() - Generate a PPD from a driver info file. 24 * cat_ppd() - Copy a PPD file to stdout. 25 * copy_static() - Copy a static PPD file to stdout. 27 * compare_matches() - Compare PPD match scores for sorting. 28 * compare_names() - Compare PPD filenames for sorting 213 ppd_info_t *ppd; \/* PPD *\/ local 750 ppd_info_t *ppd; \/* Current PPD *\/ local 807 ppd_info_t *ppd; \/* Current PPD file *\/ local 1374 ppd_info_t *ppd, \/* New PPD file *\/ local 1916 ppd_info_t *ppd; \/\/ Current PPD local 2059 ppd_info_t *ppd; \/* Newly added PPD *\/ local 2272 ppd_info_t *ppd; \/* Current PPD file *\/ local [all...] |
| /sfw/usr/src/cmd/pycups/pycups-1.9.46/ |
| test.py | 24 print "Getting PPD for %s" % printers[len (printers) - 1] 26 ppd = cups.PPD (f) 27 ppd.markDefaults () 28 print ppd.conflicts () 29 groups = ppd.optionGroups
|
| cupsppd.h | 24 #include <cups/ppd.h> 37 ppd_file_t *ppd; member in struct:__anon2572 41 } PPD; 43 extern PyObject *PPD_writeFd (PPD *self, PyObject *args);
|