The information in this article applies to:
SYMPTOMS
When printing text or graphics from Java using java.awt.PrintJob, the
output has different font sizes, line thickness', and other Graphics
attributes on different pages even when the same Graphic attributes and
fonts are used on all pages.
CAUSEThis problem happens with some printer drivers depending on whether the driver resets state between pages. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. MORE INFORMATIONSteps to Reproduce the Font and Graphic Attribute IssueCreate a Java Application and include the following class:
A workaround for this problem is to select a different attribute
(font/color) and do a drawString of an empty string, then select back in
the desired attribute.
A workaround for the translation accumulation issue is to get your current translation and set the translation to the inverted values:
Additional query words: print font
Keywords : kbSDKJava300fix kbDSupport JVM kbSDKJava310fix |
Last Reviewed: October 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |