<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Is there a way to do a new Page Break]]></title><description><![CDATA[<p dir="auto">Hi, is there a way to do a new Page Brake in Notepad++ ?<br />
so at that point a New Page will be Printed.<br />
Thank You.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27539/is-there-a-way-to-do-a-new-page-break</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 14:38:43 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27539.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 May 2026 13:11:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 13:13:55 GMT]]></title><description><![CDATA[<p dir="auto">Thank You Everyone for your Time and Effort.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105514</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105514</guid><dc:creator><![CDATA[AlanRobbo 69]]></dc:creator><pubDate>Fri, 22 May 2026 13:13:55 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 10:29:51 GMT]]></title><description><![CDATA[<p dir="auto">Can someone please fix the typo in the thread name (brake -&gt; break)? Thanks!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105513</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105513</guid><dc:creator><![CDATA[fml2]]></dc:creator><pubDate>Fri, 22 May 2026 10:29:51 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 09:23:48 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> <a href="/post/105500">said</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mark-olson" aria-label="Profile: Mark-Olson">@<bdi>Mark-Olson</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alanrobbo-69" aria-label="Profile: AlanRobbo-69">@<bdi>AlanRobbo-69</bdi></a>,</p>
<p dir="auto">I have an initial implementation available through the GitHub action build for now (<a href="https://github.com/pryrt/notepad-plus-plus/actions/runs/26252176986#artifacts" rel="nofollow ugc">https://github.com/pryrt/notepad-plus-plus/actions/runs/26252176986#artifacts</a> – artifacts should be there in a few minutes from when I post)</p>
<ul>
<li>If you have <code>Text Of Line[FF][EOL]NextPage</code> then the <code>[FF]</code> will be the end of page1 and <code>NextPage</code> will be the beginning of page2</li>
<li>If you have <code>Something[EOL][FF]NextPage</code>, then the <code>Something</code> will be the end of page1 and <code>[FF]NextPage</code> will be the beginning of page2</li>
<li>I don’t recommend it, but <code>Text of[FF] Line[EOL]SomethingElse</code> will put <code>Text of[FF] Line</code> on page1 and <code>SomethingElse</code> on page2 (this is due to the fact that scintilla will always go to the end of the line, even if it goes beyond the “end position” that you passed it, and it doesn’t consider FF an EndOfLine character for this purpose.  That would have to be fixed in Scintilla, as there’s nothing I can do about it from the N++ end.)</li>
<li><strong>View &gt; Show Symbol: if Show Control Characters &amp; Unicode EOL</strong> is on, then Notepad++'s display and the printed file will include the FF box-glyph.  If it’s off, then neither N++ nor the printed file will show the FF box-glyph.</li>
</ul>
<p dir="auto">The option defaults to <em>OFF</em>.  To turn it on, use <strong>Settings &gt; Preferences &gt; Print &gt; Print formfeed as page break</strong>.</p>
<p dir="auto">I hope that you (and other interested parties) would test it over the next few days.  I will likely create the issue right after posting this message (<em>update</em>: <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/18059" rel="nofollow ugc">Issue #18059</a>), but will wait until this weekend to submit the PR, in case there are obvious things that would improve it before I submit it to the codebase.</p>
</blockquote>
<p dir="auto">I like your specification, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a> , but I am not sure if I understood the subsequent discussion of you and <a class="plugin-mentions-user plugin-mentions-a" href="/user/coises" aria-label="Profile: coises">@<bdi>coises</bdi></a> in the right way (due to possible language barrier).</p>
<p dir="auto">So I want to drop my 5 cent to the specification, sorry if that is even what you meant all along. But I think, it is slightly different.</p>
<p dir="auto">My expectation/specification would be like that:</p>
<ul>
<li>Even during printing, under no circumstances, a character is omitted at the output. So if control characters are enabled to be shown, they are also visible on the printing output. So FF should not be “cut away or replaced by page break”, but only the meaning of page break is added at the printing output.<br />
<strong>and</strong></li>
<li>The interpretation/action of a control character takes place (directly) <strong>after</strong> the position of the control character in the document (exatly like with CR and/or LF, line break is done directly after these control chars). This would be consistant behaviour of control char interpretation.</li>
</ul>
<p dir="auto">Now, if I understood correctly, it is not possible to cut/split directly after FF and send the page break to Scintilla, but only to cut/split after CR and/or LF. In this case, my specification would be:</p>
<ul>
<li>Add page break <strong>always after</strong> the next possible CR and/or LF, means, applied to your examples:<br />
Text: <code>FirstText[FF][EOL]SecondText[EOL]ThirdText</code> --&gt; Printing Output: <code>FirstText[FF][EOL][page break]SecondText[EOL]ThirdText</code><br />
Text: <code>FirstText[EOL][FF]SecondText[EOL]ThirdText</code> --&gt; Printing Output: <code>FirstText[EOL][FF]SecondText[EOL][page break]ThirdText</code><br />
Text: <code>FirstText[EOL]SecondText[FF]ThirdText[EOL]FourthText</code> --&gt; Printing Output: <code>FirstText[EOL]SecondText[FF]ThirdText[EOL][page break]FourthText</code><br />
So each line is finished with an <code>[EOL]</code>. Control characters of another line belong to the line in which they are in, and are applied at next possible <code>[EOL]</code>.</li>
<li>So, nevertheless, the standard should be to have <code>[FF][EOL]</code> in the document for a page break then</li>
</ul>
<p dir="auto">For me, that would be a universally applicable solution and interpretation of control characters.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105512</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105512</guid><dc:creator><![CDATA[MarkusBodensee]]></dc:creator><pubDate>Fri, 22 May 2026 09:23:48 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 08:05:52 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fml2" aria-label="Profile: fml2">@<bdi>fml2</bdi></a> <a href="/post/105508">said</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coises" aria-label="Profile: Coises">@<bdi>Coises</bdi></a> <a href="/post/105502">said</a>:</p>
<p dir="auto">add an option that defines a user-specified string (such as === page ===) which, when it occurs by itself on a line, indicates a page break</p>
</blockquote>
<p dir="auto">I must say: I like the idea! It does not try to retain the function of an obscure and invisible character FF, but rather briings the functionality in a clear and concious way to the user.</p>
<p dir="auto">One might argue that the same could also apply to the linebreaks (why express them with invisible characters rather than with special markers like “=== newline ===”), but new lines have a natural visualisation in a text editor whereas page breaks do not.</p>
<p dir="auto">Ideally, both ways to insert a page break would be possible, with a corresponding option (check mark) to “consider” that way (e.g. “Start a new page at FF when printing” and “Start a new page at this marker when printing: _________” – with the input field for the marker; default could be “=== new page ===”).</p>
</blockquote>
<p dir="auto">I would second, that the idea of <a class="plugin-mentions-user plugin-mentions-a" href="/user/coises" aria-label="Profile: coises">@<bdi>coises</bdi></a> is a good one. But IMHO, such kind of “string interpretation” would more be a feature to be implemented in a plug-in or in a script rather than in the core application. It is not an ordinary standard, but rather a user-specific extension and interpretation.</p>
<p dir="auto">AFAIK, the only official way to have a page break is to use the form feed (hex 0xC - ASCII control character) as a page-break.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105511</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105511</guid><dc:creator><![CDATA[MarkusBodensee]]></dc:creator><pubDate>Fri, 22 May 2026 08:05:52 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 08:01:27 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coises" aria-label="Profile: Coises">@<bdi>Coises</bdi></a> <a href="/post/105502">said</a>:</p>
<p dir="auto">add an option that defines a user-specified string (such as === page ===) which, when it occurs by itself on a line, indicates a page break</p>
</blockquote>
<p dir="auto">I must say: I like the idea! It does not try to retain the function of an obscure and invisible character FF, but rather briings the functionality in a clear and concious way to the user.</p>
<p dir="auto">One might argue that the same could also apply to the linebreaks (why express them with invisible characters rather than with special markers like “=== newline ===”), but new lines have a natural visualisation in a text editor (in a sense, a text editor has the WYSIWYG functionality :-) ) whereas page breaks do not.</p>
<p dir="auto">Ideally, both ways to insert a page break would be possible, with a corresponding option (check mark) to “consider” that way (e.g. “Start a new page at FF when printing” and “Start a new page at this marker when printing: _________” – with the input field for the marker; default could be “=== new page ===”).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105508</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105508</guid><dc:creator><![CDATA[fml2]]></dc:creator><pubDate>Fri, 22 May 2026 08:01:27 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 06:00:35 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alanrobbo-69" aria-label="Profile: AlanRobbo-69">@<bdi>AlanRobbo-69</bdi></a> <a href="/post/105495">said</a>:<br />
They are trying to Break Sub’s &amp; Functions into something Better Looking.</p>
</blockquote>
<p dir="auto">HTML supports <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/break-after" rel="nofollow ugc">break-after</a> style. An idea that can take a little extra work. Could add comments to the source file to indicate break page directives. This is quite a poor solution with the comments just to locate the tag to replace easier in the HTML source though if can do without making comments then it can save the code source from being dirtied with these extra comments.</p>
<p dir="auto">Example in Python:</p>
<pre><code>'''Add break page comments into the document'''
# break-after: page
class hungry():
    ...
</code></pre>
<p dir="auto">Menu <code>Plugins -&gt; NppExport -&gt; Export to HTML</code> and the HTML body will look like:</p>
<pre><code>&lt;body&gt;
&lt;div style="float: left; white-space: pre; line-height: 1; background: #FFFFFF; "&gt;&lt;span class="sc6"&gt;'''Add break page comments into the document'''&lt;/span&gt;&lt;span class="sc0"&gt;
&lt;/span&gt;&lt;span class="sc1"&gt;# break-after: page&lt;/span&gt;&lt;span class="sc0"&gt;
&lt;/span&gt;&lt;span class="sc5"&gt;class&lt;/span&gt;&lt;span class="sc0"&gt; &lt;/span&gt;&lt;span class="sc8"&gt;hungry&lt;/span&gt;&lt;span class="sc10"&gt;():&lt;/span&gt;&lt;span class="sc0"&gt;
    &lt;/span&gt;&lt;span class="sc10"&gt;...&lt;/span&gt;&lt;span class="sc0"&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;
</code></pre>
<p dir="auto">Replace the tag:</p>
<pre><code class="language-html">&lt;span class="sc1"&gt;# break-after: page&lt;/span&gt;
</code></pre>
<p dir="auto">with</p>
<pre><code>&lt;span style="break-after: page"&gt;&lt;/span&gt;
</code></pre>
<p dir="auto">Open the HTML file in a Web Browser and print. This small example will print 2 pages.</p>
<p dir="auto">A script or plugin might better to reduce the extra work though may require time to create something worthwhile. Break based on certain styled keywords taking into account the line count per page might be some factors for a developer to consider.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105507</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105507</guid><dc:creator><![CDATA[mpheath]]></dc:creator><pubDate>Fri, 22 May 2026 06:00:35 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 02:27:38 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> <a href="/post/105505">said</a>:</p>
<p dir="auto">I’ll see if it can be made more complex to hide some or all FF glyphs without hiding other control glyphs</p>
</blockquote>
<p dir="auto">I know (from one of my projects) you can control individual <a href="https://www.scintilla.org/ScintillaDoc.html#CharacterRepresentations" rel="nofollow ugc">character representations</a>; so to hide all form feeds you could save the current representation of 0x0C, set it to something that won’t print (I don’t know if you can set an empty string or if that would reset it to default display, requiring you to use something like a zero width space instead), and then restore it after printing; but I don’t know if that would cause a visual glitch in the document display.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105506</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105506</guid><dc:creator><![CDATA[Coises]]></dc:creator><pubDate>Fri, 22 May 2026 02:27:38 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 01:56:53 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">It could be that I’ve misunderstood the purpose of this feature. I assumed that some users wanted a simple way to add page breaks for printing to otherwise plain text documents without importing the text into a word processing program or using some other workaround. I</p>
</blockquote>
<p dir="auto">That is the way this one was phrased.  However, using the ASCII FF is the only way I can justify page break, because anything else is word processing.  And since most of the historical ones have suggested FF, that’s the one easiest to sell to Don.</p>
<blockquote>
<p dir="auto">there is no way, without changing either the content of the document or the Scintilla settings, to suppress the form feed graphic <em>unless</em> it is on a line by itself.</p>
</blockquote>
<p dir="auto">That is what I found, as far as I can tell.</p>
<p dir="auto">I originally wanted to print to one chat before the FF, then advance to the chat after FF for the next page, but Scintilla always continuing until the next line-end, even beyond the supplied end-position argument, made that not work.</p>
<p dir="auto">I think that trying to make the search more complicated would be computationally expensive (doing this forward search at every page is technically O(N*P), which approaches O(N^2) for small pages already, so I wanted to keep it as simple as possible).  Maybe I’ll pull a “Don” on this one: (assuming there are no functional problems) I’ll put in the PR as is, and if users complain, then I’ll see if it can be made more complex to hide some or all FF glyphs without hiding other control glyphs</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105505</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105505</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 22 May 2026 01:56:53 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 01:32:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> <a href="/post/105503">said</a>:</p>
<blockquote>
<ol>
<li>I’m not convinced there’s a purpose behind hiding some FF symbols that way, but not others.  If you don’t want to see FF in the printout, hide control characters.  This is already-expected behavior for users.  Can you explain why this new feature should contain a “mixed mode”</li>
</ol>
</blockquote>
<p dir="auto">It could be that I’ve misunderstood the purpose of this feature. I assumed that some users wanted a simple way to add page breaks for printing to otherwise plain text documents without importing the text into a word processing program or using some other workaround. In such a scenario they would not want to see the form feed graphic in the printed version, but they would want to see it when editing.</p>
<p dir="auto">It’s not that I think it would be good to treat some form feed symbols differently than others, it’s that — if I understand what you wrote about SCI_FORMATRANGEFULL correctly — there is no way, without changing either the content of the document or the Scintilla settings, to suppress the form feed graphic <em>unless</em> it is on a line by itself.</p>
<p dir="auto">Since I thought giving users a way to create page breaks was the point, I mentioned this as something that might make that easier.</p>
<blockquote>
<ol start="2">
<li>FF is the ASCII character that has for 40+ years meant “new page” in text files when printing.  I can fully understand and support adding that meaning to Notepad++ usage.  Some other random string, otoh, seems to be encroaching on “I want a word processor” (and other that FF, I don’t think anyone ever asked for other page break capabilities).  And I think adding that virtually guarantees rejection of the PR</li>
</ol>
</blockquote>
<p dir="auto">Well, the original poster in this thread just asked for a way to cause a page break — I didn’t see any mention of form feeds. If the purpose is to properly print existing text files containing ASCII control codes, there’s more than just form feed to consider; but I don’t get the impression that was ever within the scope of this project. Maybe form feed is far and away the most common control code that is currently unsupported; I honestly don’t know about that.</p>
<p dir="auto">I suspect you are right about the greatly increased likelihood of rejection if an alternate character string field were added to the Preferences.</p>
<p dir="auto">My thoughts were just that… thoughts. Above I attempted to explain those thoughts, but (despite possible appearances) I don’t mean this to argue for expanding the scope of your changes. I think it’s entirely reasonable to leave it as you have it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105504</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105504</guid><dc:creator><![CDATA[Coises]]></dc:creator><pubDate>Fri, 22 May 2026 01:32:46 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 00:30:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coises" aria-label="Profile: Coises">@<bdi>Coises</bdi></a> ,</p>
<ol>
<li>
<p dir="auto">I’m not convinced there’s a purpose behind hiding some FF symbols that way, but not others.  If you don’t want to see FF in the printout, hide control characters.  This is already-expected behavior for users.  Can you explain why this new feature should contain a “mixed mode”</p>
</li>
<li>
<p dir="auto">FF is the ASCII character that has for 40+ years meant “new page” in text files when printing.  I can fully understand and support adding that meaning to Notepad++ usage.  Some other random string, otoh, seems to be encroaching on “I want a word processor” (and other that FF, I don’t think anyone ever asked for other page break capabilities).  And I think adding that virtually guarantees rejection of the PR</p>
</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/post/105503</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105503</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 22 May 2026 00:30:30 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Fri, 22 May 2026 00:09:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a>:</p>
<p dir="auto">Just a thought… would it make sense to:</p>
<ol>
<li>
<p dir="auto">recognize the case where a form feed is on a line by itself (preceded and followed by EOL) and in that case exclude the entire line (so the form feed does not appear in the printout at all)? If I’m following your code and the way you say SCI_FORMATRANGEFULL works, it seems that should be possible. That way it wouldn’t be necessary to change the <strong>Show Symbol</strong> setting between editing (so you can see what you’re doing) and printing (to get a clean printout).</p>
</li>
<li>
<p dir="auto">as an extension of that, add an option that defines a user-specified string (such as <strong><code>=== page ===</code></strong>) which, when it occurs by itself on a line, indicates a page break (instead of a form feed)? That would complicate the preferences (ugh!) but I think it would be easier for most users to use… at least, I presume control characters are a little obscure to most non-programmers.</p>
</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/post/105502</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105502</guid><dc:creator><![CDATA[Coises]]></dc:creator><pubDate>Fri, 22 May 2026 00:09:26 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Thu, 21 May 2026 21:02:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mark-olson" aria-label="Profile: Mark-Olson">@<bdi>Mark-Olson</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alanrobbo-69" aria-label="Profile: AlanRobbo-69">@<bdi>AlanRobbo-69</bdi></a>,</p>
<p dir="auto">I have an initial implementation available through the GitHub action build for now (<a href="https://github.com/pryrt/notepad-plus-plus/actions/runs/26252176986#artifacts" rel="nofollow ugc">https://github.com/pryrt/notepad-plus-plus/actions/runs/26252176986#artifacts</a> – artifacts should be there in a few minutes from when I post)</p>
<ul>
<li>If you have <code>Text Of Line[FF][EOL]NextPage</code> then the <code>[FF]</code> will be the end of page1 and <code>NextPage</code> will be the beginning of page2</li>
<li>If you have <code>Something[EOL][FF]NextPage</code>, then the <code>Something</code> will be the end of page1 and <code>[FF]NextPage</code> will be the beginning of page2</li>
<li>I don’t recommend it, but <code>Text of[FF] Line[EOL]SomethingElse</code> will put <code>Text of[FF] Line</code> on page1 and <code>SomethingElse</code> on page2 (this is due to the fact that scintilla will always go to the end of the line, even if it goes beyond the “end position” that you passed it, and it doesn’t consider FF an EndOfLine character for this purpose.  That would have to be fixed in Scintilla, as there’s nothing I can do about it from the N++ end.)</li>
<li><strong>View &gt; Show Symbol: if Show Control Characters &amp; Unicode EOL</strong> is on, then Notepad++'s display and the printed file will include the FF box-glyph.  If it’s off, then neither N++ nor the printed file will show the FF box-glyph.</li>
</ul>
<p dir="auto">The option defaults to <em>OFF</em>.  To turn it on, use <strong>Settings &gt; Preferences &gt; Print &gt; Print formfeed as page break</strong>.</p>
<p dir="auto">I hope that you (and other interested parties) would test it over the next few days.  I will likely create the issue right after posting this message (<em>update</em>: <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/18059" rel="nofollow ugc">Issue #18059</a>), but will wait until this weekend to submit the PR, in case there are obvious things that would improve it before I submit it to the codebase.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105500</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105500</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 21 May 2026 21:02:33 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Thu, 21 May 2026 19:12:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mark-olson" aria-label="Profile: Mark-Olson">@<bdi>Mark-Olson</bdi></a> ,</p>
<blockquote>
<p dir="auto">I rather doubt users are best served by having those devs try to understand the mystical arcana of modern printer drivers.</p>
</blockquote>
<p dir="auto">Turns out, in this instance, it’s really simpler than people made out – and you need 0 knowledge of printer drivers to implement it.  I’ve got proof-of-concept code working already, and once I am able to get the Preferences option working, I will be submitting an issue and PR to implement this.</p>
<p dir="auto">Explanation: What notepad++ does is loop through the document, and passes the start/end to the scintilla print formatter, then scintilla returns where in that range it stopped processing; the next loop through, the new “start” is the end of the previous range (fence posts are properly accounted for in the conversation).  So for this, all I have to do is search if there’s a FF character between start and end, and if there is, temporarily change the end that it sends to Scintilla for asking for the next page.  the real logic/implementation was about 12 lines of code in one already-existing function, and an hour or so of experiment/testing/debug.  The more difficult part is the GUI/preferences, which I’ve never done before, and which require edits in a half dozen different pieces of source code that all must interact properly.</p>
<p dir="auto">Side note: In more than a decade of people complaining here in the forum about the lack of page break, LITERALLY NO ONE ever bothered to make an issue of it – at least that I could find, by searching “form feed”, “formfeed”, or “page break” in the Issues tracker, open or closed issues.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105497</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105497</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 21 May 2026 19:12:27 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Thu, 21 May 2026 18:57:43 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alanrobbo-69" aria-label="Profile: AlanRobbo-69">@<bdi>AlanRobbo-69</bdi></a> <a href="/post/105495">said</a>:</p>
<p dir="auto">Perhaps the Programmers could add a “New Page” Feature.</p>
</blockquote>
<p dir="auto">This feels like an excellent example of something that would be best implemented in a plugin. Given how many other things the core devs already have to juggle, I rather doubt users are best served by having those devs try to understand the mystical arcana of modern printer drivers.</p>
<p dir="auto">Unfortunately I am definitely not the right person to create such a plugin, but maybe somebody else reading this could try and devise a plugin to make NPP play nicer with printers. Maybe such a plugin already exists; I haven’t done any research because I have no need for one.</p>
<p dir="auto">I’ve always felt that if I needed something printed, I would be much better off converting it into something like a docx or a PDF and using a PDF viewer or Microsoft Word to try printing it out.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105496</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105496</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Thu, 21 May 2026 18:57:43 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Thu, 21 May 2026 10:36:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a><br />
Thank you,<br />
For some reason it won’t work!<br />
I do not know how Printers Work, unfortunately I am too old to learn anymore.</p>
<p dir="auto">Perhaps the Programmers could add a “New Page” Feature.<br />
To Bypass the Manufactures Lacking.<br />
In my search for a solution, I have come across many asking for the same thing,<br />
They are trying to Break Sub’s &amp; Functions into something Better Looking.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105495</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105495</guid><dc:creator><![CDATA[AlanRobbo 69]]></dc:creator><pubDate>Thu, 21 May 2026 10:36:00 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to do a new Page Break on Wed, 20 May 2026 16:59:00 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alanrobbo-69" aria-label="Profile: AlanRobbo-69">@<bdi>AlanRobbo-69</bdi></a> <a href="/post/105491">said</a>:</p>
<p dir="auto">Hi, is there a way to do a new Page Brake in Notepad++ ?<br />
so at that point a New Page will be Printed.<br />
Thank You.</p>
</blockquote>
<p dir="auto">So, the “positive” answer: to insert the ASCII 12 Form Feed (U+000C, which is the “page break” for old-fashioned printers), you can use the <strong>Edit &gt; Character Panel</strong>, and double click on the <code>FF</code>.</p>
<p dir="auto">Depending on your <strong>Settings &gt; Preferences &gt; Editing 2 &gt; Non-Printing Characters</strong> settings, you may or may not be able to enter that character by other means – with “Prevent control character (C0 code) typing into document” checkmarked, you cannot use the windows <code>Alt+012</code> to enter that character, whereas if it’s not checkmarked, you can: but the Character Panel overrides that setting, and will still enter that character into the document.  To be able to <em>see</em> that the character is there, you need to have <strong>View &gt; Show Symbol &gt; Show Control Characters and Unicode EOL</strong> enabled – if it’s enabled, you’ll see a <code>FF</code> in a reverse-text box; if it’s not enabled, you won’t see anything, but you will be able to use arrow keys to move left or right across the invisible character, and you’ll see the status bar column number change even though the typing caret appears to be in the same place.</p>
<p dir="auto">But (and it’s a big but), the printing algorithm that Notepad++ uses sends the Scintilla replacement boxed-FF glyph to the printer, instead of sending the actual character.  (Furthermore, I think that modern Windows printer drivers don’t interpret the ASCII 12 as a “new page”).  You <em>might</em> be able to copy the text file directly to the printer from the command line (or from Notepad++'s <strong>Run &gt; Run…</strong> dialog) using old MS-DOS style commands, like <strong>Run &gt; Run &gt; <code>COPY "$(FULL_CURRENT_PATH)" /B PRN</code></strong> (where <code>PRN</code> could be <code>PRN</code> or <code>LPT1</code> or <code>\\ComputerName\PrinterShareName</code>), and that <em>might</em> bypass some of the printer drivers and instead send the raw ASCII to the printer, which your printer <em>might</em>  interpret as a control to move to the next page … but if you do, then you lose the rest of Notepad++'s rendering (which means it won’t follow your Notepad++ font settings or line-numbering or headers or syntax highlighting).</p>
<p dir="auto">So the short summary: you can insert the form feed character, but Notepad++'s print algorithm doesn’t treat that form-feed character as a page break, so to get that character to behave as you want it to, you’d probably have to print using MS-DOS-era print commands, hoping that modern Windows still allows such.</p>
<hr />
<p dir="auto"><em>update</em>: what I said here is essentially what I said in 2019 in <a href="https://community.notepad-plus-plus.org/post/45717">this old discussion</a>; that discussion concludes that the ability to handle form-feeds as page breaks would need to be implemented in the Scintilla library (which Notepad++ uses) before Notepad++ could offer it as a feature.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105492</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105492</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 20 May 2026 16:59:00 GMT</pubDate></item></channel></rss>