Home
last modified time | relevance | path

Searched refs:ppdname (Results 1 – 25 of 30) sorted by relevance

12

/dports/print/system-config-printer/system-config-printer-1.5.12/cupshelpers/
H A Dppds.py398 to_remove.append (ppdname)
400 for ppdname in to_remove:
401 del self.ppds[ppdname]
464 return self.ppds[ppdname]
501 for ppdname in ppdnamelist:
502 ppds[ppdname] = self.ppds[ppdname]
524 for ppdname in ppdnamelist:
681 for ppdname in fit.keys ():
683 failed.add (ppdname)
715 for ppdname in fit.keys ():
[all …]
H A Dxmldriverprefs.py254 def match (self, ppdname, ppddict, fit): argument
261 if drivertype.match (ppdname, ppddict, fit):
589 for ppdname in fit.keys ():
590 ppds[ppdname] = ppdfinder.getInfoFromPPDName (ppdname)
608 for ppdname in ppdsdict.keys ():
609 fit[ppdname] = DriverType.FIT_CLOSE
/dports/print/cups-filters/cups-filters-1.28.10/drv/
H A Dcustom-media-lines20 if [ "$ppdname" != "NULL" ]; then
21 shortname="$ppdname"
29 if [ "$ppdname" != "NULL" ]; then
30 longname="$ppdname"
/dports/print/system-config-printer/system-config-printer-1.5.12/udev/
H A Dudev-add-printer35 def create_queue (c, printers, name, device_uri, ppdname, info, installer):
60 ppdname=ppdname,
78 syslog (LOG_ERROR, "PPD %s requires %s" % (ppdname,
149 (status, ppdname) = ppds.getPPDNameFromDeviceID (id_dict["MFG"],
154 syslog (LOG_DEBUG, "PPD: %s; Status: %d" % (ppdname, status))
167 uniquename = create_queue (c, printers, name, device_uris[0], ppdname,
/dports/print/cups-filters/cups-filters-1.28.10/cupsfilters/
H A Dppdgenerator.c2184 ippAttributeString(attr, ppdname, sizeof(ppdname)); in ppdCreateFromIPP2()
2333 "*DefaultPaperDimension: %s\n", ppdname, ppdname); in ppdCreateFromIPP2()
2550 pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); in ppdCreateFromIPP2()
2584 strlcpy(ppdname, "Unknown", sizeof(ppdname)); in ppdCreateFromIPP2()
2739 ppdname); in ppdCreateFromIPP2()
2743 pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); in ppdCreateFromIPP2()
3121 strlcpy(ppdname, "Unknown", sizeof(ppdname)); in ppdCreateFromIPP2()
3184 pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); in ppdCreateFromIPP2()
3873 strlcpy(ppdname, "auto", sizeof(ppdname)); in ppdCreateFromIPP2()
3931 strlcpy(ppdname, "auto", sizeof(ppdname)); in ppdCreateFromIPP2()
[all …]
H A Dppdgenerator.h88 char* ppdname);
/dports/print/cups/cups-2.3.3op2/cups/
H A Dppd-util.c189 char ppdname[1024]; /* PPD filename */ in cupsGetPPD3() local
193 snprintf(ppdname, sizeof(ppdname), "%s/ppd/%s.ppd", cg->cups_serverroot, in cupsGetPPD3()
195 if (!stat(ppdname, &ppdinfo) && !access(ppdname, R_OK)) in cupsGetPPD3()
207 if (symlink(ppdname, buffer) && errno != EEXIST) in cupsGetPPD3()
281 if (!symlink(ppdname, buffer)) in cupsGetPPD3()
284 …DEBUG_printf(("2cupsGetPPD3: Symlink \"%s\" to \"%s\" failed: %s", ppdname, buffer, strerror(errno… in cupsGetPPD3()
H A Dppd-cache.c3292 strlcpy(ppdname, pwg->ppd, sizeof(ppdname)); in _ppdCreateFromIPP()
3294 strlcpy(ppdname, "Unknown", sizeof(ppdname)); in _ppdCreateFromIPP()
3297 strlcpy(ppdname, "Unknown", sizeof(ppdname)); in _ppdCreateFromIPP()
3300 strlcpy(ppdname, pwg->ppd, sizeof(ppdname)); in _ppdCreateFromIPP()
3302 strlcpy(ppdname, "Unknown", sizeof(ppdname)); in _ppdCreateFromIPP()
3694 pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); in _ppdCreateFromIPP()
3718 strlcpy(ppdname, "Unknown", sizeof(ppdname)); in _ppdCreateFromIPP()
3729 pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); in _ppdCreateFromIPP()
3941 strlcpy(ppdname, "Unknown", sizeof(ppdname)); in _ppdCreateFromIPP()
3964 pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); in _ppdCreateFromIPP()
[all …]
/dports/print/photoprint/photoprint-0.4.2-pre2/stp_support/
H A Dprinterqueues_unix.c357 const char *ppdname=cupsGetPPD(pq->priv->currentqueue); in getdriver() local
358 if(ppdname) in getdriver()
361 int len=strlen(cmd)+strlen(ppdname)+2; in getdriver()
365 sprintf(cmd2,cmd,ppdname); in getdriver()
400 const char *ppdname=cupsGetPPD(pq->priv->currentqueue); in getppd() local
401 if(ppdname) in getppd()
402 result=strdup(ppdname); in getppd()
/dports/print/p5-Net-CUPS/Net-CUPS-0.64/lib/Net/
H A DCUPS.pm1174 my( $self, $ppdname) = @_;
1175 return( NETCUPS_getPPDFileName( $ppdname ) );
/dports/print/system-config-printer/system-config-printer-1.5.12/
H A Dtest_ppds.py151 (status, ppdname) = ppds.getPPDNameFromDeviceID (id_dict["MFG"],
155 ppddict = ppds.getInfoFromPPDName (ppdname)
H A Dnewprinter.py1554 ppdname = None
1558 ppdname = "download"
1564 ppdname = 'raw'
1565 self.ppd = ppdname
1603 status = fit[ppdname]
1625 if ppdname:
1628 ppdname = 'raw'
1633 ppdname = 'raw'
1634 self.ppd = ppdname
1647 if (ppdname and
[all …]
H A Dcupspk.py483 …(filename, ppdname, info, location, device, ppd) = self._kwds_to_vars(['filename', 'ppdname', 'inf…
486 if not ppdname and not filename and ppd:
492 if filename and not ppdname:
501 pk_args = (name, device, ppdname, info, location)
H A Dppdsloader.py183 ppdname = ppdnamelist[0]
185 not fit[ppdname].startswith ("exact") and
H A Dscp-dbus-service.py172 ppdname = ppdnamelist[0]
173 status = fit[ppdname]
/dports/print/cups-filters/cups-filters-1.28.10/utils/
H A Ddriverless.c607 char buffer[65536], ppdname[1024]; in generate_ppd() local
647 if (!ppdCreateFromIPP(ppdname, sizeof(ppdname), response, NULL, NULL, 0, in generate_ppd()
660 fprintf(stderr, "DEBUG: Created temporary PPD file: %s\n", ppdname); in generate_ppd()
666 fd = open(ppdname, O_RDONLY); in generate_ppd()
670 unlink(ppdname); in generate_ppd()
/dports/print/foomatic-db-engine/foomatic-db-engine-4.0.13/
H A Dfoomatic-ppdfile.in190 my $ppdname = $1;
191 my @poidcomponents = split(/-/, $ppdname);
205 die "ERROR: Could not determine driver name for $ppdname.ppd!\n"
/dports/print/ghostscript9-base/ghostscript-9.06/cups/libs/cups/
H A Dutil.c947 char ppdname[1024]; /* PPD filename */ in cupsGetPPD3() local
951 snprintf(ppdname, sizeof(ppdname), "%s/ppd/%s.ppd", cg->cups_serverroot, in cupsGetPPD3()
953 if (!stat(ppdname, &ppdinfo)) in cupsGetPPD3()
963 if (symlink(ppdname, buffer) && errno != EEXIST) in cupsGetPPD3()
1016 if (!symlink(ppdname, buffer)) in cupsGetPPD3()
H A Dpwg-private.h131 const char *ppdname,
/dports/print/ghostscript9-x11/ghostscript-9.06/cups/libs/cups/
H A Dutil.c947 char ppdname[1024]; /* PPD filename */ in cupsGetPPD3() local
951 snprintf(ppdname, sizeof(ppdname), "%s/ppd/%s.ppd", cg->cups_serverroot, in cupsGetPPD3()
953 if (!stat(ppdname, &ppdinfo)) in cupsGetPPD3()
963 if (symlink(ppdname, buffer) && errno != EEXIST) in cupsGetPPD3()
1016 if (!symlink(ppdname, buffer)) in cupsGetPPD3()
H A Dpwg-private.h131 const char *ppdname,
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/cups/libs/cups/
H A Dutil.c952 char ppdname[1024]; /* PPD filename */ in cupsGetPPD3() local
956 snprintf(ppdname, sizeof(ppdname), "%s/ppd/%s.ppd", cg->cups_serverroot, in cupsGetPPD3()
958 if (!stat(ppdname, &ppdinfo)) in cupsGetPPD3()
968 if (symlink(ppdname, buffer) && errno != EEXIST) in cupsGetPPD3()
1021 if (!symlink(ppdname, buffer)) in cupsGetPPD3()
/dports/print/py-pycups/pycups-2.0.1/
H A Dcupsconnection.c1159 if (ppdname) { in do_getPPDs()
2386 char *ppdname = NULL; in Connection_addPrinter() local
2412 free (ppdname); in Connection_addPrinter()
2420 name, ppdfile ? ppdfile: "", ppdname ? ppdname: "", in Connection_addPrinter()
2426 if (ppdname) in Connection_addPrinter()
2434 free (ppdname); in Connection_addPrinter()
2449 free (ppdname); in Connection_addPrinter()
2469 free (ppdname); in Connection_addPrinter()
2486 free (ppdname); in Connection_addPrinter()
2496 if (ppdname) { in Connection_addPrinter()
[all …]
/dports/print/cups/cups-2.3.3op2/systemv/
H A Dlpadmin.c1342 const char *ppdname, /* ppd-name value */ in set_printer_options() local
1376 …else if ((ppdname = cupsGetOption("ppd-name", num_options, options)) != NULL && strcmp(ppdname, "r… in set_printer_options()
1378 if ((ppdfile = cupsGetServerPPD(http, ppdname)) != NULL) in set_printer_options()
/dports/print/hplip/hplip-3.20.6/prnt/cupsext/
H A Dcupsext.c788 char *ppdname = NULL; in getPPDList() local
804 ppdname = ippGetString( attr, 0, NULL ); in getPPDList()
826 if (ppdname) in getPPDList()
828 PyDict_SetItemString (result, ppdname, dict); in getPPDList()

12