LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot change to a fixed width font when using PrintTextFile()

I've tried setting the printer font by using
SetPrintAttribute (ATTR_PRINT_FONT_NAME, VAL_EDITOR_FONT);
and
SetPrintAttribute (ATTR_PRINT_FONT_NAME, "Courier");
In both instances, what prints out is not a fixed-width font. The style of the font never changes.

For the columnated data I am printing, it is necessary to use a fixed-width font. Any help here?

Thanks,
Kay
0 Kudos
Message 1 of 3
(2,981 Views)
try using
SetPrintAttribute (ATTR_PRINT_FONT_NAME, VAL_SYSTEM_META_FONT);

Gabel Daniel
Chaban Electronics
0 Kudos
Message 2 of 3
(2,981 Views)
That worked!

Thanks!

Kay
0 Kudos
Message 3 of 3
(2,981 Views)