Community
    • Login

    Print error 0x80040003

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    11 Posts 9 Posters 3.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kevin HubbardK
      Kevin Hubbard
      last edited by

      When I try to print, this error is displayed:
      Your printer has experienced an unexpected configuration problem. 0x80040003
      I am running Win 11 on an HP laptop. The printer is HP. I have Notepad++ v8.4.6.

      Terry RT Michael FarleyM 2 Replies Last reply Reply Quote 0
      • Terry RT
        Terry R @Kevin Hubbard
        last edited by

        @Kevin-Hubbard said in Print error 0x80040003:

        When I try to print, this error is displayed:

        So are you suggesting this error ONLY occurs when attempting to print from Notepad++. Since Notepad++ uses the same print driver (it’s the Windows driver that’s used) that every other application on your system is using that seems a bit unlikely.

        Maybe a bit more info, such as is it every file within Notepad++, only some types of files?

        Terry

        1 Reply Last reply Reply Quote 1
        • Kevin HubbardK
          Kevin Hubbard
          last edited by

          I just discovered that configuring Win 11 to run Notepad++ “As Administrator” solved the problem.

          1 Reply Last reply Reply Quote 0
          • Michael FarleyM
            Michael Farley @Kevin Hubbard
            last edited by

            @Kevin-Hubbard I receive the same error. Also an HP printer. Printer works in every other Windows 11 app; and like you, running it as admin allows me to print. I’ve uninstalled the printer, added it back, and still doesn’t resolve the issue.

            When it’s run as admin, the print dialog is the older Windows style dialog, so might have something to do with it working.

            Paul LabaP 1 Reply Last reply Reply Quote 2
            • PeterJonesP PeterJones referenced this topic on
            • Paul LabaP
              Paul Laba @Michael Farley
              last edited by

              @Michael-Farley I ran into the same problem upgrading from Windows 10 Pro to Windows 11 Pro.

              Running Notepad++ as administrator does solve the problem, but it’s a clumsy fix - you have to give permission to run the program, and you don’t get the print preview.

              Any other fix for this problem?

              Tim BonneyT 1 Reply Last reply Reply Quote 0
              • Tim BonneyT
                Tim Bonney @Paul Laba
                last edited by

                @Paul-Laba I too have this issue. However, I work for a company that does not grant me as the end user admin rights to my laptop…Therefore, I am unable to print from notepad++ period. Yes, there are work arounds for this too, but as you can imagine, this issue can severely impact productivity.

                Is anyone aware of whether or not NP++ might be investigating a potential fix for this issue?

                Thanks all.

                1 Reply Last reply Reply Quote 0
                • Mark OlsonM
                  Mark Olson
                  last edited by

                  This issue is much more likely to be resolved if you post an issue on the GitHub repo.

                  Since the core developers may not have access to the hardware that would allow them to replicate the issue and contribute a fix, it may be incumbent on someone who (a) can program in C++ and (b) can replicate the issue to solve the problem.

                  1 Reply Last reply Reply Quote 0
                  • donhoD
                    donho
                    last edited by

                    @Paul-Laba & @Tim-Bonney
                    Is your printer HP also?

                    xomxX 1 Reply Last reply Reply Quote 0
                    • xomxX
                      xomx @donho
                      last edited by

                      @donho

                      It seems that I solved it at least for one of the affected users - Github issue #14109 .

                      So maybe other users here could try the same trick (restoring the legacy Print-dialogue in Win11 22H2+).

                      mkupperM 1 Reply Last reply Reply Quote 2
                      • mkupperM
                        mkupper @xomx
                        last edited by

                        Thank you @xomx - While I was not getting printer errors I did not care for the new print dialog box.

                        Using

                        reg add "HKCU\Software\Microsoft\Print\UnifiedPrintDialog" /v "PreferLegacyPrintDialog" /d 1 /t REG_DWORD /f
                        

                        as suggested when I followed the links worked. I was surprised that I did not need to restart Notepad++. I did a Ctrl-P, saw the “modern” print dialog box, added the PreferLegacyPrintDialog thing from a command prompt, and when I did Ctrl-P again from Notepad++ I got the legacy print dialog box.

                        xomxX 1 Reply Last reply Reply Quote 2
                        • xomxX
                          xomx @mkupper
                          last edited by

                          @mkupper
                          It probably works so that when N++ calls the printing WINAPI, that system call always checks for the above RegKey first and then adapts the appearance of the Print-dlg.

                          Because I could not reproduce the problem myself, I can only guess what a real problem is. Because the printing basically works (with admin-rights), perhaps the MS will be able to fix it in a later build.

                          1 Reply Last reply Reply Quote 1
                          • mkupperM mkupper referenced this topic on
                          • PeterJonesP PeterJones referenced this topic on
                          • First post
                            Last post
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors