07-31-2012 06:40 AM
Hi All,
I have written a script that creates a report in tdr format. After creating it I export the report to pdf by clicking the pdf-export-button or using the pdf-printer.
The first few times this worked perfectly fine. But after a while (while developing the script further) the pdf exports suddenly were made in the wrong format: instead generating landscape and portrait oriented A4 sheets, all pages (independent of their orientation) were exported to small square pages (about 9cm x 9cm).
The layout parameters are still set to A4. I don't know which option has been changed to cause this faulty output.
Can somebody help me with this?
Regards,
FraCh
07-31-2012 11:23 AM
Hi FraCh,
Check the menu "Settings>>Layout Setup". The bad configuration could either be in the "Layout Parameters" dialog or in the "Worksheet Parameters" dialog. Remember to save the TDR file after you make the change.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
08-01-2012 03:21 AM
Hi Brad,
thank you for your answer.
Unfortunately I couldn't find any options that I could have changed for my benefit.
Maybe you can find somethin I couldn't see:
Also an information I might not have made clear: the problem occurs independent of the page size set for the report.
Regards,
Christoph
08-01-2012 10:45 AM
Hi Christoph,
Please post or email me (brad.turpin@ni.com) your TDR and data files so I can try to reproduce this issue and see if there are any workarounds.
Brad Turpin
DIAdem Product Support Engineer
National Instruments