Hi to all,
i'm using ooffice from command line to print documents (doc,sxw,xls,etc...) directly in PDF using cups-pdf printer as default.

The command i use is :

ooffice -invisible -nologo -display :5 -headless -p filename.doc

On version 1.9 of ooffice installed on Suse 9.3 it is mantaining the output filename the same as input filename changing only the extension to
pdf .

Now on a new server on Trixbox (Centos) with ooffice 2.0.4 installed, the ooffice is changing the filename based on something that is found in the document (probabily). On some files it keep the same output filename, in others (Microsoft Word Document for the most part) it change
the output filename to the first words it found in the document.

I need that the filename remain the same because i have to make some post processing (from command line) of these pdf files from the script that start the conversion to pdf (using ooffice). So i have to know which filename will have the output file to catch it after the conversion.

There is a way to control this behavior??
I tested printing the same document on the 2 system and on the 2.0.4 system it change the name and on 1.9 system it keep the original filename.

If there is no way to control this setting, there is a way to use the ExportDirectToPDF internal function of ooffice 2.x to export documents to PDF from
the command line being able to control the output filename?

Thanks in advance to all.
Bye,
Marcello

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to