Take a look at this screenshot to see what I'm working with.
Users have the ability to modify the page by removing items, adding new items, or marking items as complete by crossing them out. I want users to be able to print the altered page using JavaScript. It seems that in order to enable printing, a separate file with different stylesheet settings needs to be created.
Currently, I am using Rails 4 and considering using this method to generate a PDF for users.
1) I am unsure of how to create the document with the correct modifications such as deletions, additions, and crossed out items.
2) Additionally, I am unsure of how to generate the document without including unnecessary elements like navigation (which is not needed in the printed list). My initial thought was to hide it using CSS.