Hi Jerome,
“Can you think of any reasons why it is printing more area than necessary?”
I’m using LV6.1 and I’ve had the same problem since 2001 for a VI with a tab control. Narrowed the cause of the problem down to the tab control by deleting things from the front panel and doing frequent Print Previews. I’ve never come across mention of it as a bug, but maybe it is/was one. I’ve also done a lot of other VI’s with tab controls that haven’t had this problem.
I found that I could get rid of the print area problem if I toggled the visibility of the tab control’s Label and Caption both to ON and then OFF again ... or by changing the size of the tab control a bit; however, the problem frequently reappeared when I did required edits over the past few years.
I got tired of the whole thing and found a fix that works for me:
To let the user print the front panel, I had been using the application item “Print Window ...” in the VI’s Run-Time menu. I dropped that and switched to invoking the ‘Print Panel to Printer’ method with the ‘Entire Panel?’ option set to false ... no more printouts with the front panel scrunched in the corner.
=====================================================
Fading out. " ... J. Arthur Rank on gong."