Printing - Matching/Approximating Point Size

I’ve gotten as far as creating the prompt to select font size… I’m struggling to figure out how to get the return value from my prompt to work as a variable inside the HTML template at the Print step. Is there a way to output JS variables from previous steps inside the HTML template?