03-08-2006 03:50 PM
03-09-2006 05:35 PM
03-09-2006 06:18 PM
Sarah,
I took the sample code that comes with Labwindows/CVI 8.0 that demonstrates the use of the legend and added a Print Panel button.
The code I started with was here:
C:\Program Files\National Instruments\CVI80\samples\userint
I added a single call to PrintPanel in the callback for a new command button as follows:
PrintPanel ( panel, // int Panel_Handle,
"", // char Filename[],
1, // int Scaling, 1=full size 0=relative to screen
VAL_FULL_PANEL, // int Scope,
1 // int Confirm_Dialog_Box
);
I've attached a ZIP file with the code. The new stuff is at the bottom.
Thanks for taking a look,
Kirk
03-10-2006 04:27 PM
03-10-2006 07:39 PM
Sarah,
OK, I'm glad you were able to duplicate the problem.
Please let me know when you have more info.
Thanks,
Kirk
03-14-2006 02:07 PM
Kirk,
I had the same problem so I did the following (I used bitmap):
SetPrintAttribute (ATTR_BITMAP_PRINTING, 1);
03-14-2006 02:14 PM
Kirk,
Forgot to mention, I'm waiting on the bug fit too.
Walt
03-14-2006 04:30 PM
Walt,
I just tried bitmap and it worked here too. I thought I had tried that before, but apparently not.
The output is not quite as nice looking, but it will do for now.
Thanks for the tip,
Kirk