Converting xlxs to pdf in windows xp with Libreoffice4.0

asked 2018-12-24 13:21:07 +0100

amey6991 gravatar image

Hi there,

I tried to use the pdf converted for excel files a year ago on the server, the command working was

"C:\Program Files (x86)\LibreOffice 4.0\program\soffice.exe" --convert-to pdf PDFs/ConvertedFiles/2886d48b82a4ad7d3231909f67a09a5d.xlsx --outdir PDFs/ConvertedFiles/ --headless

It was working perfectly 2 days back. since these two days, this command not creating pdf, and no error throwing. only silent response on the command line.

can anyone help to this, why this is stuck now

edit retag flag offensive close merge delete

Comments

Some hung soffice.bin process that needs to be killed?

Mike Kaganski gravatar imageMike Kaganski ( 2018-12-24 13:24:10 +0100 )edit

I have checked the task manager, there is no process running, I would like to add one more thing when I run the command a folder is being created with the output file name..

amey6991 gravatar imageamey6991 ( 2018-12-24 13:27:54 +0100 )edit

Does it work if you remove the trailing '/' from your --outdir path?

If not, try changing the '/' to '\'.

BigRAl gravatar imageBigRAl ( 2018-12-24 16:46:56 +0100 )edit

@BigRAl: well - there was tdf#120249 fixed for 6.1.3; but it was exactly about trailing backslash in the path, not the forward slash.

Mike Kaganski gravatar imageMike Kaganski ( 2018-12-24 19:08:15 +0100 )edit

Hi, I tried all above suggession you guys given, but the thing is it won't convert into PDF, it just opens the libreoffice4.0 UI

amey6991 gravatar imageamey6991 ( 2018-12-25 04:58:58 +0100 )edit