LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

printer font

In a program I am making print outs of my panel. Now when printing
from one pc I get nice small but readable numbers on the scales of
my panels chart. Using another pc (and the same printer via network)
the numbers are small and (rather) unreadable.
Where can I determine the size and type of the font used for printing?
The screen version looks all the same to me ... (?)

win98 / lv 5.01

Christoph
0 Kudos
Message 1 of 5
(3,288 Views)
Christoph Klein wrote:
>In a program I am making print outs of my panel. Now when printing>from
one pc I get nice small but readable numbers on the scales of>my panels chart.
Using another pc (and the same printer via network)>the numbers are small
and (rather) unreadable.>Where can I determine the size and type of the font
used for printing?>The screen version looks all the same to me ... (?)>>win98
/ lv 5.01>>Christoph

When you are using the "default system font", Labview has a mind of its own.
You can trace the actual font through the windows progman.ini and system.ini
files, but there is an easier way: simply replace the font being used on
your front panel with a standard Truetype font, such as Courier New, Arial
or Times New Roman, and you will
find that the agreement is much better.
0 Kudos
Message 2 of 5
(3,288 Views)
> >In a program I am making print outs of my panel. Now when printing>from
> one pc I get nice small but readable numbers on the scales of>my panels chart.
> Using another pc (and the same printer via network)>the numbers are small
> and (rather) unreadable.>Where can I determine the size and type of the font
> used for printing?>The screen version looks all the same to me ... (?)>>win98
> / lv 5.01>>Christoph
>
> When you are using the "default system font", Labview has a mind of its own.
> You can trace the actual font through the windows progman.ini and system.ini
> files, but there is an easier way: simply replace the font being used on
> your front panel with a standard Truetype font, such as Courier New, Arial
> or Times New Roman, and you will find tha
t the agreement is much better.

Actually, it isn't so much LV as the interaction of the different drivers.
The default font name can be defined in the .ini file, but it is by default
taken directly from the system. This basically uses the correct large/small
font for your system and becomes very important if you are on a Japanese,
Russian, or system which otherwise uses a font that is defined as part
of the
locale. This font is then used (selected) into the screen drawing context
where the screen drivers do their thing and draw dots on the screen for a
given text string. Unfortunately, when this same font is selected into the
printer drawing context, substitutions may take place, and they often
do, and
you may get different results. Note this is also different with the version
of the MS OS you are using.

Anyway, your suggestion of sticking to a True Type font is generally a very
good one. Now if MS would define their default font as one that is True Type,
lots of these problems
would go away. By the way, I'm almost certain that
Win2000 did this.

Greg McKaskle
0 Kudos
Message 3 of 5
(3,288 Views)
Greg McKaskle wrote:
>
> Anyway, your suggestion of sticking to a True Type font is generally a very
> good one. Now if MS would define their default font as one that is True Type,
> lots of these problems would go away. By the way, I'm almost certain that
> Win2000 did this.

I did notice that my panels all looked slightly different when I went
from Win9x to Win2000. I.e. the application, system, dialog, ... fonts
were all changed. I had to widen 1 or 2 boxes on enum controls etc.

Most things looked better!

The only slight issue: one slider was defined to use 10pt Arial, which
seems not to be available to LV (at least if you choose the font size
10pt doesn't appear). On Win95 that was translated to something quite
readable. On Win2000 th
at was translated to a very odd square font.

Best, Mark
0 Kudos
Message 4 of 5
(3,288 Views)
Greg McKaskle wrote:
.......Now if MS would define their default font as one that is True Type,>lots
of these problems would go away. By the way, I'm almost certain that>Win2000
did this.>>Greg McKaskle

Is it true?

Urs


0 Kudos
Message 5 of 5
(3,288 Views)