Re: Stoppers for 3.4
HASAN ILTER <[email protected]> Tue, 12 Apr 2011 12:39:35 +0200
| Newsgroups | gmane.comp.openoffice.releases |
|---|---|
| Organization | Oracle Corporation |
| Message-ID | <[email protected]> |
Hi Fernand, In OOo 3.2.1, Printing Page-Layout was organized in PagePreview mode. In OOo3.3 + 3.4 - Printing Page Layout is not persistent as designed For more information about the new print dialog, see here: http://wiki.services.openoffice.org/wiki/Printerpullpages#Introduction In case you want a change, fell free to file an enhancement. - The case with the API is forwarded to the development. Stay tuned Hasan On 12.04.2011 09:51, Fernand Vanrie wrote: > Marcus, Hasan, > > Tested 300m106 but no luck: > > - Printer Page Layout still not remembered and no way to save this > settings > - Api for Printersettings stil broken > > please run this simple code > > Sub PrintTwoPerPage > Dim Props(0 To 1) As New com.sun.star.beans.PropertyValue > Props(0).Name = "IsLandscape" : Props(0).Value = true > Props(1).Name = "PageColumns" : Props(1).Value = 2 > If HasUnoInterfaces(ThisComponent, > "com.sun.star.text.XPagePrintable") Then > ThisComponent.setPagePrintSettings(Props()) > ThisComponent.printPages(Array()) 'Use default properties > Else > Print "Sorry, this document does not support the XPagePrintable > interface" > End If > End Sub > > Fernand > >> Hi Fernand, >> >> the second good news is that it's already integrated into the >> DEV300m103 developer snapshot (most current is m106). You can >> download it here: >> >> http://download.openoffice.org/next/other.html >> >> HTH >> >> Best regards >> >> Marcus >> >> >> >> Fernand Vanrie wrote: >>> API for printer settings is broken see issue 117783 >>> <http://openoffice.org/bugzilla/show_bug.cgi?id=117783> >>> >>> and: >>> >>> Sinds 3.3 (windows) all PrinterSettings except the Printer Names >>> are no longer persistent and not stored any where not in the >>> profile, and not in the document. With the printer settings we have >>> the "options" who are not Printer specific and we have "Settings" >>> who are bound to a specific printer. Both are all lost after >>> reloading the document, We can use the Printer specific settings >>> but only when starting the printing itself the choozen settings are >>> remenbered as long the document stays open but are lost when closing >>> the document >>> >>> Thanks for any consideration >> > -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help