Jupyter notebook to pdf

I want to convert Jupyter Notebook to pdf. I have tried it using cloud converter but that is messing the shape of the output tables. Please, can anyone help me out with this problem.?

If you have jupyter installed on your system:

jupyter nbconvert --to pdf <filename>.ipynb
But it requires some sort of additional programs to be able to run.

You could try to convert it to HTML (--to html) and then use builtin feature of many browsers to print the page to pdf.

1 Like
jupyter nbconvert  --to pdf <filename>.ipynb 

This did not work for me.
Thanks for the HTML solution.

You probably need to have pandoc installed.