When I am inside the Visual FoxPro 6.0 I execute a program to print some lines and it prints in the font I expected to be printed, for example, Arial.
Then when I use the generated .EXE file, outside the VFP environment, the fonts are much different (it prints similar to Handwriting font)
I use the following command in the program:
* REPORT1.PRG
*
SET DEVICE TO PRINTER PROMPT
SET PRINTER FONT 'Arial',12
LINEX=PROW()
@LINEX, 10 SAY "This is font size 12"
SET PRINTER FONT 'Arial',10
LINEX=PROW()
LINEX=LINEX+1
@LINEX, 10 SAY "This is font size 10"
EJECT
SET DEVICE TO SCREEN
RETURN
Please what to do to the program print the same font in both .PRG (inside the VFP environment) and in the later generated .EXE file ?
Thanks,
michel392
Then when I use the generated .EXE file, outside the VFP environment, the fonts are much different (it prints similar to Handwriting font)
I use the following command in the program:
* REPORT1.PRG
*
SET DEVICE TO PRINTER PROMPT
SET PRINTER FONT 'Arial',12
LINEX=PROW()
@LINEX, 10 SAY "This is font size 12"
SET PRINTER FONT 'Arial',10
LINEX=PROW()
LINEX=LINEX+1
@LINEX, 10 SAY "This is font size 10"
EJECT
SET DEVICE TO SCREEN
RETURN
Please what to do to the program print the same font in both .PRG (inside the VFP environment) and in the later generated .EXE file ?
Thanks,
michel392