Home
last modified time | relevance | path

Searched refs:HWResolution (Results 1 – 11 of 11) sorted by relevance

/external/libcups/filter/
Drastertohp.c92 …intf(stderr, "DEBUG: HWResolution = [ %d %d ]\n", header->HWResolution[0], header->HWResolution[1]… in StartPage()
207 (!ppd || ppd->model_number != 2 || header->HWResolution[0] == 600)) in StartPage()
241 printf("\033&u%dD", header->HWResolution[0]); in StartPage()
255 putchar((int)(header->HWResolution[0] >> 8));/* Black resolution */ in StartPage()
256 putchar((int)header->HWResolution[0]); in StartPage()
257 putchar((int)(header->HWResolution[1] >> 8)); in StartPage()
258 putchar((int)header->HWResolution[1]); in StartPage()
262 putchar((int)(header->HWResolution[0] >> 8));/* Cyan resolution */ in StartPage()
263 putchar((int)header->HWResolution[0]); in StartPage()
264 putchar((int)(header->HWResolution[1] >> 8)); in StartPage()
[all …]
Drastertoepson.c126 …intf(stderr, "DEBUG: HWResolution = [ %d %d ]\n", header->HWResolution[0], header->HWResolution[1]… in StartPage()
163 if (header->HWResolution[0] == 360 || header->HWResolution[0] == 240) in StartPage()
186 DotColumns = header->HWResolution[0] / 60; in StartPage()
192 switch (header->HWResolution[0]) in StartPage()
204 if (header->HWResolution[1] == 180) in StartPage()
226 putchar((int)(3600 / header->HWResolution[1])); in StartPage()
231 putchar((int)(1440 / header->HWResolution[1])); in StartPage()
232 putchar((int)(1440 / header->HWResolution[1])); in StartPage()
233 putchar((int)(1440 / header->HWResolution[0])); in StartPage()
238 n = (int)(header->PageSize[1] * header->HWResolution[1] / 72.0); in StartPage()
[all …]
Draster.c233 h->HWResolution[0] = (unsigned)xdpi; in cupsRasterInitPWGHeader()
234 h->HWResolution[1] = (unsigned)ydpi; in cupsRasterInitPWGHeader()
1002 r->rowheight = h->HWResolution[0] / h->HWResolution[1]; in cupsRasterWriteHeader()
1004 if (h->HWResolution[0] != (r->rowheight * h->HWResolution[1])) in cupsRasterWriteHeader()
1034 fh.HWResolution[0] = htonl(r->header.HWResolution[0]); in cupsRasterWriteHeader()
1035 fh.HWResolution[1] = htonl(r->header.HWResolution[1]); in cupsRasterWriteHeader()
1141 appleheader[20] = (unsigned char)(r->header.HWResolution[0] >> 24); in cupsRasterWriteHeader()
1142 appleheader[21] = (unsigned char)(r->header.HWResolution[0] >> 16); in cupsRasterWriteHeader()
1143 appleheader[22] = (unsigned char)(r->header.HWResolution[0] >> 8); in cupsRasterWriteHeader()
1144 appleheader[23] = (unsigned char)(r->header.HWResolution[0]); in cupsRasterWriteHeader()
[all …]
Dtestraster.c483 header.HWResolution[0], header.HWResolution[1]); in do_ras_file()
556 header.HWResolution[0] = 64; in do_raster_tests()
557 header.HWResolution[1] = 64; in do_raster_tests()
688 expected.HWResolution[0] = 64; in do_raster_tests()
689 expected.HWResolution[1] = 64; in do_raster_tests()
895 if (header->HWResolution[0] != expected->HWResolution[0] || in print_changes()
896 header->HWResolution[1] != expected->HWResolution[1]) in print_changes()
898 header->HWResolution[0], header->HWResolution[1], in print_changes()
899 expected->HWResolution[0], expected->HWResolution[1]); in print_changes()
Drastertopwg.c101 …tf(stderr, "DEBUG: HWResolution = [ %d %d ]\n", inheader.HWResolution[0], inheader.HWResolution[1]… in main()
127 page_width = (unsigned)(inheader.cupsPageSize[0] * inheader.HWResolution[0] / 72.0); in main()
128 page_height = (unsigned)(inheader.cupsPageSize[1] * inheader.HWResolution[1] / 72.0); in main()
129 page_left = (unsigned)(inheader.cupsImagingBBox[0] * inheader.HWResolution[0] / 72.0); in main()
130 page_bottom = (unsigned)(inheader.cupsImagingBBox[1] * inheader.HWResolution[1] / 72.0); in main()
Drastertolabel.c168 …intf(stderr, "DEBUG: HWResolution = [ %d %d ]\n", header->HWResolution[0], header->HWResolution[1]… in StartPage()
193 length = header->PageSize[1] * header->HWResolution[1] / 72; in StartPage()
304 printf("! 0 %u %u %u %u\r\n", header->HWResolution[0], in StartPage()
305 header->HWResolution[1], header->cupsHeight, in StartPage()
404 printf("\033*t%uR", header->HWResolution[0]); in StartPage()
Dtestclient.c598 if (header.cupsWidth > (4 * header.HWResolution[0])) in make_raster_file()
600 xoff = header.HWResolution[0] / 2; in make_raster_file()
601 yoff = header.HWResolution[1] / 2; in make_raster_file()
610 yrep = xrep * header.HWResolution[1] / header.HWResolution[0]; in make_raster_file()
Dinterpret.c169 h->HWResolution[0] = 100; in cupsRasterInterpretPPD()
170 h->HWResolution[1] = 100; in cupsRasterInterpretPPD()
379 if (!h->HWResolution[0] || !h->HWResolution[1] || in cupsRasterInterpretPPD()
396 h->HWResolution[0] / 72.0f + 0.5f); in cupsRasterInterpretPPD()
398 h->HWResolution[1] / 72.0f + 0.5f); in cupsRasterInterpretPPD()
1482 h->HWResolution[0] = (unsigned)obj[1].value.number; in setpagedevice()
1483 h->HWResolution[1] = (unsigned)obj[2].value.number; in setpagedevice()
Dspec-ppd.shtml651 <td><tt>HWResolution</tt></td>
654 <td><tt>&lt;&lt;/HWResolution[1200 1200]&gt;&gt;setpagedevice</tt></td>
/external/autotest/client/site_tests/platform_DebugDaemonCupsAddPrinters/src/
DGenericPostScript.ppd.gz
/external/libcups/cups/
Draster.h260 unsigned HWResolution[2]; /* Resolution in dots-per-inch */ member
309 unsigned HWResolution[2]; /* Resolution in dots-per-inch */ member