• Home
  • Raw
  • Download

Lines Matching refs:finishings

35 static void	pwg_add_finishing(cups_array_t *finishings, ipp_finishings_t template, const char *name…
79 finishings[10]; /* Finishing enum values */ in _cupsConvertOptions() local
366 …ishingValues(pc, num_options, options, (int)(sizeof(finishings) / sizeof(finishings[0])), finishin… in _cupsConvertOptions()
369 ippAddIntegers(request, IPP_TAG_JOB, IPP_TAG_ENUM, "finishings", num_finishings, finishings); in _cupsConvertOptions()
402 _pwg_finishings_t *finishings; /* Current finishings option */ in _ppdCacheCreateWithFile() local
856 if (!pc->finishings) in _ppdCacheCreateWithFile()
857 pc->finishings = in _ppdCacheCreateWithFile()
862 if ((finishings = calloc(1, sizeof(_pwg_finishings_t))) == NULL) in _ppdCacheCreateWithFile()
865 finishings->value = (ipp_finishings_t)strtol(value, &valueptr, 10); in _ppdCacheCreateWithFile()
866 finishings->num_options = cupsParseOptions(valueptr, 0, in _ppdCacheCreateWithFile()
867 &(finishings->options)); in _ppdCacheCreateWithFile()
869 cupsArrayAdd(pc->finishings, finishings); in _ppdCacheCreateWithFile()
998 _pwg_finishings_t *finishings; /* Current finishings value */ in _ppdCacheCreateWithPPD() local
1676 pc->finishings = cupsArrayNew3((cups_array_func_t)pwg_compare_finishings, in _ppdCacheCreateWithPPD()
1682 if ((finishings = calloc(1, sizeof(_pwg_finishings_t))) == NULL) in _ppdCacheCreateWithPPD()
1685 finishings->value = (ipp_finishings_t)atoi(ppd_attr->spec); in _ppdCacheCreateWithPPD()
1686 finishings->num_options = _ppdParseOptions(ppd_attr->value, 0, in _ppdCacheCreateWithPPD()
1687 &(finishings->options), in _ppdCacheCreateWithPPD()
1690 cupsArrayAdd(pc->finishings, finishings); in _ppdCacheCreateWithPPD()
1703 …pc->finishings = cupsArrayNew3((cups_array_func_t)pwg_compare_finishings, NULL, NULL, 0, NULL, (cu… in _ppdCacheCreateWithPPD()
1712 …pwg_add_finishing(pc->finishings, IPP_FINISHINGS_STAPLE_TOP_LEFT, "StapleLocation", "SinglePortrai… in _ppdCacheCreateWithPPD()
1714 … pwg_add_finishing(pc->finishings, IPP_FINISHINGS_STAPLE_TOP_LEFT, "StapleLocation", "UpperLeft"); in _ppdCacheCreateWithPPD()
1716 …pwg_add_finishing(pc->finishings, IPP_FINISHINGS_STAPLE_TOP_RIGHT, "StapleLocation", "UpperRight"); in _ppdCacheCreateWithPPD()
1718 …pwg_add_finishing(pc->finishings, IPP_FINISHINGS_STAPLE_BOTTOM_LEFT, "StapleLocation", "SingleLand… in _ppdCacheCreateWithPPD()
1720 …pwg_add_finishing(pc->finishings, IPP_FINISHINGS_STAPLE_DUAL_LEFT, "StapleLocation", "DualLandscap… in _ppdCacheCreateWithPPD()
1730 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_DUAL_LEFT, "RIPunch", "Left2"); in _ppdCacheCreateWithPPD()
1732 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_TRIPLE_LEFT, "RIPunch", "Left3"); in _ppdCacheCreateWithPPD()
1734 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_QUAD_LEFT, "RIPunch", "Left4"); in _ppdCacheCreateWithPPD()
1736 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_DUAL_RIGHT, "RIPunch", "Right2"); in _ppdCacheCreateWithPPD()
1738 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_TRIPLE_RIGHT, "RIPunch", "Right3"); in _ppdCacheCreateWithPPD()
1740 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_QUAD_RIGHT, "RIPunch", "Right4"); in _ppdCacheCreateWithPPD()
1742 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_DUAL_TOP, "RIPunch", "Upper2"); in _ppdCacheCreateWithPPD()
1744 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_TRIPLE_TOP, "RIPunch", "Upper3"); in _ppdCacheCreateWithPPD()
1746 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_QUAD_TOP, "RIPunch", "Upper4"); in _ppdCacheCreateWithPPD()
1756 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_BIND_LEFT, "BindEdge", "Left"); in _ppdCacheCreateWithPPD()
1758 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_BIND_RIGHT, "BindEdge", "Right"); in _ppdCacheCreateWithPPD()
1760 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_BIND_TOP, "BindEdge", "Top"); in _ppdCacheCreateWithPPD()
1762 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_BIND_BOTTOM, "BindEdge", "Bottom"); in _ppdCacheCreateWithPPD()
1772 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_Z, "FoldType", "ZFold"); in _ppdCacheCreateWithPPD()
1774 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_HALF, "FoldType", "Saddle"); in _ppdCacheCreateWithPPD()
1776 … pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_DOUBLE_GATE, "FoldType", "DoubleGate"); in _ppdCacheCreateWithPPD()
1778 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_LEFT_GATE, "FoldType", "LeftGate"); in _ppdCacheCreateWithPPD()
1780 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_RIGHT_GATE, "FoldType", "RightGate"); in _ppdCacheCreateWithPPD()
1782 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_LETTER, "FoldType", "Letter"); in _ppdCacheCreateWithPPD()
1784 pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_POSTER, "FoldType", "XFold"); in _ppdCacheCreateWithPPD()
1794 … pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_LETTER, "RIFoldType", "OutsideTwoFold"); in _ppdCacheCreateWithPPD()
1797 if (cupsArrayCount(pc->finishings) == 0) in _ppdCacheCreateWithPPD()
1799 cupsArrayDelete(pc->finishings); in _ppdCacheCreateWithPPD()
1800 pc->finishings = NULL; in _ppdCacheCreateWithPPD()
1949 cupsArrayDelete(pc->finishings); in _ppdCacheDestroy()
2019 if (!pc || cupsArrayCount(pc->finishings) == 0 || !options || in _ppdCacheGetFinishingOptions()
2035 if ((f = cupsArrayFind(pc->finishings, &key)) != NULL) in _ppdCacheGetFinishingOptions()
2049 if ((f = cupsArrayFind(pc->finishings, &key)) != NULL) in _ppdCacheGetFinishingOptions()
2094 else if (!pc->finishings) in _ppdCacheGetFinishingValues()
2104 for (f = (_pwg_finishings_t *)cupsArrayFirst(pc->finishings); in _ppdCacheGetFinishingValues()
2106 f = (_pwg_finishings_t *)cupsArrayNext(pc->finishings)) in _ppdCacheGetFinishingValues()
2867 for (f = (_pwg_finishings_t *)cupsArrayFirst(pc->finishings); in _ppdCacheWriteFile()
2869 f = (_pwg_finishings_t *)cupsArrayNext(pc->finishings)) in _ppdCacheWriteFile()
2976 static const char * const finishings[][2] = in _ppdCreateFromIPP() local
3938 for (j = 0; j < (int)(sizeof(finishings) / sizeof(finishings[0])); j ++) in _ppdCreateFromIPP()
3940 if (!strcmp(finishings[j][0], name)) in _ppdCreateFromIPP()
3943 …"*%s.StapleLocation %s/%s: \"\"\n", lang->language, name, _cupsLangString(lang, finishings[j][1])); in _ppdCreateFromIPP()
3988 for (j = 0; j < (int)(sizeof(finishings) / sizeof(finishings[0])); j ++) in _ppdCreateFromIPP()
3990 if (!strcmp(finishings[j][0], name)) in _ppdCreateFromIPP()
3993 …f(fp, "*%s.FoldType %s/%s: \"\"\n", lang->language, name, _cupsLangString(lang, finishings[j][1])); in _ppdCreateFromIPP()
4038 for (j = 0; j < (int)(sizeof(finishings) / sizeof(finishings[0])); j ++) in _ppdCreateFromIPP()
4040 if (!strcmp(finishings[j][0], name)) in _ppdCreateFromIPP()
4043 …fp, "*%s.PunchMedia %s/%s: \"\"\n", lang->language, name, _cupsLangString(lang, finishings[j][1])); in _ppdCreateFromIPP()
4415 cups_array_t *finishings, /* I - Finishings array */ in pwg_add_finishing() argument
4428 cupsArrayAdd(finishings, f); in pwg_add_finishing()