HP 3000 Manuals

Pagination [ HP ALLBASE/BRW Reference Manual ] MPE/iX 5.0 Documentation


HP ALLBASE/BRW Reference Manual

Pagination 

Pagination lets you control when different groups of lines (linesets) in
your report are printed on the pages of the report.  For instance,
pagination controls these elements:

   *   How many lines per page?

   *   Do you want page numbering to start over when a break begins?

   *   At which line should a new page always start?

   *   If a lineset won't fit on the remaining page, should the lineset
       be split, or printed completely on the next page?

You define pagination on the Define Breaks screen.  Even if a lineset
contains no lines, you can specify pagination for it.

For each lineset (except for page heading and page footing linesets), you
can specify that a new page must begin before this lineset is printed
and/or after this lineset is printed.

To define pagination 

   1.  At the Define Report screen, choose  Define Breaks.

   2.  At the Define Breaks and Pagination screen, type the pagination
       specifications in the fields provided.

[]
------------------------------------------------------------------------------------------ | | | Page Length The default is 60 lines. The limits of the length | | depend on your printer and the size of the paper. | | For instance, a 8 1/2"x 11" paper can print up to | | 66 lines per page (assuming 6 lines per inch). The | | default of 60 lines gives a 1/2 inch (3 lines) | | margin at the top and bottom. | | | | Reset Page Number on Level You can set the page number to 1 everytime a | | specific break level occurs. For example, if the | | report prints data for several departments in one | | report and you have a break specified for each time | | the department changes, you can reset the page | | number to 1 for the first page of each department. | | A new page is started when the page number is | | reset. | | | | Paging Use one or any combination of these codes to | | indicate when a new page should start: | | | | A = after printing a lineset | | B = before printing a lineset S = a lineset | | should be split | | | | The default is that linesets are not split and a | | new page is started before a lineset if it doesn't | | fit completely on the rest of the page. | | | | Abs The absolute position for a lineset on the page. | | In addition to specifying the exact line for the | | beginning of the lineset (for instance, for a break | | heading or footing), you can also type an R after | | the number to indicate that the space must be | | reserved. If a lineset is not used on a particular | | page, other linesets are not printed in that space, | | unless they have a absolute position defined. If a | | lineset with an absolute position overlaps a page | | heading or footing, the page heading or footing is | | suppressed on that page. | | | ------------------------------------------------------------------------------------------ Example: Resetting the page number to 1 If you want a new page and a new page number 1 to start each time the report begins at a sort level 1, type the number 1 in the Reset Page Number on Level field. If you want the page numbering to be set at sort level 3, type 3 in the field. A new page is started automatically when the page number is reset. Example: Breaking before a lineset In this example, the break for the CUSTOMER-NO causes a page break before the first heading lineset for CUSTOMER-NO begins. This is indicated by the B in the Paging field for the heading for CUSTOMER-NO.
[]
Example: Splitting across page boundries In this example, the footing lineset is split across the page boundry if there isn't enough room for the lineset on the rest of the page. This is indicated by the S in the Paging field for CUSTOMER-NO footing.
[]
When a lineset is split, the page footing and page heading linesets are printed between the split parts of the lineset. Example: Printing a Lineset at an Absolute Page Position Normally, a lineset is printed directly after the preceding lineset. However, HP ALLBASE/BRW also lets you specify an absolute page position (a fixed position on the page) by typing a number and, optionally, an R to reservse the space in the Abs field, as shown in this screen:
[]
The report based on this definition looks like this: _____________________________________ | | | | | Customer No. 10044 | | | | | | | | Inv. No. Amount Paid Amount| | | | -------- ------ ----------- | | | | 4458A 700.00 700.00 | | | | 5569B 350.00 350.00 | | | | 5570B 554.00 554.00 | | | | 66723 1079.00 1000.00 | | | | ------- ------- | | | | Total For This | | | | Customer 2683.00 1683.00 | | | | | | | | | _____________________________________ The heading for CUSTOMER-NO always begins on line 1 of the report. Since the space is not reserved, other pages that don't have a break heading can begin on line 1, if necessary.
NOTE Two linesets with the same or an overlapping absolute page position will be printed on different pages. The page heading and page footing linesets, however, are suppressed if another lineset occupies the space in which they should be printed. As an example, see Voiding Unused Check Forms in the Special Cases section of this chapter. If linesets have space reserved, linesets without an absolute page position are only printed in the first space not reserved on the page.


MPE/iX 5.0 Documentation