Lines Matching refs:modes
53 char **modes = NULL;
68 "job-sheets", "lp-charset", "lp-modes", "number-up",
184 appendlist(&modes, buf);
189 appendlist(&modes, buf);
194 appendlist(&modes, buf);
230 appendlist(&modes, buf);
234 * Convert attribute "orientation-requested" to modes
243 appendlist(&modes, "landscape");
248 appendlist(&modes, "portrait");
253 /* add "lp -y" modes */
254 attr = papiAttributeListFind(attributes, "lp-modes");
260 appendlist(&modes, attr->values[i]->string);
263 if (modes != NULL) {
264 if (r->modes == NULL)
265 free(r->modes);
266 r->modes = sprintlist(modes);
267 freelist(modes);
441 /* modes */
443 "lp-modes", r->modes);