public DocumentPrinter(CoolPrintPreviewControl preview, int first, int last) { // save page range and image list _first = first; _last = last; _imgList = preview.PageImages; // copy page and printer settings from original document DefaultPageSettings = preview.Document.DefaultPageSettings; PrinterSettings = preview.Document.PrinterSettings; }