Apache OpenOffice (AOO) Bugzilla – Issue 125693
printing with script and mailmerge does not recognize settings of PrintEmptyPages or EmptyPages by script.
Last modified: 2014-10-02 17:39:30 UTC
Created attachment 83999 [details] sample for changing the settings Changing the printer between duplex and not duplex should insert/remove automatic blank pages. Writer does not regcognize the settings via script of - document.settings.PrintEmptyPages - configuration.ConfigurationUpdateAccess.EmptyPages (Printer) - Mailmerge.PrintOptions.DuplexMode [-> Exception] This only works by manual changing the checkbox in the - settings - writer - print or - print - OpenOffice Writer
i think, i can confirm this problem: starting mailmerge via file -> print will work as described above but if one tries to set print options with "oMailMerge.PrintOptions = printProps()" an exception is thrown: Type com.sun.star.lang.IllegalArgumentException Message: Property Type mismatch or property not set: PrintOptions." see http://de.openoffice.info/viewtopic.php?f=18&t=52104 for example