From 61e96ccdd177f973a36287d7a6ee1568d74cfb18 Mon Sep 17 00:00:00 2001 From: cxl Date: Sat, 2 Jul 2011 09:17:38 +0000 Subject: [PATCH] *CtrlLib: PrinterJob in GUI_X11 now default initializes page to A4, fixes issue with printing without the dialog git-svn-id: svn://ultimatepp.org/upp/trunk@3585 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlLib/PrinterJob.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/uppsrc/CtrlLib/PrinterJob.cpp b/uppsrc/CtrlLib/PrinterJob.cpp index be3e1356c..689894c0e 100644 --- a/uppsrc/CtrlLib/PrinterJob.cpp +++ b/uppsrc/CtrlLib/PrinterJob.cpp @@ -247,6 +247,7 @@ PrinterJob::PrinterJob(const char *_name) name = _name; from = to = 1; current = 1; + pgsz = Size(6000 * 210 / 254, 6000 * 297 / 254); } PrinterJob::~PrinterJob()