Discussion:
[Notepad-plus-plus] [notepad-plus - Help] How to print a page break
SourceForge.net
2007-11-29 20:55:48 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4650563
By: nobody

Nodepad ++ offering a very nice formatted display! However, if we inserts the
code ascii 12, 0x0C which is the FF "Form feed", it prints "FF" instead of the
desired page break.

How to insert a page break in the text so he realy switch the page, rather than
view the code and print everything on the same page?

Thanks!

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2007-11-29 22:24:43 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4650683
By: harrybharry

Notepad isnt designed for this because its a code editor, the only way you can
get the behaviour atm is adding a lot of newlines.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2007-11-29 23:00:06 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4650741
By: nobody

Yep, code usually doesn't need page( break)s.

But try to format your files using the syntax highlighting utility.
http://www.andre-simon.de/


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2007-11-30 00:16:17 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4650930
By: nobody

I think it would be nice to have form-feeds/page-breaks work. For one, I like
to use the same editor for stuff besides coding (which for me is why I use Notepad++
anyway) like data analysis. And even with code (which doesn't get printed all
that often) when you print you may be doing so to have someone else review -
in which case having neat pages is a big help.

But since it's not going to happen (any time soon) in Notepad++ - I found this
is an alternate solution (and weak at that since you'll have to print from Word
or something like it):

Use the hex-editor plugin to make the form-feeds. First (before switching to
hex view) I would put some character (like `) where I wanted form-feeds. Then
view/edit in hex and find/replace all ' (60) with FF (0c) and switch back to
ascii. Or insert somehting like control-e in ascii and replace that with formfeed
when in hex.

Then save the file and open in Word (where you could have inserted the formfeeds
in the first place) and print. (preview and all)

Maybe not such a good solution.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-04-23 15:35:34 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4923404
By: nobody

I agree, Notepad++ should not need to support page break characters. However,
I think it would be nice to be able to view where page breaks will occur, perhaps
via a dotted line across the screen. There was another thread about this.
The author pointed out that being able to see the page break is useful during
code reviews. Any chance of seeing this feature in the future?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-04-30 23:42:27 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4937994
By: mhuffman

Type the hexadecimal code for formfeed (0C) where you want the line break
highlight the 2 characters
TextFX -> TextFX Convert -> Convert Hex to text

Here are the Action elements and attributes from the Macros section of shortcuts.xml
when saved as a macro (I removed angle brackets to avoid formatting issues):

Action type="1" message="2170" wParam="0" lParam="0" sParam="0"
Action type="1" message="2170" wParam="0" lParam="0" sParam="C"
Action type="0" message="2305" wParam="0" lParam="0" sParam=""
Action type="0" message="2305" wParam="0" lParam="0" sParam=""
Action type="1" message="2170" wParam="0" lParam="0" sParam=""
Action type="1" message="2001" wParam="1" lParam="0" sParam=""

However, it seems to work just fine if, after saving the macro, you delete all
the lines except the last one, which does the actual writing. Be sure to edit
shortcuts.xml with something other than Notepad++, otherwise it won't get saved.

Mike


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-05-01 03:04:30 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4938155
By: mhuffman

I forgot to add: you will not be able to actually print the page break with
Notepad++; save the file and print from Windows WordPad to have the pages break
where you inserted the formfeed characters. An added item in the Run menu is
handy for this.

Mike


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-05-01 19:21:50 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4939429
By: nobody

Menu_____ : TextFX
Submenu__ : TextFX Tools
Option___ : Insert ASCII Chart or Character

Copy the _FF_ character/symbol on the line starting with the number 12.
Press CTRL+Z to remove the chart again and paste the _FF_ wherever you want.


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-05-01 19:41:55 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4939471
By: nobody

You can also type it in: while pressing and holding down the left ALT button,
press 012 (or 0012) on the numeric keypad. Release the ALT button et voilĂ !


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-05-01 20:29:19 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4939573
By: nobody

Its also in the shortcutmapper: under scintilla, look for SCI_FORMFEED or something
like that. Itll insert FF.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-05-01 20:55:41 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4939598
By: nobody

Yes, it is.

Menu_____ : Settings
Option___ : Shortcut Mapper...
Button___ : Scintilla commands
Line 12__ : SCI_FORMFEED

Double click on this line 12 and you can set a shortcut to your liking to easily
insert a Form Feed / Pagebreak into your document.

You could set it to ALT+Enter, for example.


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-05-03 13:07:19 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4942678
By: mhuffman

SCI_FORMFEED mapped to Ctrl+Enter: Excellent solution; much better than
my hack.
The expanded shortcut mapper was a great addition!

Mike


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-12-12 21:52:47 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5805040
By: havefun2000

Hi!

I tried it: ALT + 012 inserts a FF, but on printing, it doesnt make a page break.
It prints just a FF, like seen on screen.

How to insert a pagebreak on printed page?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754

Loading...