From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
For the moment, the easiest way to do this is to use a free pdf printer (I use Bullzip PDF printer), and then print your report. If you want to automatically do this during execution, you can use one of the programmatic printing examples:
Have you tried using the xmlpack utility that comes with teststand? The purpose of xmlpack is to package up xml reports for redistributing them to others which sounds like what you are trying to do. I do agree that pdf would still be a nice option to have.
I'm not sure I understand what you mean by adding a PDF reporting option - PDF is a file format, not a formatting method. So maybe what you want is to format your report using one of the existing methods, then saving it to a PDF file, right?
Perhaps the PDF option should be in addition to the XML output. Other data collection systems may still need to access the XML files for data exchange while the PDF files are used for other reporting/sharing purposes.
what about a slight twist on the idea, where in report configuration tab not only do you (1)choose format (XML/HTML/TXT/ETC)
but you can also (2) choose to 'auto package on write' i.e when making 'stand alone xml', have it go to a seperate folder WITH it's current stylesheet file (rather than having to go through the tools menu later). Or if user choses 'PDF' option, or 'to gif' or something of that nature. that way packaging can be turned on or off and will save a second file to a seperate location.
in your sequence all you'd have to do, if all you want is packaged files, would be to delete the original report file and only keep the 'packaged one'. Sure, we can all do it by hand with freeware, but if we're all doing it, why not just build it in?... just my 2cents
https://zone.ni.com/reference/en-XX/help/370052AA-01/tshelp/infotopics/2019whatsnew/#PDF