To store the data in the template you would need to update the template your nsq is pointing to every time you needed it to run. And you'd need to change it so the data goes at the end. I'm assuming you don't want to modify your nsq every time.
I think you would need to have all the data in your Nprinting qvw so it can all be exported out appropriately.
If the data tables your qvw currently uses doesn't contain the history you would want to make the qvw also create/update a QVD using the Store command. This qvd you create would then build your history that the qvw and nprinting project can then pull and populate in your output.