Searched refs:printer_cap (Results 1 – 5 of 5) sorted by relevance
1457 static void _validate_supported_media_sizes(printer_capabilities_t *printer_cap) { in _validate_supported_media_sizes() argument1458 if (printer_cap == NULL) return; in _validate_supported_media_sizes()1460 if (printer_cap->numSupportedMediaSizes == 0) { in _validate_supported_media_sizes()1462 printer_cap->supportedMediaSizes[i++] = ISO_A4; in _validate_supported_media_sizes()1463 printer_cap->supportedMediaSizes[i++] = US_LETTER; in _validate_supported_media_sizes()1464 printer_cap->supportedMediaSizes[i++] = INDEX_CARD_4X6; in _validate_supported_media_sizes()1465 printer_cap->supportedMediaSizes[i++] = INDEX_CARD_5X7; in _validate_supported_media_sizes()1466 printer_cap->numSupportedMediaSizes = i; in _validate_supported_media_sizes()1469 for (read = write = 0; read < printer_cap->numSupportedMediaSizes; read++) { in _validate_supported_media_sizes()1470 if (is_supported(printer_cap->supportedMediaSizes[read])) { in _validate_supported_media_sizes()[all …]
102 const printer_capabilities_t *printer_cap, in printable_area_get_default_margins() argument106 if ((job_params == NULL) || (printer_cap == NULL)) { in printable_area_get_default_margins()132 *top_margin = (float) printer_cap->printerTopMargin / 2540; in printable_area_get_default_margins()133 *bottom_margin = (float) printer_cap->printerBottomMargin / 2540; in printable_area_get_default_margins()134 *left_margin = (float) printer_cap->printerLeftMargin / 2540; in printable_area_get_default_margins()135 *right_margin = (float) printer_cap->printerRightMargin / 2540; in printable_area_get_default_margins()151 if (!printer_cap->inkjet) { in printable_area_get_default_margins()162 if ((job_params->duplex != DUPLEX_MODE_NONE) || !printer_cap->borderless) { in printable_area_get_default_margins()
343 static jint _print_pdf_pages(wJob_t job_handle, printer_capabilities_t *printer_cap, in _print_pdf_pages() argument353 if (printer_cap->faceDownTray || duplex) { in _print_pdf_pages()
289 printer_capabilities_t *printer_cap);300 const printer_capabilities_t *printer_cap);307 const wprint_job_params_t *job_params, const printer_capabilities_t *printer_cap,
34 const printer_capabilities_t *printer_cap, float *top_margin, float *left_margin,