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?
It depends which program was used to create the text file.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?
Your question is vague, but I'll go ahead and make assumptions...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.
But, as I recall, WordPad will do the conversion. When a *NIX-generatedNil 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.) ...
If you open in Wordpad and immediately save (not changing the "text" modeW. 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 just tried it and you're right, Wordpad converts a Unix format textBut, 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.
Have you tried the free PC program PureText? It removes most formattingI just tried it and you're right, Wordpad converts a Unix format textBut, 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.
file to DOS/Windows. It doesn't tell you that it's doing it, which
isn't good, but it works.
If it's a pure text file, rather than a formatted word processing file,I'd like to be able to print a text file from Linux on Win7. Is there a
program that will do it?
Sorry the actual syntax is just: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".
It seems easier to just open it in Wordpad. I've been doing it thatIf 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.
It might have been me but I'll just mention again that you can set up aI 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.
I have used PureText for years and it does the job very well. Although aJames 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.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.