PSF for z/OS: User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Printing AFP data in different directions and character rotations

PSF for z/OS: User's Guide
S550-0435-04

Printing AFP data in different directions and character rotations

Print direction is the combination of inline and baseline directions. Text can be printed in four print directions. For each of the directions, characters can be printed in four rotations.

The inline direction is the direction in which successive characters are added to a line of text. The four inline directions are:

  • ACROSS: Text characters are placed in a line from left to right across the page.
  • DOWN: Text characters are placed in a line from top to bottom down the page.
  • BACK: Text characters are placed in a line from right to left across the page.
  • UP: Text characters are placed in a line from bottom to top up the page.

The baseline direction is the direction in which successive lines of text are added to a page.

The four character rotations for each inline direction are 0°, 90°, 180°, and 270°, and are measured clockwise around each inline direction. For example, the text in this paragraph is printed across the page, and its rotation is 0°. Figure 2 shows the 16 possible combinations of these inline directions and character rotations. For information about the combinations that are supported by the printer you are using, see the documentation that is provided with the printer.

Figure 2. Direction-rotation combinations
This figure shows the possible inline direction and character rotation combinations for printed text. For example, Across, 180 degrees shows the letters "Abcd" printed left to right and upside down.

PSF can process line data so that it can be printed in each inline direction with any character rotation. Figure 3 shows four copies of a memo, each printed in a different inline direction with 0° character rotation. The memo was reformatted for each direction.

Pages are said to be printed in portrait page presentation when the shorter edges of the paper are the top and bottom of the page, and pages are said to be printed in landscape page presentation when the longer edges of the paper are the top and bottom of the page.

Figure 3. Copies of a memo that is printed in four inline directions
This figure shows four copies of the same memo. One is printed portrait, inline direction Across, character rotation 0 degrees, which means the memo is printed with words that are going across the short side of the paper and letters that are not rotated. The second is printed landscape, inline direction Down, character rotation 0, which means the memo is printed with words that are going down the long side of the page and letters that are not rotated. The third is printed portrait, inline direction Back, character rotation 0 degrees, which means the memo is printed with words that are going backward across the short side of the paper, starting at the bottom, and letters that are not rotated. The page looks upside down. The fourth is printed landscape, inline direction Up, character rotation 0, which means the memo is printed with words that are going up the long side of the page. The top of the memo is on the left long side.

You can use a page definition to specify or select different inline directions and character rotations for different fields of data. Text-formatting programs can also produce different inline directions and character rotations for text. Figure 4 shows the different combinations of inline directions and character rotations that are used on a sample page.

Figure 4. Direction-rotation combinations on a sample page
This figure shows part of a document page. Words are printed down with no character rotation, next to a one-column table; words are printed across, under lines where a customer can fill in data; words are printed up with no character rotation, in a box; and the word "notice" is printed down, with 270 degrees character rotation, so the word is printed with each letter above the next one.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014