LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Weird results printing CWGraph

Hi,
I've printed a panel with a CWGraph ActiveX control and I've obtained something strange. All control is printed in high resolution, but nothing on the plot area has been printed. So I've got a pretty graph, but no data to be shown.

Any idea would be appreciated.

Francis
Tech R&D
Vulcain Alarme Inc
0 Kudos
Message 1 of 4
(3,001 Views)
Try changing the printing modes to bitmap printing and see if that helps (SetPrintAttribute).

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 4
(3,001 Views)
In my opinion, this is an old bug, since the V5.0.1.
It is also not possible to print OGL Controls with bitmap_printing attribute set to 0.

Do anybody knows when this problem will be fixed?
Image Hosted by ImageShack.us
0 Kudos
Message 3 of 4
(3,001 Views)
This isn't a bug that we can address in CVI. We print with a standard set of GDI commands from the SDK. Some printer drivers just aren't handling the low level GDI drawing part properly. We are using standard GDI printing techniques that work on the vast majority of printers we test. They don't work on some printer drivers though. Sometimes an update to the printer driver fixes this problem. We provide bitmap printing mode in which we render everything to a bitmap object instead of the printer and then send the bitmap instead of rendering to the printer which almost always works around the problem. We have tried to find anyway to avoid this with more printer drivers, but the cases are always different and it's difficult to know what par
t of the SDK printing is not working without the SDK source. Sorry for the inconvenience. You may want to see if an updated printer driver fixes the problem.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 4 of 4
(3,001 Views)