Lines Matching refs:printer_opts

149     return parse_list_options(p_popt, printer_opts, OPT_PRINT_NUM_OPTIONS);  in parse_printoptions()
410 if (printer_opts[OPT_PRINT_HEADERHEIGHT].present) in prt_header_height()
411 return printer_opts[OPT_PRINT_HEADERHEIGHT].number; in prt_header_height()
421 return (printer_opts[OPT_PRINT_NUMBER].present in prt_use_number()
422 && TOLOWER_ASC(printer_opts[OPT_PRINT_NUMBER].string[0]) == 'y'); in prt_use_number()
436 if (printer_opts[idx].present) in prt_get_unit()
438 if (STRNICMP(printer_opts[idx].string, units[i], 2) == 0) in prt_get_unit()
611 else if (printer_opts[OPT_PRINT_SYNTAX].present in ex_hardcopy()
612 && TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) != 'a') in ex_hardcopy()
614 (TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) == 'y'); in ex_hardcopy()
666 jobsplit = (printer_opts[OPT_PRINT_JOBSPLIT].present in ex_hardcopy()
667 && TOLOWER_ASC(printer_opts[OPT_PRINT_JOBSPLIT].string[0]) == 'y'); in ex_hardcopy()
911 && printer_opts[OPT_PRINT_FORMFEED].present in hardcopy_line()
912 && TOLOWER_ASC(printer_opts[OPT_PRINT_FORMFEED].string[0]) in hardcopy_line()
937 || (printer_opts[OPT_PRINT_WRAP].present in hardcopy_line()
938 && TOLOWER_ASC(printer_opts[OPT_PRINT_WRAP].string[0]) in hardcopy_line()
2161 nr = printer_opts[idx].number; in to_device_units()
2505 prt_portrait = (!printer_opts[OPT_PRINT_PORTRAIT].present in mch_print_init()
2506 || TOLOWER_ASC(printer_opts[OPT_PRINT_PORTRAIT].string[0]) == 'y'); in mch_print_init()
2507 if (printer_opts[OPT_PRINT_PAPER].present) in mch_print_init()
2509 paper_name = (char *)printer_opts[OPT_PRINT_PAPER].string; in mch_print_init()
2510 paper_strlen = printer_opts[OPT_PRINT_PAPER].strlen; in mch_print_init()
2584 prt_collate = (!printer_opts[OPT_PRINT_COLLATE].present in mch_print_init()
2585 || TOLOWER_ASC(printer_opts[OPT_PRINT_COLLATE].string[0]) == 'y'); in mch_print_init()
2607 if (printer_opts[OPT_PRINT_DUPLEX].present) in mch_print_init()
2609 if (STRNICMP(printer_opts[OPT_PRINT_DUPLEX].string, "off", 3) == 0) in mch_print_init()
2614 else if (STRNICMP(printer_opts[OPT_PRINT_DUPLEX].string, "short", 5) in mch_print_init()