Searched refs:media_size (Results 1 – 2 of 2) sorted by relevance
/third_party/cups-filters/cupsfilters/ |
D | ppdgenerator.c | 1182 *media_size; /* Media size collection */ in generate_sizes() local 1239 media_size = ippGetCollection(attr, 0); in generate_sizes() 1240 x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_INTEGER); in generate_sizes() 1241 y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_INTEGER); in generate_sizes() 1305 media_size = in generate_sizes() 1308 x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_ZERO); in generate_sizes() 1309 y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_ZERO); in generate_sizes() 1385 media_size = ippGetCollection(attr, i); in generate_sizes() 1386 x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_ZERO); in generate_sizes() 1387 y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_ZERO); in generate_sizes() [all …]
|
/third_party/cups-filters/utils/ |
D | cups-browsed.c | 809 ipp_t *media_size = ippNew(); /* media-size value */ in create_media_size() local 811 ippAddInteger(media_size, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "x-dimension", in create_media_size() 813 ippAddInteger(media_size, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "y-dimension", in create_media_size() 816 return (media_size); in create_media_size() 829 ipp_t *media_size = ippNew(); in create_media_range() local 830 ippAddRange(media_size, IPP_TAG_PRINTER, "x-dimension", in create_media_range() 832 ippAddRange(media_size, IPP_TAG_PRINTER, "y-dimension", in create_media_range() 834 return (media_size); in create_media_range() 947 *media_size = create_media_size(width, length); in create_media_col() local 949 ippAddCollection(media_col, IPP_TAG_PRINTER, "media-size", media_size); in create_media_col() [all …]
|