LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Text strings truncated when printing panels in CVI

When I use the PrintPanel() function, any text strings I have on screen (using TextMessage control) get truncated by a character or two, like it's calculating a clipping area based on the wrong font size. I've tried it with both NI and Windows fonts and no joy with either. I'm printing on a Ricoh laser.

Thanks for any help.
0 Kudos
Message 1 of 2
(2,816 Views)
Try changing the printing mode to bitmap printing with SetPrintAttribute. (Enable Bitmap Printing). This may print slower, but it shouldn't have the font length calculation problem that your printer driver is having.

Best Regards,

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