Menu

Page Break and insert text

2009-04-28
2012-11-13
  • Sean Spitsbergen

    Is there a page break function within Notepad++? 

    Also, what would be the best way to create a keyboard shortcut to insert the following block of comments:

    COMMENT SCRIPT:
    COMMENT CREATED: 
    COMMENT LAST MODIFIED: 
    COMMENT CALLED FROM:

    Thanks

     
    • cchris

      cchris - 2009-04-28

      1/
      Settings -> Shortcut mapper -> Scintilla commands, assign the SCI_FORMFEED command.

      2/
      Search the plugin development forum for QuickText unicode, and use your text as a snippet. Unless you use an ANSI version of N++.

      CChris

       
      • Sean Spitsbergen

        Thanks for those answers, but I could not see the quicktext plug in and how do I know which type I am using, I just use the npp5.0 installer. 

         
      • Sean Spitsbergen

        cchris, thanks, sorry to be a problem, but I activiated the SCI_formfeed to Ctrl-F1, and I can see the FF on the page, but it is not translating to the printout.  The black-boxed FF just prints where I inserted it, instead of it being a command, like so:

        COMMENT END SCRIPT:  F2_GFT_FINDWIRES
        FF
        COMMENT SCRIPT: FZ_GFT_DELETE_PREV_RUN

        Am I using the command wrong?  I might be spoiled by MS (ugh)

         
    • cchris

      cchris - 2009-04-28

      Open the About dialog box from the ? menu. You'll see ANSI or Unicode at the top. If you use the standard installer, then you should have an unicode build.

      Regarding QuickText, you will want to check this thread:

      https://sourceforge.net/forum/forum.php?thread_id=2579444&forum_id=482781

      CChris

       
    • cchris

      cchris - 2009-04-28

      It depends on your OS and your printer. If you have say a PostScript or PCL based printer, form feed won't be read as a page break.

      CChris

       
  • kgrupp

    kgrupp - 2010-06-02

    Your answer is a little short for me. It would be really nice if a Form Feed would be printed.
    When I load a txt-document into e.g. OO-Writer, then FF is printed. Isn't it possible to implement into Notepad++ or a plugin, that FF is send to the printer driver in a way that the printer driver knows that it should send a form feed command to the printer?

     
  • cchris

    cchris - 2010-06-03

    Notepad++ is a text editor, which means that any formatting it does is inferred from configuration and loaded text, without any
    external format information.
    I'm not sure a line break command would fit in this description. You can always makea request on IdeaTorrent.

    CChris