NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Top Margin error in PDF report using Print Report Plug-in - TS2012.

Hello,

 

I have an issue regarding the Top margin of the generated report in PDF with the Print Report Plug-in - TS2012 that is already explain in the  TestStand Model Plug-in: Printing Reports and Generating PDF Reports - NI Community  

 

the picture below shows in yellow that the Text is Cut-off so risk of losing some of the content.

 

how can i modify the margin to correct this issue.

 

thanks in advance

abdelFet_0-1699710282281.png

 

0 Kudos
Message 1 of 4
(432 Views)

I notice that these 2 items are custom.

eejallen_0-1700496928915.png

 

How are you injecting these two strings?  Did you change the xsl stylesheet? Or you are adding this in a Report Callback?

0 Kudos
Message 2 of 4
(411 Views)

Hello,

 

these two items are added in my stylesheet file but when the test of the UUT is finished the xml report seems to be fine in the top margin, but when i try to convert the xml file to PDF using what is mentioned in the section of Print Report Plug-in, the top margin parameters apply to the file Cut-off what is in the top of the report.

 

i don't know what i'm missing here.

 

help please.

 

Fet

 

0 Kudos
Message 3 of 4
(397 Views)

The only thing I could suggest is to put the extra information in the UUT.AdditionalData container and then the info will show up in the first table of the report. 

Adding Items to a TestStand Report Header at Run-Time - NI

 

Revert the stylesheet back to original.

0 Kudos
Message 4 of 4
(385 Views)