Searched refs:pwgmedia (Results 1 – 2 of 2) sorted by relevance
/external/libcups/cups/ |
D | testpwg.c | 44 const pwg_media_t *pwgmedia; /* PWG media size */ in main() local 151 if ((pwgmedia = pwgMediaForPWG("iso_a4_210x297mm")) == NULL) in main() 156 else if (strcmp(pwgmedia->pwg, "iso_a4_210x297mm")) in main() 158 printf("FAIL (%s)\n", pwgmedia->pwg); in main() 161 else if (pwgmedia->width != 21000 || pwgmedia->length != 29700) in main() 163 printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); in main() 170 if ((pwgmedia = pwgMediaForPWG("roll_max_36.1025x3622.0472in")) == NULL) in main() 175 else if (pwgmedia->width != 91700 || pwgmedia->length != 9199999) in main() 177 printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); in main() 181 printf("PASS (%dx%d)\n", pwgmedia->width, pwgmedia->length); in main() [all …]
|
D | dest.c | 2476 pwg_media_t *pwgmedia; /* PWG media size */ in appleGetPaperSize() local 2484 else if ((pwgmedia = pwgMediaForLegacy(name)) != NULL) in appleGetPaperSize() 2485 strlcpy(name, pwgmedia->pwg, namesize); in appleGetPaperSize()
|