PDF download on a button click in ignition

Please see Wiki - how to post code on this forum. Then edit your post and apply formatting to the code block. That will fix the indentation and apply syntax highlighting, making it easier for us to read. Thanks.

Tip: the "Keep it Tidy" section of the forum FAQ asks that we do not add signatures to our posts. Your username is applied automatically.