Skip to main content

Standardization Elements

The elements or aspects of a file to be standardized are the character or code set used, the format control procedures, the area of the page to be used for text, and the method to describe overstruck or underlined characters.

The area of the page to be used for text can be confusing to discuss, in an attempt to be clear we define a physical page and a logical page. Please note that the main emphasis of this note is to describe the standard formats in terms of the logical page, and that it is up to each site to map the logical page onto the physical page of each of their devices.

Physical Page​

The physical page is the medium that carries the text, the height and width of its area are measured in inches.

The typical physical page is a piece of paper eleven inches high and eight and one half inches wide.

Typical print density is 10 characters per inch horizontally and 6 characters per inch vertically. This results in the typical physical page having a maximum capacity of 66 lines and 85 characters per line. It is often the case that printing devices limit the area of the physical page by enforcing margins.

Logical Page​

The logical page is the area that can contain text, the height of this area is measured in lines and the width is measured in characters.

A typical logical page is 60 lines high and 72 characters wide.

Code Set​

The character encoding will be the network standard Network Virtual Terminal (NVT) code as used in Telnet and File Transfer protocols, that is ASCII in an eight bit byte with the high order bit zero.

Format Control​

The format will be controlled by the ASCII format effectors:

  • Form Feed <FF>

    Moves the printer to the top of the next logical page keeping the same horizontal position.

  • Carriage Return <CR>

    Moves the printer to the left edge of the logical page remaining on current line.

  • Line Feed <LF>

    Moves the printer to the next print line, keeping the same horizontal position.

  • Horizontal Tab <HT>

    Moves the printer to the next horizontal tab stop.

    The conventional stops for horizontal tabs are every eight characters, that is character positions 9, 17, 25, ... within the logical page.

    Note that it is difficult to enforce these conventions and it is therefore recommended that horizontal tabs not be used in document files.

  • Vertical Tab <VT>

    Moves the printer to the next vertical tab stop.

    The conventional stops for vertical tabs are every eight lines starting at the first printing line on each logical page, that is lines 1, 9, 17, ... within the logical page.

    Note that it is difficult to enforce these conventions and it is therefore recommended that vertical tabs not be used in document files.

  • Back Space <BS>

    Moves the printer one character position toward the left edge of the logical page.

Not all these effectors will be used in all format standards, any effectors which are not used in a format standard are ignored.

Page Length​

The logical page length will be specified in terms of a number of lines of text.

Page Width​

The logical page width will be specified as a number of characters.

Overstriking​

Overstriking (note that underlining is a subset of overstriking) may be specified to be done in one or both of the following ways, or not at all:

  • By Line

    The composite line is made up of text segments each terminated by the sequence <CR><NUL> except that the final segment is terminated by the sequence <CR><LF>.

  • By Character

    Each character to be overstruck is to be immediately followed by a <BS> and the overstrike character.

End of Line​

The end of line convention is the Telnet end of line convention which is the sequence <CR><LF>. It is recommended that use of <CR> and <LF> be avoided in other than the end of line context.