ID: Q99635
2.50 2.50a 3.00 WINDOWS kbprg kbprb
The information in this article applies to:
If the SET PRINT FONT "<font name>",<point size> command is used to define the font in which FoxPro for Windows is to print, and the ? or ?? command with a STYLE clause is used to output text to the printer, the specified STYLE is not used in the printed output.
To work around this problem, add a FONT clause to the ? or ?? commands in the code example below. For example, the first ? command would be:
? "This should be bold" FONT "Arial",12 STYLE "B"
The following code will reproduce this problem:
SET PRINTER FONT "Arial",12
SET PRINTER ON
? "This should be bold" STYLE "B"
?? "This should be italic" STYLE "I"
SET PRINTER OFF
SET PRINTER TO
Additional reference words: VFoxWin 3.00 FoxWin 2.50 2.50a
KBCategory: kbprg kbprb
KBSubcategory: FxprintFont
Keywords : FxprintFont
Version : 2.50 2.50a 3.00
Platform : WINDOWS
Last Reviewed: April 30, 1996