02-03-2009 09:58 AM
Im tying to print out a panel including cwui graphs.
The panel apears normal on the screen but the print out, either on paper or pdf, is not like the screen.
The graph label and the axis labels are a lot smaller, and worse the plots are missing.
Attached a screen clip and the result of printing to pdf (CutePDF). The result is the same on paper.
I'm using CVI-9.0 and the function :
PrintPanel(panel,"",1,VAL_FULL_PANEL,1);
Regards Per
02-04-2009 03:02 AM
I am not using cwui graphs normally so I cannot give you a definitive answer, but this item has been addressed a few times here in the forum, and it seems related to intrinsic features of the control itself: see here for a sample discussion about it. As far as I can see it seems that eanbling bitmap printing solves the problem, though with a significant detriment of output quality.
If you think this option does not give satisfactory results, you can take a look at my Multi Axis graph in CVI sample, that describes the technique I use to obtain several Yaxes on a single graph.To obtain a better aspect when printing I normally duplicate the data on a separate panel with the same set of graph controls and print it; the separate panel is not shown on the screen and is customised instead for better aspect when printed, i.e.
- Larger area (The larger the panel the better the quality of printout: you can obtain good results printing panels starting from 1400*990 pixels panel on a A4 sheet)
- White background
- Headers, footers, additional elements like a description of test procedure, numeric results, comments and so on