1

I use appy pod for reporting in my django app.

At this moment, I need to generate pdf file instead odt document.

pod is able to generate pdf if OO is available, but this is not my case because app runs in heroku provider.

Someone knows a way to convert .odt to a pdf in this scenario?

dani herrera
  • 48,760
  • 8
  • 117
  • 177
  • Indirect answer to your question: Can you use HTML instead of ODT? If so, you should checkoout wkhtmltopdf: http://code.google.com/p/wkhtmltopdf/ – Jeremy Blanchard Jun 25 '12 at 23:55
  • hi jeremy. thanks about your appoinment. I prefear appy pod, it ia a really smart solution, also I have control over pagination and i can reset page number over sections. do you have expertise in you suggested project? – dani herrera Jun 26 '12 at 12:26
  • I don't have any expertise. But you could try including Open Office as an executable in your repo. Here are some ways that Ruby folks have done something similar: http://stackoverflow.com/questions/5979704/how-to-execute-binary-on-heroku – Jeremy Blanchard Jun 26 '12 at 17:29
  • Thanks Jeremy. I will ask to apply people if this may be a solution. Nice starting point. – dani herrera Jun 26 '12 at 19:29

1 Answers1

2

One idea could be to deploy a dedicated Web API somewhere else, with topdfserver : https://github.com/AntoineCezar/topdfserver/tree/develop :)

leplatrem
  • 1,005
  • 13
  • 25