Searched refs:media_col (Results 1 - 3 of 3) sorted by relevance

/external/libcups/cups/
H A Dtestipp.c248 ipp_attribute_t *media_col, /* media-col attribute */ local
404 if ((media_col = ippFindAttribute(request, "media-col",
407 if ((media_col = ippFindAttribute(request, "media-col",
411 printf("FAIL (wrong type - %s)\n", ippTagString(media_col->value_tag));
415 else if (media_col->num_values != 2)
417 printf("FAIL (wrong count - %d)\n", media_col->num_values);
423 if (media_col)
426 if ((media_size = ippFindAttribute(media_col->values[0].collection,
430 if ((media_size = ippFindAttribute(media_col->values[0].collection,
484 if ((media_size = ippFindAttribute(media_col
[all...]
H A Dpwg-media.c404 *media_col, /* media-col attribute */ local
428 if ((media_col = ippFindAttribute(job, "media-col",
435 if ((media_size = ippFindAttribute(media_col->values[0].collection,
475 media_bottom_margin = ippFindAttribute(media_col->values[0].collection,
478 media_left_margin = ippFindAttribute(media_col->values[0].collection,
481 media_right_margin = ippFindAttribute(media_col->values[0].collection,
484 media_top_margin = ippFindAttribute(media_col->values[0].collection,
H A Dppd-cache.c71 ipp_t *media_col, /* media-col value */ local
212 media_col = ippNew();
222 ippAddCollection(media_col, IPP_TAG_ZERO, "media-size", media_size);
228 ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-left-margin", size->left);
230 ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-bottom-margin", size->bottom);
232 ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-right-margin", size->right);
234 ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-top-margin", size->top);
236 ippAddString(media_col, IPP_TAG_ZERO, IPP_TAG_KEYWORD, "media-source", NULL, media_source);
238 ippAddString(media_col, IPP_TAG_ZERO, IPP_TAG_KEYWORD, "media-type", NULL, media_type);
241 ippAddCollection(request, IPP_TAG_JOB, "media-col", media_col);
2174 ipp_attribute_t *media_col, /* media-col attribute */ local
2239 ipp_attribute_t *media_col, /* media-col attribute */ local
[all...]

Completed in 260 milliseconds