Re: Stoppers for 3.4
Fernand Vanrie <[email protected]> Tue, 12 Apr 2011 09:51:15 +0200
| Newsgroups | gmane.comp.openoffice.releases |
|---|---|
| Message-ID | <[email protected]> |
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