How do I print an ASCII file?

  • Thread starter Thread starter Fred the Red Shirt
  • Start date Start date
F

Fred the Red Shirt

This would seem to be one of the most basic file operations but I
cannot
figure out how to do it!

After selecting an ASCII file I go to the FILE menu, only to find that
there is no print option.

How do I print an ASCII file that is saved to my hard drive?
 
Fred said:
This would seem to be one of the most basic file operations but I
cannot
figure out how to do it!

After selecting an ASCII file I go to the FILE menu, only to find that
there is no print option.

How do I print an ASCII file that is saved to my hard drive?

You could load it in notepad and then print. Wordpad also loads ascii
files. That is if you mean like log files etc. Text files?
 
This would seem to be one of the most basic file operations but I
cannot figure out how to do it!

ASCII is the old DOS-standard alphanumeric code,
viz. unformatted. Any word processor (and some
other apps) will print it, but you may need beforehand
to load the file and adjust line lengths. (ASCII has
several nonalphabetic characters e.g. CR and LF,
but you do not know beforehand where they are in the file.)
 
You could load it in notepad and then print. Wordpad also loads ascii
files. That is if you mean like log files etc. Text files?

That tends to wrap the lines which really makes it hard to
read source code and is especially bad if it is a fixed-format
data file.
 
ASCII is the old DOS-standard alphanumeric code,
viz. unformatted. Any word processor (and some
other apps) will print it, but you may need beforehand
to load the file and adjust line lengths. (ASCII has
several nonalphabetic characters e.g. CR and LF,
but you do not know beforehand where they are in the file.)

Source code and fixed-format data files.

I'm accessing a remote Unix box from my PC via secure
shell so the local printer is miles away.

I'm also having trouble finding a fixed-width font in WordPad
that isn't terribly hard on the eyes.

Is there no longer a command that will print an ASCII file
from the command prompt?

Thanks.
 
.... Wordpad also loads ascii
files.


Wordpad did pretty well this time, the records are all 72 characters
or shorter as the code is Fortran 77.

Courier looks OK too.

I wonder what I did the last time that mad eit look so crappy?

Thanks.
 
Fred said:
That tends to wrap the lines which really makes it hard to
read source code and is especially bad if it is a fixed-format
data file.

I use a program called Edit plus. Its not free but there are a lot of
free text editors, or source editors that allow for longer lines. PS
notepad can be forced to not wordwrap. Edit plus has the ability to
colorize source code making it a bit easier to read. Html, C++, Perl,
etc. http://www.editplus.com/
 
Fred said:
Source code and fixed-format data files.

I'm accessing a remote Unix box from my PC via secure
shell so the local printer is miles away.

I'm also having trouble finding a fixed-width font in WordPad
that isn't terribly hard on the eyes.

Is there no longer a command that will print an ASCII file
from the command prompt?

Thanks.
That was a lot easier when printers were smart enough to print a ASCII
text stream that doesn't contain a bunch of formatting information like
font size and the actual shapes of the characters. Many of today's low
cost "Windows/GPI" dependent printers aren't smart enough for that,
leaving a significant part of the work for the printer driver.
 
if you have the option to save the file save it as a .txt text file then put
into notepad or word
Best regards,
Kaja
 
Back
Top