Searched refs:pwgmedia (Results 1 – 2 of 2) sorted by relevance
/external/libcups/cups/ |
D | testpwg.c | 38 const pwg_media_t *pwgmedia; /* PWG media size */ in main() local 145 if ((pwgmedia = pwgMediaForPWG("iso_a4_210x297mm")) == NULL) in main() 150 else if (strcmp(pwgmedia->pwg, "iso_a4_210x297mm")) in main() 152 printf("FAIL (%s)\n", pwgmedia->pwg); in main() 155 else if (pwgmedia->width != 21000 || pwgmedia->length != 29700) in main() 157 printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); in main() 164 if ((pwgmedia = pwgMediaForPWG("roll_max_36.1025x3622.0472in")) == NULL) in main() 169 else if (pwgmedia->width != 91700 || pwgmedia->length != 9199999) in main() 171 printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); in main() 175 printf("PASS (%dx%d)\n", pwgmedia->width, pwgmedia->length); in main() [all …]
|
D | dest.c | 2388 pwg_media_t *pwgmedia; /* PWG media size */ in appleGetPaperSize() local 2396 else if ((pwgmedia = pwgMediaForLegacy(name)) != NULL) in appleGetPaperSize() 2397 strlcpy(name, pwgmedia->pwg, namesize); in appleGetPaperSize()
|