• Login
Community
  • Login

Print error 0x80040003

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
11 Posts 9 Posters 3.7k 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.
  • K
    Kevin Hubbard
    last edited by Nov 8, 2022, 2:16 AM

    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.

    T M 2 Replies Last reply Nov 8, 2022, 2:28 AM Reply Quote 0
    • T
      Terry R @Kevin Hubbard
      last edited by Nov 8, 2022, 2:28 AM

      @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
      • K
        Kevin Hubbard
        last edited by Nov 8, 2022, 3:04 AM

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

        1 Reply Last reply Reply Quote 0
        • M
          Michael Farley @Kevin Hubbard
          last edited by Jan 14, 2023, 2:34 AM

          @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.

          P 1 Reply Last reply May 13, 2023, 8:27 PM Reply Quote 2
          • P PeterJones referenced this topic on Jan 30, 2023, 6:52 PM
          • P
            Paul Laba @Michael Farley
            last edited by May 13, 2023, 8:27 PM

            @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?

            T 1 Reply Last reply Jun 1, 2023, 1:14 PM Reply Quote 0
            • T
              Tim Bonney @Paul Laba
              last edited by Jun 1, 2023, 1:14 PM

              @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
              • M
                Mark Olson
                last edited by Jun 1, 2023, 1:40 PM

                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
                • D
                  donho
                  last edited by Sep 8, 2023, 11:21 PM

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

                  X 1 Reply Last reply Sep 21, 2023, 7:56 PM Reply Quote 0
                  • X
                    xomx @donho
                    last edited by Sep 21, 2023, 7:56 PM

                    @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+).

                    M 1 Reply Last reply Sep 22, 2023, 7:56 PM Reply Quote 2
                    • M
                      mkupper @xomx
                      last edited by Sep 22, 2023, 7:56 PM

                      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.

                      X 1 Reply Last reply Sep 23, 2023, 7:41 PM Reply Quote 2
                      • X
                        xomx @mkupper
                        last edited by Sep 23, 2023, 7:41 PM

                        @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
                        • M mkupper referenced this topic on Nov 11, 2023, 6:20 PM
                        • P PeterJones referenced this topic on Dec 10, 2023, 3:33 PM
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors