Community
    • Login

    Printing from NppExec buffer?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    nppexec
    4 Posts 2 Posters 2.2k 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.
    • Terry WeissT
      Terry Weiss
      last edited by

      In the past, I’ve used emacs to print transcripts from a buffer for coursework, but I was wondering if Notepad++ has a similar feature available with NppExec? I love Notepad++ and I think it’s way better, especially with plugins. If I can print from the buffer, it’d be perfect! I’ve looked elsewhere, but I haven’t been able to find a way. Thanks so much!

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Terry Weiss
        last edited by

        @Terry-Weiss

        what means buffer in this context? Current (not saved) document?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Terry WeissT
          Terry Weiss
          last edited by

          Yes, sorry. By buffer, I meant the output of the console area in NppExec. I can’t find any way of saving or printing it. Whenever I try anything, it always operates on the main file, not on the console output.

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank @Terry Weiss
            last edited by

            @Terry-Weiss

            Open the nppexec console and type help press enter.
            Then you get the full list of supported commands.

            For your question,
            make sure no internal messages has been checked in nppexec menu
            and do something like this

            cd c:\python
            cls
            python "$(FULL_CURRENT_PATH)"
            CON_SAVETO C:\test6734.txt
            

            This would save the output of the current python program to a file C:\test6734.txt
            which then can be printed out regarding to your needs. For example by using
            npp_open <file> to load the file and using npp_menucommand <menu\item\name>
            to print it or using the print command from the cmd shell to do so. …

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors