That's correct, Alister, this solution isn't ideal, and as noted isn't well suited to variable-length results. However it may help for results of a consistent length, as was the case for me.
I believe the python script used to generate the PDF is $SPLUNK_HOME/etc/system/bin/pdfgen_endpoint.py, so I guess you could try customizing that to get more consistent results.
... View more