07-13-2005 02:47 PM
07-15-2005 12:59 AM
Hi Gold,
I assume that you are using the "Append Control Image to Report.vi" to
include the image. There are a couple of different solutions for fitting
the control image to your report, without exceeding the borders of the
document. One solution is discussed in this other thread:
Resizing an image in a report
Another solution is to use the "Append Front Panel Image to
Report.vi" instead of the "Append Control Image to
Report.vi" and then create a subVI that basically only shows the table on
the front panel. Link to the SubVI when printing the front panel. To change the
size of the image being saved in the report, you will have to modify the
"Append Front Panel Image to Report.vi" to resize the image before
appending it to the report. Open its block diagram and double-click on
"Append Front Panel Image to Report (refnum).vi". Then go to
the "No Error" case and change the "Get Panel Image" to
"Get Panel Image Scaled". Notice that two new inputs are introduced;
the "Maximum Width" and Maximum Heigth. Apply proper
"Maximum" values, so the image will be scaled properly.
Have fun!
08-03-2005 12:50 PM
Thanks for the suggestions!!
I too found an alternative, So not to rain on your reply but here is another answer to my own question. I promise I didn't know the answer before I posted, I'm not "star diggin".
I had been trying to use the print report.vi with no success but when I used "easy print vi panel or documentation" I get an input that allows me to set landscape vs. portrait, margins, scale to page etc. This worked great.
gold
08-03-2005 11:47 PM
07-19-2006 06:34 AM - edited 07-19-2006 06:34 AM
Message Edited by Arend on 07-19-2006 01:35 PM