Creating PDFs or Word Documents using Javascript

Hello Everyone - Happy New Year to you all. 

I am currently working on a project where there are ten questions, each with four options. Each option has its own feedback text. I am looking to summarise the ten relevant pieces of feedback text on a Word or PDF document for the learner to print out.  

I tried doing this using True/False variables and Javascript, but quickly realised that I was completely out of my depth with the Javascript element. So, I wondered if anyone here had done something similar? Or, indeed, knows of a better way? (It's not really an option to print browser screen as the combined feedback text would not fit on one screen, and I don't want learners to have to keep moving across screens pressing print.)

Many thanks in advance. 

3 Replies