How to implement a pdf generator on ionic 2

Hi! My deadline is coming soon and i have done everything besides implementing a pdf generator. I have researched a lot online and pdf viewers are only on ionic 1. Can someone please show me how i can implement a pdf viewer and down loader in my current app such that everything on every page on the app becomes a pdf extract.
Thank You

Look here:

I did look at that but it did not work. Have you used that link and did it work for you?