I have a text file (report.prn) that looks OK
on the screen, yet when it prints, I get an extra
line (double spacing) after each line in the file.
It is a Windows created file that contains CR LF characters.
How can I eliminate the printing of extra lines (double spacing).
Using other text editors, I get mixed results.
Some behave like Notepad ++, others, like Crimson Editor,
behave properly.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It turned out to be a line spacing problem,
a combination of eliminating some exta blanks before the CR LF,
not printing the line number and/or using a smaller font did the trick.
Thanks again!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you do "View > Show all characters", are there extra CRs or LFs, where one extra of them doesn't cause Notepad++ to show it as an extra line, but your printer is interpreting it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Interesting that it happens with some other programs too, indicating that it isn't a Notepad++ fault.
There must be something else in there causing it. Have you had a look with a hex viewer? Have you tried deleting all the characters up to (but not including) the end of some of the lines, just to see if it still happens?
Also, is it possible that it's the printer wrapping when it just reaches the edge of the page. If so, then changing to a smaller font would fix it. I haven't seen that sort of problem since before Windows 3.1, but I'm not sure if that's because drivers have improved or because programs have.
Are there any spaces at the ends of the lines, that might be causing the printer to wrap?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a text file (report.prn) that looks OK
on the screen, yet when it prints, I get an extra
line (double spacing) after each line in the file.
It is a Windows created file that contains CR LF characters.
How can I eliminate the printing of extra lines (double spacing).
Using other text editors, I get mixed results.
Some behave like Notepad ++, others, like Crimson Editor,
behave properly.
Thanks.
Thanks to all that have responded.
It turned out to be a line spacing problem,
a combination of eliminating some exta blanks before the CR LF,
not printing the line number and/or using a smaller font did the trick.
Thanks again!
When you do "View > Show all characters", are there extra CRs or LFs, where one extra of them doesn't cause Notepad++ to show it as an extra line, but your printer is interpreting it?
I just have a single pair of CR LF per line.
What happens if you print it to a text file?
Interesting that it happens with some other programs too, indicating that it isn't a Notepad++ fault.
There must be something else in there causing it. Have you had a look with a hex viewer? Have you tried deleting all the characters up to (but not including) the end of some of the lines, just to see if it still happens?
Also, is it possible that it's the printer wrapping when it just reaches the edge of the page. If so, then changing to a smaller font would fix it. I haven't seen that sort of problem since before Windows 3.1, but I'm not sure if that's because drivers have improved or because programs have.
Are there any spaces at the ends of the lines, that might be causing the printer to wrap?
Does it also happen if you first select the complete document and then directly paste it back in Notepad++?
Select Format>Conver-to-UNIX-format
Also, have you tried TextFX Characters/Zap All Non Printable Characters?