LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Report generation doesn't scale to fit

The layout option, "Scale front panel to fit" in "Easy Print VI Panel or Documentation.vi" (in the report generation pallette) doesn't do anything.  In fact, if I dig into that vi, it goes through to "Report Gen VI or Documentation.vi", and I find that the  layout option isn't wired to anything!  Is this a known problem with that vi?

 

My application requires that I print the front panel as part of a user log, and I need to be able to scale to fit in order to squeeze it onto the page.  Any suggestions?

 

Thanks,

Charlie

0 Kudos
Message 1 of 4
(2,698 Views)

Hi Charlie,

 

The layout option is not wired to anything in the Standard, HTML, Excel and Word Report, but it is used in the Quick Print default case.  The Help document for this VI mentions that the layout option is ignored on Standard and HTML Reports but does not mention the Excel or Word Reports.

 

This was discovered a little while ago in this discussion forum.  And a report has be filed to R&D by Ben.

Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 2 of 4
(2,662 Views)

My workaround is to use an invoke node to turn the front panel into a .jpeg, use the scaling property to scale it, and then insert that .jpeg into a report.  It's a pretty simple solution, but it would be nice to see this functionality incorporated properly into the print vi.

 

Thanks for your help.

 

Charlie

0 Kudos
Message 3 of 4
(2,653 Views)
I'm glad that you were able to find a suitable workaround.  And let R&D know that you want this fixed by submitting product feedback.  Your feedback is very important in helping us determine what issues need the most attention.
Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 4 of 4
(2,644 Views)