Searched refs:media_col (Results 1 – 3 of 3) sorted by relevance
/external/libcups/cups/ |
D | testipp.c | 248 ipp_attribute_t *media_col, /* media-col attribute */ in main() local 404 if ((media_col = ippFindAttribute(request, "media-col", in main() 407 if ((media_col = ippFindAttribute(request, "media-col", in main() 411 printf("FAIL (wrong type - %s)\n", ippTagString(media_col->value_tag)); in main() 415 else if (media_col->num_values != 2) in main() 417 printf("FAIL (wrong count - %d)\n", media_col->num_values); in main() 423 if (media_col) in main() 426 if ((media_size = ippFindAttribute(media_col->values[0].collection, in main() 430 if ((media_size = ippFindAttribute(media_col->values[0].collection, in main() 484 if ((media_size = ippFindAttribute(media_col->values[1].collection, in main() [all …]
|
D | pwg-media.c | 404 *media_col, /* media-col attribute */ in pwgInitSize() local 428 if ((media_col = ippFindAttribute(job, "media-col", in pwgInitSize() 435 if ((media_size = ippFindAttribute(media_col->values[0].collection, in pwgInitSize() 475 media_bottom_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize() 478 media_left_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize() 481 media_right_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize() 484 media_top_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize()
|
D | ppd-cache.c | 71 ipp_t *media_col, /* media-col value */ in _cupsConvertOptions() local 212 media_col = ippNew(); in _cupsConvertOptions() 222 ippAddCollection(media_col, IPP_TAG_ZERO, "media-size", media_size); in _cupsConvertOptions() 228 ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-left-margin", size->left); in _cupsConvertOptions() 230 ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-bottom-margin", size->bottom); in _cupsConvertOptions() 232 ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-right-margin", size->right); in _cupsConvertOptions() 234 ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-top-margin", size->top); in _cupsConvertOptions() 236 ippAddString(media_col, IPP_TAG_ZERO, IPP_TAG_KEYWORD, "media-source", NULL, media_source); in _cupsConvertOptions() 238 ippAddString(media_col, IPP_TAG_ZERO, IPP_TAG_KEYWORD, "media-type", NULL, media_type); in _cupsConvertOptions() 241 ippAddCollection(request, IPP_TAG_JOB, "media-col", media_col); in _cupsConvertOptions() [all …]
|