diff --git a/src/add-ons/print/drivers/preview/PageSetupWindow.cpp b/src/add-ons/print/drivers/preview/PageSetupWindow.cpp index 9609829ab1..e0b8cf8f9f 100644 --- a/src/add-ons/print/drivers/preview/PageSetupWindow.cpp +++ b/src/add-ons/print/drivers/preview/PageSetupWindow.cpp @@ -290,6 +290,9 @@ PageSetupWindow::UpdateSetupMessage() SetInt32(fSetupMsg, "units", fMarginView->GetMarginUnit()); } + + SetInt32(fSetupMsg, "xres", 300); + SetInt32(fSetupMsg, "yres", 300); } diff --git a/src/add-ons/print/drivers/preview/PreviewDriver.cpp b/src/add-ons/print/drivers/preview/PreviewDriver.cpp index ffa1822093..37e7903adf 100644 --- a/src/add-ons/print/drivers/preview/PreviewDriver.cpp +++ b/src/add-ons/print/drivers/preview/PreviewDriver.cpp @@ -27,7 +27,7 @@ status_t PreviewDriver::PrintJob(BFile *jobFile, BMessage *jobMsg) { #if PREVIEW_DRIVER_DEBUG - return PrinterDriver::PrintJob(jobFile, jobMessage) + return PrinterDriver::PrintJob(jobFile, jobMsg) #else PreviewWindow* w = new PreviewWindow(jobFile); return w->Go();