LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

high resolution printing in CVI

Hi,

I'm using CVI 6.0 FULL and Windows 2K, here is my problem, I wold like to be able to print my (ActiveX) CWGraph in high resolution, but I don't know how.

Any ideas ?
0 Kudos
Message 1 of 2
(2,916 Views)
You can use SetPrintAttribute to set the X and Y resolution in dots per inch. Some printer drivers do NOT support setting the resolution outside the print dialog like this though. The easiest way to set up the printer for hires printing is to invoke the print dialog and change the printer settings from the dialog. Then just call PrintCtrl on the ActiveX control to print it, or you can print the whole panel with PrintPanel. I would recommend using bitmap printing mode (SetPrintAttribute) which is more reliable on different printer drivers.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,916 Views)