Saturday 15 May 2010

Formatting plain text output for printing? -


This may be a simple question, but I have bare programs with me that show a report in plain text. There should also be a plain text for the report to be loaded in the third party program, the report needs to be printed.

When handling plain text, on what border should I set the line size and the number of rows printed on a print?

It definitely depends on the font used on print, and as long as you Do not control, you can not guarantee that it will print well. For example, in Word 2007, fonts make up blank documents and set the font in Courier New 10pt only fits 77 characters per line and 28 lines per line. Changing margins and line differences will modify this, however, if you have used it and try to print it with WordPad, this will not work as the default per line with courier New 10pt fits only 72 characters. In either case, standard 80 characters do not work. These defaults are also not global defaults.

The best you can possibly do is choose a size and provide instructions to print the report with many general editors so that it is acceptable. Specify fonts, margins, line spacing, etc.

Have you considered creating two options, like creating two files? Another program may have a plain text for import, another format may be better suited for printing.


No comments:

Post a Comment