Internal Error occured during printPage(). This could because of a GDI or D2D failure.


  • I have program that prints documents  without any problem apart from this case. IE update version 9.0.6 KB2675157. So far the error are recorded with only one specific document. The characters are Sweedish. I believe that problem is  specific character on wrong place. I have tried to debug on F12, using scripting. Here is the code generated  when it happens:


    "Internal Error occured during printPage(). This could because of a GDI or D2D failure."






    Printer.stopDoc(); (Note that is line line 2115


    I am printing it on pdf file using doPDfv7. The same is with  the real printer.

    It says the error is on preview.js line 2115 characters 1 or res://ieframe.dll/preview.js

    What can I do about it. Is there any way to locate what character is causing the above error?

    Tuesday, April 17, 2012 7:56 AM


All replies

  • Hi,

    Does the error occur in Print Preview (File>Print Preview), if not try

    is their Addon compatible with IE9?

    Perhaps the paid for version works better...

    If it does could you please post back with the web address of the page...

    Questions regarding Internet Explorer 8, 9 (and 10 Consumer Preview) for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to raise a question, it's highly recommended you head on over to



    • Proposed as answer by IECustomizer Tuesday, April 17, 2012 8:15 AM
    • Edited by IECustomizer Tuesday, April 17, 2012 11:35 AM
    Tuesday, April 17, 2012 8:14 AM
  • I am printing it on pdf file using doPDfv7. The same is with  the real printer.

    Is that a virtual printer then?   I usually suggest  XPS Document Writer  as a virtual printer.   Could you try it instead?

    BTW which OS?   If only W7, e.g. not W7sp1, you might also need a hotfix...

    Unfortunately the KB article doesn't explicitly say that that patch was integrated in W7sp1 but I'm quite sure it will not apply to it as is (i.e. not be allowed to be installed.)

    There is also this newer one:



    Robert Aldwinckle

    Tuesday, April 17, 2012 1:06 PM
  • Robert thank you very much

    OS is windows 7 service pack 1. I have tried with doPDF latest version 7.3. It is the same. Lexmark 6600 - 7700 series does not produce print. Cutepdf seems to be Ok, and produced a couple of pdfs file, and then suddenly stop. I will test XPS Document writer. So far I did not because I have not had clue about it. I will let you know.

    Tuesday, April 17, 2012 1:18 PM
  • Rob, I did have look at recommended answers which point to run as administrator, switch off protected  mode on security tab etc. I had tried that without success.

    Unfortunately I do not have much more info on No, there is no need for comercial version on that product, because it does not work with lexmark 6600-7600  printers either. There in html  file for printing might be something which clog up the printer buffer...



    • Edited by Panonia Tuesday, April 17, 2012 1:33 PM
    Tuesday, April 17, 2012 1:32 PM
  • Hi,

    Please try the suggestion provided by Robert to print via XPS virtual printer. It seems a driver issue.

    Juke Chou

    TechNet Community Support

    Thursday, April 19, 2012 2:53 PM
  • I am having the exact same issue with an HP printer. Did you ever get this resolved. Looks like alot of other people are having same issue with ie 9. I get a script error message every time i try to pring from a web page. I am having no problems with firefox.
    Wednesday, October 10, 2012 4:35 PM