The information in this article applies to:
SYMPTOMSExecuting a PrintForm method to print a maximized form results in only a portion of the form being printed. This bug may also occur when you click Print on the File menu to print a Form Image. CAUSEThe PrintForm method prints an image of the Form window in its normal state. Those controls that are not visible on the Form when the Form's window state is normal will not print. RESOLUTIONWorkaround #1To workaround this bug, resize the form so that all controls on the form display, and then execute the PrintForm method.Workaround #2You can also workaround this problem by capturing the on-screen image of the form and then printing that image. For more information, see the following Microsoft Knowledge Base article:Q161299 : HOWTO: Capture and Print the Screen, a Form, or any Window Please note that this workaround will not work in situations where the form is larger than the display area, or if a portion of the form is not visible for any other reason. For an alternative approach, please see the following article in the Microsoft Knowledge Base: Q178076 : HOWTO: Use a PictureBox to Control Orientation Printing a Form STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual Basic 6.0. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words:
printer printing truncate kbVBp500bug kbVBp600fix kbVBp kbdsd kbDSupport
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |