NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Auto-print report without cutting off results

My requirement:

- print a report automatically at the end of each UUT's test

 

My problem:

- The report prints, but

-- some of the contents are cut off (especially long strings in indented tables)

-- the page breaks sometimes cut tables in bad places

 

So far I have found no way to automatically print the report in landscape mode, which would help greatly. But even better would be the ability to:

- disable indenting tables

- print tables in their entirety on one page

- reformat strings so they fit, and/or control the width of the tables

 

Any ideas?

0 Kudos
Message 1 of 3
(2,709 Views)

Are you using the NI example for auto-printing? That example converts the report to a temp html file and sends it to the default printer. If you're using that you could change settings for the default printer to be in landscape mode which would resolve your fundamental issue without having to write a ton of code to change table properties of the report.

CTA, CLA, MTFBWY
0 Kudos
Message 2 of 3
(2,699 Views)

Yes, I am using a variation of that example. I'll give that a shot and let you know what happens.

Thanks!

0 Kudos
Message 3 of 3
(2,689 Views)