- PrinterParams(Target const & t = PRINTER,
- string const & pname = lyxrc.printer,
- string const & fname = string(),
- WhichPages const wp = ALL,
- string const & from = string(),
- int const & to = 0,
- bool const reversed = false,
- bool const unsorted = false,
- int const & num_copies = 1)
- : target(t),
- printer_name(pname),
- file_name(fname),
- which_pages(wp),
- from_page(from),
- to_page(to),
- reverse_order(reversed),
- unsorted_copies(unsorted),
- count_copies(num_copies)
- {
- testInvariant();
- }
+ PrinterParams(Target t = PRINTER,
+ std::string const & pname = lyxrc.printer,
+ std::string const & fname = std::string(),
+ bool all = true,
+ unsigned int from = 1,
+ unsigned int to = 0,
+ bool odd = true,
+ bool even = true,
+ unsigned int copies = 1,
+ bool sorted = false,
+ bool reverse = false);