Microsoft KB Archive/43204

= FIX: TEXTFONT Reset in Interpreter on 2nd Printed Page =

Article ID: 43204

Article Last Modified on 11/21/2006



This article was previously published under Q43204



SYMPTOMS
When redirecting fonts to a printer with WINDOW OUTPUT #n, the fonts are reset after the first page of output. This occurs only in the interpreter part of QuickBasic version 1.00 for the Macintosh. This problem does not occur with applications compiled with QuickBasic, nor with the Basic Interpreter version 3.00.

Microsoft has confirmed this problem in Microsoft QuickBasic version 1.00 for Macintosh Systems. This problem is corrected in QuickBasic version 1.00b.



MORE INFORMATION
The workaround for this problem is to set TEXTFONT at the beginning of each printed page. As mentioned above, compiling the program also solves the problem.

Code Example
The following code produces one page of Monaco font and one page of the default font. The default font is determined by the Finder. The default application font was changed from New York to Geneva on the Finder released May 7, 1984. REM *** TEXTFONT example *** OPEN &quot;LPT1:&quot; FOR OUTPUT AS #1 WINDOW OUTPUT #1 TEXTFONT 4             'Monaco FOR i%=1 to 132 PRINT &quot;Hello&quot; NEXT i% CLOSE #1

Additional query words: MQuickB

Keywords: kbbug kbfix KB43204

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.