| View previous topic :: View next topic |
| Author |
Message |
malharipawar Newbie

Joined: 23 Feb 2010 Posts: 4
|
Posted: Tue Mar 09, 2010 2:54 am Post subject: Soffice - Export html to pdf |
|
|
Hi All,
I'm using the JODConverter to export a HTML content to a PDF file using soffice to run at port 8100 on a Linux machine.
Most of the times process works seamlessly, but on few occasions the exported PDF doesn't contain all the pages of HTML file. eg. only 50 pages are exported instead of 89 pages. The exported page count changes when process is performed again for the same content.
i checked out few threads in the forum earlier where the Thread.sleep() function is called in between to buy some time for the conversion process before disconnecting.
Making the Thread modification in the code still doesn't have much effect on the process, still the file is not exported fully.
Can someone please guide me through this.
Any kind of help would be priceless.
Thanks
Malhari |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3531 Location: Hamburg, Germany
|
Posted: Tue Mar 09, 2010 10:39 am Post subject: Re: Soffice - Export html to pdf |
|
|
| malharipawar wrote: | | i checked out few threads in the forum earlier where the Thread.sleep() function is called in between to buy some time for the conversion process before disconnecting. |
Increase the milliseconds in Thread.sleep(). That's all. 89 pages is really a lot. So a Thread.sleep() for 10 or 20 pages does not suffice. |
|
| Back to top |
|
 |
malharipawar Newbie

Joined: 23 Feb 2010 Posts: 4
|
Posted: Tue Mar 09, 2010 11:36 pm Post subject: |
|
|
Hi Hole.sten,
Have tried increasing the millisecs, but sometimes still the whole content doesn't get exported completely. Please advice. |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3531 Location: Hamburg, Germany
|
Posted: Sun Mar 14, 2010 3:35 am Post subject: |
|
|
| malharipawar wrote: | | Have tried increasing the millisecs, but sometimes still the whole content doesn't get exported completely. |
To what time did you increase the millisecs? Which HTML pages do you try to load? |
|
| Back to top |
|
 |
|