Microsoft KB Archive/317978

= Internet Explorer Cannot Print Large Images =

Article ID: 317978

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0

-



This article was previously published under Q317978



SYMPTOMS
When you try to print a large image file by using the Enhanced Metafile Format (EMF), the temporary EMF file may not be generated, the print job may fail, and you may receive the following error message:

Iexplorer

This program has performed and illegal operation and will be shut down.

If the problem persists, contact the program vendor.



CAUSE
This behavior can occur when Internet Explorer tries to print an image that is larger then 16 megabytes (MB) based on the resolution calculations. There is an architectural limitation in the Graphics Device Interface (GDI) in the following operating systems that limits the amount of data that can be rendered to 16 MB:
 * Microsoft Windows Millennium Edition (Me)
 * Microsoft Windows 98
 * Microsoft Windows 95

When the print job runs, the EMF file is not generated because the call to the Public Function StretchDiBits GDI function fails. Because of the dependencies in Internet Explorer 5.5 (and later) on the EMF file, the Internet Explorer printing subsystem to fail.



WORKAROUND
To work around this behavior, use either of the following methods:
 * Use Microsoft Windows NT, Microsoft Windows 2000, or Microsoft Windows XP to print the image. These operating systems do not have the 16 MB GDI limitation.
 * Print images that are less than 16 MB after resolution calculations. To calculate the size of the image, check the image properties in a graphics program. Multiply the width * height * bit depth of the image to determine the total size of the image.



STATUS
This behavior is by design.

Keywords: kbprint kbenv kbprb KB317978

-

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

© Microsoft Corporation. All rights reserved.