Printing Issue



  • NPP crashes everytime I try printing a file - using print icon and under file option. Please help.



  • @Demetra-Stephens

    Can you please double check if this directory exists?

    %APPDATA%/notepad++/plugins/config

    Just put it like it is into an explorer window and press enter.

    In addition, can you provide the debug-info which is available under ? menu ?

    Cheers
    Claudia



  • I have same issue.
    The folder referenced does NOT exist.
    https://www.screencast.com/t/Bj9JZVVZzFFc

    Notepad++ v7.5.8 (32-bit)
    Build time : Jul 23 2018 - 02:03:53
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll



  • Strange.

    I used Ctrl+P or File > Print or print-icon to print, and went used PDFCreator to print to a PNG, or used a physical printer driver, using 7.5.8 32-bit portable, and it worked just fine.

    Notepad++ v7.5.8   (32-bit)
    Build time : Jul 23 2018 - 02:03:53
    Path : C:\usr\local\apps\npp32.7.5.8\notepad++.exe
    Admin mode : OFF
    Local Conf mode : ON
    OS : Windows 10 (64-bit)
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll 
    

    Can you try it again downloading and running the 32-bit zipfile version, instead, just to see if it’s because it’s installed vs local-config?



  • I updated my installed copy to

    Notepad++ v7.5.8   (32-bit)
    Build time : Jul 23 2018 - 02:03:53
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : ComparePlugin.dll dbgpPlugin.dll MarkdownViewerPlusPlus.dll NppExec.dll NppFTP.dll PluginManager.dll PreviewHTML.dll PythonScript.dll XMLTools.dll DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll 
    

    I was able to print from the icon just fine there, too. So it does not appear to be the local conf mode setting



  • Standalone works fine:

    Notepad++ v7.5.8 (32-bit)
    Build time : Jul 23 2018 - 02:03:53
    Path : C:\Users\scotth\Downloads\npp.7.5.8.bin\notepad++.exe
    Admin mode : OFF
    Local Conf mode : ON
    OS : Windows 10 (64-bit)
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll



  • That’s progress, anyway.

    If portable works for you, and both portable and installed work for me, that means something is possibly wrong with your %AppData%\Notepad++ configuration folder for the installed version of NPP.

    1. Close NPP
    2. Open Windows Explorer
    3. Type %AppData% in the “location bar”.
      • If you have the location bar turned off, then replace 2-3 with WinKey+R (opens the Run dialog) and enter explorer %AppData%, Ok
    4. RClick on the Notepad++ folder; rename to Old-Notepad++
    5. Open NPP

    This will have (temporarily) removed all your settings, and running NPP will have started over with a fresh %AppData%\Notepad++.

    Try opening a file (or creating a new one) and printing. If it prints fine, then it’s something in your configuration files/folder; you can start copying from Old-Notepad++\ to Notepad++\ until printing stops working, then you can figure out what’s different between the config files.

    If it still didn’t print fine, even with fresh %AppData%\Notepad++, then it’s probably your executable directory that’s invalid. I’d then do a similar experiment: rename "c:\program files (x86)\Notepad++`; download and run the installer for a fresh installation; and see if printing works or not.



  • Followed your procedure 1-5, saw it created new files, and printing crashed again.
    I cannot install right now without getting our IT guy over here. Will do when I can.
    These are ‘corporate’ PC’s and somewhat locked down. More than likely installed under a local-user or network admin user account.



  • Same problem here, and @Claudia-Frank’s suggestion led me to a solution. I’m using Win10-64 and %APPDATA%/notepad++/plugins/ did not exist. I had a fresh install, and I’m 1st timer here today, so that was def related to the source of the problem.

    After I created these dirs, printing works fine:
    %APPDATA%/notepad++/plugins
    %APPDATA%/notepad++/plugins/config

    One other note… during install I chose to instruct the program to retain config files in the %APPDATA% folder (might be obvious from my comments above, but FYI to clarify that yes, I chose that option during install).

    Cheers. :)


Log in to reply