W
W. eWatson
I'd like to be able to print a text file from Linux on Win7. Is there a
program that will do it?
program that will do it?
W. eWatson said:I'd like to be able to print a text file from Linux on Win7. Is there a
program that will do it?
I'd like to be able to print a text file from Linux on Win7. Is
there a program that will do it?
Fortran 90. Ah, it works fine in WordPad. Thanks.It depends which program was used to create the text file.
If it's plain text, Wordpad should open and print it.
Other than that, Libre Office is free and available for both platforms,
and will open many different text formats.
Nil said:Your question is vague, but I'll go ahead and make assumptions...
If you're talking about converting line termination characters, almost
any decent text editor will do that (Notepad doesn't count.) ...
W. eWatson said:I'd like to be able to print a text file from Linux on Win7. Is there a
program that will do it?
But, as I recall, WordPad will do the conversion. When a
*NIX-generated text file is hard to read in Windows because it
lacks one of the newline characters, I open it in WordPad to read
it. Just viewing in WordPad won't do a conversion but using Save
[As] should (but select Text Document as the filetype instead of
RTF if you still want it a text document).
That's how WordPad works under Windows XP. I don't have an
example *NIX-generated text doc right now but then eWatson should
be able to test very quickly since she obviously has some file in
mind.
But, as I recall, WordPad will do the conversion. When a
*NIX-generated text file is hard to read in Windows because it
lacks one of the newline characters, I open it in WordPad to read
it. Just viewing in WordPad won't do a conversion but using Save
[As] should (but select Text Document as the filetype instead of
RTF if you still want it a text document).
That's how WordPad works under Windows XP. I don't have an
example *NIX-generated text doc right now but then eWatson should
be able to test very quickly since she obviously has some file in
mind.
I just tried it and you're right, Wordpad converts a Unix format text
file to DOS/Windows. It doesn't tell you that it's doing it, which
isn't good, but it works.
I'd like to be able to print a text file from Linux on Win7. Is there a
program that will do it?
If it's a pure text file, rather than a formatted word processing file,
then you can run it through Linux's command-line utility called
"unix2dos" before sending it to Windows. For example:
unix2dos < linux.txt > windows.txt
The reverse is "dos2unix".
If it's a pure text file, rather than a formatted word processing file,
then you can run it through Linux's command-line utility called
"unix2dos" before sending it to Windows. For example:
unix2dos < linux.txt > windows.txt
The reverse is "dos2unix".
Have you tried the free PC program PureText? It removes most formatting
and decorations from copies of web pages.
I forgot who recommended this a few weeks ago (was it you?), but I
tried it then, liked it, and have been using it ever since. So I'll
add my endorsement to yours.
James said:It might have been me but I'll just mention again that you can set up
a key to do a paste without format after copying: I use CRTL-0.