LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

When I print a graph control the traces are not there.

Hi,
When printing a graph control, the outline and control print just fine, however, the traces that are visable when on the screen do not print. I also tried two different printers.
0 Kudos
Message 1 of 7
(3,578 Views)
Try making the lines thicker and see if that helps. Also, try Bitmap printing mode (SetPrintAttribute).

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 7
(3,578 Views)
Chris,
Thanks for the reply, however, no help. I changed to a fat line, even to a scatter plot. Even though they show up great on the screen, the traces only will not print. Grids, labels, numbers etc all print fine. Even tried a color laser printer to see if it was that.
Help..
0 Kudos
Message 3 of 7
(3,578 Views)
Chris,
I went to the support area, and there I found the answer. I was doing something wrong. I had my graphs set to discard data and not retain it. The document is 0HFDSKZL . Thanks for your help.
0 Kudos
Message 7 of 7
(3,578 Views)
Did you try the bitmap printing mode? (SetPrintAttribute). Bitmap printing sends an image to the printer instead of GDI printing instructions. Also, this may be a stupid question, but you are sure you aren't printing before the graph is updated. Try the attached program to see if it prints OK.

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 4 of 7
(3,578 Views)
Chris,
Your graphs print just fine. Mine still do not. I have a print button on my panel just like yours. I call the same PrintCtrl command that you do and I am printing the control that I already have visible. I also tried Bitmap printing.. Still no help.
Everything is there but the traces....
0 Kudos
Message 5 of 7
(3,578 Views)
I have no good guesses for you. You may want to have support see if they can look at your program and find the problem. Contact them at http://www.ni.com/ask.

Chris
0 Kudos
Message 6 of 7
(3,578 Views)