Controlling the Listing Paper Size

The PRINTCTL(HP) option tell the assembler to generate control codes in the listing file understood by printers supporting the Hewlett-Packard Printer Control Language. When PRINTCTL(HP) is active, the assembler infers the paper size and orientation from the LINECOUNT option and attempts to maximize the quality of the listing through font selection and line spacing. The assembler supports the letter, legal, and A4 paper sizes.

Portrait Orientation

When paper is printed so that the vertical length is greater than the horizontal width, it is said to be in portrait orientation. The assembler prints the listing in portrait orientation when the NOLINECOUNT option is set, or the LINECOUNT option is set to 0, or a number greater than 60 (61 to 32767). In this orientation, the line printer font is used.

The assembler assumes different paper sizes for different values of the LINECOUNT option. However, if the NOLINECOUNT option is set, or the LINECOUNT option is set to 0, or a number greater than 110 (111 to 32767), the assembler prints the listing such that it can be printed on any of the supported paper sizes in portrait orientation.

Letter Paper
The assembler formats the listing for letter paper in portrait orientation when the LINECOUNT option is set to a number from 61 to 84. When it is 61 to 80, the listing is printed at 8 lines per inch. When it is 81 to 84, the listing is printed at 8.47 lines per inch, so it may be harder to read.
A4 Paper
The assembler formats the listing for A4 paper in portrait orientation when the LINECOUNT option is set to a number from 85 to 90. When it is 85, the listing is printed at 8 lines per inch (3.15 lines per cm). When it is 86 to 90, the listing is printed at 8.47 lines per inch (3.33 lines per cm), so it may be harder to read.
Legal Paper
The assembler formats the listing for legal paper in portrait orientation when the LINECOUNT option is set to a number from 91 to 110. When it is 91 to 104, the listing is printed at 8 lines per inch. When it is 105 to 110, the listing is printed at 8.47 lines per inch, so it may be harder to read.

Landscape Orientation

When paper is printed so that the vertical length is less than the horizontal width, it is said to be in landscape orientation. The assembler prints the listing in landscape orientation when the LINECOUNT option is set to a number from 10 to 60. In this orientation, the courier font is used. The assembler assumes different paper sizes for different values of the LINECOUNT option as follows:

Letter Paper
The assembler formats the listing for letter paper in landscape orientation when the LINECOUNT option is set to 53, 54, 59, or 60. When it is 53 or 54, the listing is printed at 7.2 lines per inch. When it is 59 or 60, the listing is printed at 8 lines per inch.
A4 Paper
The assembler formats the listing for A4 paper in landscape orientation when the LINECOUNT option is set to a number from 10 to 52 or 55 to 58. When it is 52 or less, the listing is printed at 7.2 lines per inch (2.83 lines per cm). When it is 55 to 58, the listing is printed at 8 lines per inch (3.15 lines per cm).


Frames No Frames Previous Next Contents
Introduction Setup Running Options Macros Translation Compatibility Messages
© Copyright 1999-2001, Tachyon Software® LLC.
Last modified on January 14, 2001