taskjuggler / TaskJuggler

TaskJuggler - Project Management beyond Gantt chart drawing
http://www.taskjuggler.org
GNU General Public License v2.0
737 stars 171 forks source link

tjp to pdf conversion #287

Open foundjem opened 10 months ago

foundjem commented 10 months ago

Hello @all, I wonder if there is an option to generate a pdf file directly from the .tjp file. I am a fan of taskjuggler for project management, but I am limited without that option. I have tried a couple of HTML to PDFs but have not had the same experience.

Regards,

Signed-off-by: Armstrong foundjem@ieee.org

whit2333 commented 9 months ago

FWIW, I have a makefile that does the following on every page I want as a pdf:

wkhtmltopdf -O Landscape -s Tabloid html/trade_study.html  pdf/trade_study.pdf

It is not the ideal solution but it works OK.

https://wkhtmltopdf.org/

alentsch commented 2 months ago

Although it is not directly printing from TJP, but printing the HTML output from Chromium browser into PDF works very well for me. Make sure to select "Background graphics" in the print dialogue under "More settings" > Options. I also choose minimum margins and scale down to fit to the page (55% or so). Also opening the PDF in Inkscape and saving as SVG works very well for me.