I have a file that is 80 characters wide. I am using OS X. The problem that I have is when I open the file and try to print it in TextEdit, the lines wrap before the 80 character mark. I'd like the file presented in the same way printed as it is in the file. So, my question is this;
How do I print an 80 character wide ASCII file (and preferably specifying margins) such at the font will be fixed-width and sized appropriately to fill the entire page while still retaining the position of original line breaks and not additional wrapping. If the resultant file is a PDF or other format convertible to PDF that would be fine. If anybody could answer this question I would really appreciate it.
Best Answer
In Textedit, make the file plaintext by going to the Format menu, and selecting the Make Plain Text command. This will use a fixed-width font and remove any other characters.
Next, Select
Page Setup...
from the File menu, then selectPaper Size:
and go toManage Custom Sizes
.Create a Paper Size of 8.5 wide x 11 high, set the top, bottom, left & right margins to zero, then save the custom size by clicking the "+" button.
Go to the File menu >
Export as PDF
.On the
Export as PDF
click onshow details
and uncheck the box that saysRewrap contents to fit page
Just tested this and it works for me!