• Login
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.
  • T
    Terry Weiss
    last edited by Mar 24, 2017, 4:25 PM

    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!

    C 1 Reply Last reply Mar 24, 2017, 7:58 PM Reply Quote 0
    • C
      Claudia Frank @Terry Weiss
      last edited by Mar 24, 2017, 7:58 PM

      @Terry-Weiss

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

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • T
        Terry Weiss
        last edited by Mar 26, 2017, 4:51 PM

        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.

        C 1 Reply Last reply Mar 26, 2017, 8:25 PM Reply Quote 0
        • C
          Claudia Frank @Terry Weiss
          last edited by Mar 26, 2017, 8:25 PM

          @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
          3 out of 4
          • First post
            3/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors