Home | History | Annotate | Download | only in filter

Lines Matching refs:cupsHeight

153   h->cupsHeight = (unsigned)(media->length * ydpi / 2540);
155 if (h->cupsWidth > 0x00ffffff || h->cupsHeight > 0x00ffffff)
162 h->cupsInteger[CUPS_RASTER_PWG_ImageBoxBottom] = h->cupsHeight;
906 fh.cupsHeight = htonl(r->header.cupsHeight);
991 appleheader[16] = (unsigned char)(r->header.cupsHeight >> 24);
992 appleheader[17] = (unsigned char)(r->header.cupsHeight >> 16);
993 appleheader[18] = (unsigned char)(r->header.cupsHeight >> 8);
994 appleheader[19] = (unsigned char)(r->header.cupsHeight);
1088 fh.cupsHeight = htonl(r->header.cupsHeight);
1114 unsigned height = r->header.cupsHeight * r->rowheight;
1473 r->header.cupsHeight = ((((((unsigned)appleheader[16] << 8) | (unsigned)appleheader[17]) << 8) | (unsigned)appleheader[18]) << 8) | (unsigned)appleheader[19];
1481 r->header.PageSize[1] = (unsigned)(r->header.cupsHeight * 72 / r->header.HWResolution[1]);
1483 r->header.cupsPageSize[1] = (float)(r->header.cupsHeight * 72.0 / r->header.HWResolution[1]);
1499 DEBUG_printf(("4cups_raster_read_header: cupsBitsPerPixel=%u, cupsBitsPerColor=%u, cupsBytesPerLine=%u, cupsWidth=%u, cupsHeight=%u, r->bpp=%d", r->header.cupsBitsPerPixel, r->header.cupsBitsPerColor, r->header.cupsBytesPerLine, r->header.cupsWidth, r->header.cupsHeight, r->bpp));
1501 return (r->header.cupsBitsPerPixel > 0 && r->header.cupsBitsPerPixel <= 240 && r->header.cupsBitsPerColor > 0 && r->header.cupsBitsPerColor <= 16 && r->header.cupsBytesPerLine > 0 && r->header.cupsBytesPerLine <= 0x7fffffff && r->header.cupsHeight != 0 && (r->header.cupsBytesPerLine % r->bpp) == 0);
1806 r->remaining = r->header.cupsHeight * r->header.cupsNumColors;
1808 r->remaining = r->header.cupsHeight;