Change-Id: I0b0df7a691ba9790089d101ea039caf179f23c75
mr=set.value("marginRight").toDouble();
mb=set.value("marginBottom").toDouble();
mt=set.value("marginTop").toDouble();
+ prn.setFullPage(true);
prn.setPageMargins(QMarginsF(ml,mr,mb,mt),QPageLayout::Millimeter);
prn.setDuplex(QPrinter::DuplexMode(set.value("duplex",QPrinter::DuplexAuto).toInt()));
prn.setOrientation((set.value("orientation","portrait").toString()=="portrait")?QPrinter::Portrait:QPrinter::Landscape);