Skip to main content

Design a report page header and footer

In this task you design a page header with the company logo and the report title, and a footer with the page number, then use them when you print reports. After you save them, every user of the company file sees them in the header and footer lists.

Before you begin​

  • You need the Print reports permission under Users Management > Operations. There is no separate permission for designing. What you save is available to every user, and they can edit it, so agree with your colleagues who designs.
  • Have the logo picture file ready (png or jpg).
  • Install a printer and set a default printer in Windows. The Print page does not work without one.
  • Tell the six positions apart. Top Margin and Bottom Margin are drawn inside the margin of the paper, and their height comes from the margin settings. Page Header and Page Footer are drawn inside the printable area of every page. Report Header and Report Footer print once, at the start and at the end of the report.

Steps​

Design the page header​

  1. Run any smart report, such as the trial balance, and press Ctrl+P.

  2. Click Manage Headers/Footers in the preview toolbar. The management window opens. See Manage headers and footers.

    The management window open, with the six kinds

  3. Click the arrow of New, then choose Page Header. The designer opens, titled Header1* - Page Header Designer. The asterisk means the item is not saved yet.

  4. Open the Insert tab and click Picture. Choose the logo file in the Insert Picture window. The picture appears at the size its file has at its own resolution. A logo of 300 by 100 pixels saved at 150 dpi measures 2.00 by 0.67 inch. At 96 dpi the same file measures 3.12 by 1.04 inch and is cut off when the header height is 0.8 inch (step 7). Reduce it under Picture Tools in that case.

  5. Click Report Title. The title is added to the header. If you also want the name of the user who prints, click User Name; it shows the user who prints, not you.

  6. Click the logo to select it. From Home > Alignment click the vertical alignment button for top and the horizontal alignment button for one side. Select the title and move it to the other side the same way. Change its font from the Font group: size 16 and bold, for example.

  7. Open the Layout tab and set Height to a value that suits the logo, such as 0.8 inch. If the picture is larger than needed, select it and use Picture Tools > Format > Size to change Height and Width.

    The page header designer on the Home tab: the logo picture selected on one side of the sheet and the report title on the other, with the title Header1* in the title bar

  8. Click Save (Ctrl+S). Because the item is new, the Save As window opens. Type a name such as Company header and press Ok. The asterisk disappears from the designer title.

  9. Click Close. The program returns to the management window, and the new item appears under Page Header.

  1. In the management window click the arrow of New and choose Page Footer.
  2. On the Insert tab click Page Number.
  3. On Home > Format click Page Numbers and choose Page 1 of 2. Then, in the Alignment group, click the horizontal alignment button for the center.
  4. Save it as Numbering footer, then click Close in the designer.
  5. Click Close in the management window. The preview is rebuilt.

You do not need these steps if the ready item Page Number under Bottom Margin is enough.

Use the header and footer​

  1. In the preview toolbar click the arrow of Manage Headers/Footers, then Page Header, and choose Company header.

  2. Choose Numbering footer from Page Footer the same way. The preview updates after each choice, so check it.

  3. Click Options in the preview toolbar and tick Print Page Header on First Page, then Ok. The trial balance of one month is a single page, and the report header is on it, so the page header stays hidden until you do. The page header then prints under the report title and the report information lines, above the table.

    The print page showing one report page: the designed header with the logo and the user name below the report title and the report information, and the footer Page 1 of 1 at the bottom

  4. To keep the choice for this report, click Save As under Predefined Settings and type a name such as Company paper.

  5. Click Print, as in Print a report.

Result​

  • Company header appears at the top of every printed page, except the page that holds the report header. To show it there too, turn on Print Page Header on First Page under Options in the preview toolbar.
  • Numbering footer appears at the bottom of every page. The format Page 1 of 2 is only a pattern: the second number is the real number of pages. The one-page example report reads Page 1 of 1.
  • Both items are stored in the company file and appear in the header and footer lists of every smart report, for every user.
  • Headers and footers (except the report footer) are not added to PDF export files and similar ones unless you choose a setting on the Export page. See Export.

If something goes wrong​

Message or situationWhy it appearsWhat to do
Edit, Rename and Delete are disabled.The selected item is one of the two ready items (Print Date or Page Number) or a kind.Use Duplicate Current Item, then edit the copy.
Save is disabled in the designer.You have not changed anything since the last save. It works at once for a new or duplicated item.Change something, or close the designer.
Name is already used. Please enter another one.An item with this name exists in the same kind.Type a different name.
Want to save your changes?You closed the designer with unsaved changes.Yes to save, No to close without saving, Cancel to stay.
Height is disabled on the Layout tab.The item is a Top Margin or Bottom Margin, and its height comes from the page margins.Change the margins in Page Setup.
The header does not show on the first page.The report header takes the first page, and Print Page Header on First Page is off.Turn it on under Options in the preview toolbar.
The user name or file name in the header is not the one you designed.These items read the current connection when you print.This is expected: they show the user who prints.
A list shows (None) where an item was.The item that a setting stored was deleted.Choose another item and save the setting.

This page applies to alameen ERP 10, version 10.1.79.764.