Hi Luuk,
2011/2/7 Luuk :
> BTW, i did a complete alternative approach to this problem
>
> i installed 'CUPS-PDF' on my linux system,
> and a printer on my Windows system, whcih prints via a postscript-driver
> to this printer.
That's a good idea, I could remove ther conversion-step and simply
pri
On 07-02-11 11:37, Nils Andresen wrote:
> 2011/2/7 Luuk :
>> dispatcher.executeDispatch(document, ".uno:ExportToPDF", "", 0, args1())
> That was exactly the line I was looking for.
> (But I also read somewhere "do not use the dispatcher in your own macros...")
>
> Thanks.
> Nils
>
BTW, i did a com
2011/2/7 Luuk :
> dispatcher.executeDispatch(document, ".uno:ExportToPDF", "", 0, args1())
That was exactly the line I was looking for.
(But I also read somewhere "do not use the dispatcher in your own macros...")
Thanks.
Nils
--
Unsubscribe instructions: E-mail to users+h...@libreoffice.org
Lis
2011/2/7 Cor Nouws :
> Any error you get?
BASIC-RuntimeException
com.sun.star.task.ErrorCodeIOException
Message: .
(There is only a dot after the "Message:" - I guess the message is empty..)
> As far as I remember, it has never been there..
well it was there in OOo. - at least in most my installs
On 07-02-11 08:34, Nils Andresen wrote:
> Hi,
> I am trying to export documents to pdf. I have a macro which worked
> most of the time using OOo, but it does not work in LO.
> I use this code..
> --- cut ---
> cDestFile = Left(cSourceFile, Len(cSourceFile) - 4) + "pdf"
> cDestURL = ConvertToUrl
2011/2/7 Tom Davies :
> Which platform are you using; Windows, Mac, Linux or Bsd?
Windows and Linux, the Linux is gentoo, I tried both, the bin install
and the source-install.
Nils
--
Unsubscribe instructions: E-mail to users+h...@libreoffice.org
List archive: http://listarchives.libreoffice.org
Hi Nils,
Nils Andresen wrote (07-02-11 08:34)
I am trying to export documents to pdf. I have a macro which worked
most of the time using OOo, but it does not work in LO.
I use this code..
--- cut ---
cDestFile = Left(cSourceFile, Len(cSourceFile) - 4) + "pdf"
cDestURL = ConvertToUrl( cDest
latform are you using; Windows, Mac, Linux or Bsd?
Regards from
Tom :)
From: Nils Andresen
To: users@libreoffice.org
Sent: Mon, 7 February, 2011 7:34:57
Subject: [libreoffice-users] export to pdf via macro
Hi,
I am trying to export documents to pdf. I have a macro
Hi,
I am trying to export documents to pdf. I have a macro which worked
most of the time using OOo, but it does not work in LO.
I use this code..
--- cut ---
cDestFile = Left(cSourceFile, Len(cSourceFile) - 4) + "pdf"
cDestURL = ConvertToUrl( cDestFile )
Dim oExportOptions(4) as New com.sun.s