Report viewer File tab: Print, Export, Share
The File tab of the report viewer holds everything that takes a report off the screen: printing on a printer, exporting to a file, and sharing by e-mail or WhatsApp. This page describes its pages and windows field by field. For the steps, see Print a report, Export a report to Excel, PDF or other formats and Send a report by e-mail or message. The viewer itself is described in Report viewer.
Opening the window
- Click the File button at the top of the viewer, then choose the page you want.
- Click Print on the Home tab or on the quick access toolbar, or press
Ctrl+P. The File tab opens on the Print page. - Press
Escto close the File tab and return to the report pages.
Two permissions under Users Management > Operations control the pages: Print reports and Export Reports. Without the first, the Print page does not appear and Ctrl+P does nothing. Without the second, the Share and Export pages do not appear. While the File tab is open, every ribbon button except File is disabled.

Pages of the File tab
| Item | What it does | When it appears |
|---|---|---|
| Workspaces | Shows the saved workspaces of the report. See Report workspaces. | Disabled when the report does not support workspaces. |
| Share | Sends the report as a file through the Share File window. See Share. | Export Reports permission. |
| A preview of the pages and the printer settings. See Print. | Print reports permission. | |
| Export | Saves the report to a file. See Export. | Export Reports permission. |
| Close | A button that closes the viewer as described in Closing the viewer. | Always. |
| Shortcuts | Shows the keyboard shortcuts. See Shortcuts. | Always. |
| Options | A button that opens Report options. | Always. |
The Share, Print and Export pages are built the first time you open them. At that moment the program reads the predefined settings of the report and selects the one you used last for this report.
Print
The page shows a settings panel at the side and a preview of the pages, as they will print, in the middle. The preview is built from the page open in the viewer. It is rebuilt whenever you change a setting, if Auto Refresh is on.
If Windows has no default printer, the whole page is disabled and shows the message "No default printer found."

Settings panel
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Print (the large button) | Sends the document straight to the selected printer, without a Windows print dialog. | No | Disabled while the preview is building, and after you press Stop until you press Refresh. |
| Copies: | Number of copies. | Yes | A whole number, 1 or more. Disabled if the printer does not support several copies, and reset to 1 when you pick such a printer. |
| Printer | The printer the pages print on. | Yes | The printers installed in Windows. The default is the Windows default printer. When you change it, the program sets the paper size to that printer's default size and rebuilds the preview if Auto Refresh is on. |
| Info icon next to Printer | A tooltip titled Printer Status. | No | Shows Status, Type (the printer name), Where and Comment. |
| Pages: | The range of pages to print. | No | Leave empty to print all pages. Type one number such as 3, a range such as 5-12, or 3- for page 3 to the last page. The field accepts digits and a hyphen only. The hint next to it mentions comma-separated lists, but the field does not accept commas. |
| Collation list | Collated (1,2,3 1,2,3) or Uncollated (1,1,1 2,2,2). | No | Works only when copies is more than 1. |
| Orientation list | Portrait Orientation or Landscape Orientation. | Yes | Default: portrait. |
| Paper size list | The sizes the selected printer supports. | Yes | Opens on the default size of the selected printer, which can be Letter (8.50" x 11.00") and not A4: choose the size you print on. Page Setup adds a custom size if you choose one. |
| Margins list | Normal, Narrow, Moderate, Wide or Custom. | Yes | The sizes are in Page Setup. Custom appears after you edit the margins by hand. A printer that supports only special sizes, such as a receipt printer, has one margin in the list. |
Then the Options section:
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Selection Only | Chooses what prints from the page. | No | On at first: clear it to print every panel of the page. It isn't stored in the settings. On: only the selected panel (a table, pivot table or chart) prints. Off: every panel of the page prints, each starting on a new page, except attached footer tables. |
| Auto Refresh | Rebuilds the preview after every change. | No | On by default. If you turn it off, press Refresh to see the effect of your changes. |
Predefined settings
The Predefined Settings list stores what you set on the Print page: orientation, paper size, margins, fonts, formatting, headers and footers, watermark and print options. It does not store the printer name. It always holds Default, plus the settings you saved under your own name for this report. The program remembers, for each user and each report, the setting you chose last.
- Default belongs to the user and serves every report. If you save your changes into it, they appear in every report where you choose Default.
- The other settings belong to the report they were saved in, and to your user.
- When you choose a setting, the program applies it to the page that is open (Print, Export or Share) and, on the Print page, rebuilds the preview. Export and Share don't use the orientation, paper size, margins and watermark of the setting.
| Button | What it does |
|---|---|
| Save (icon) | Saves the current preview settings into the selected setting. The program asks you to confirm if the warning on saving option is on. |
| Save As | Opens a window titled Save As with the field Choose Name. Type a new name and press Ok. The program creates a new setting and selects it. A name that already exists is refused with "Name is already used. Please enter another one." |
| Rename (icon) | Changes the name of the selected setting. Disabled for Default. |
| Delete (icon) | Deletes the selected setting after a confirmation, then selects Default. Disabled for Default. |
| Import | Opens the Import window. |
Import window

It copies settings that you saved for other reports, or that other users saved, and puts them under your name in this report.
| Column | What it shows |
|---|---|
| Name | The name of the setting. |
| Report name | The report it was saved for. |
| User Name | Who saved it. |
Select one or more rows with the check boxes. Ok stays disabled until you select a row. The list does not show Default settings or your own settings of this report. After Ok, the copies are added to the list under their original names and Default is selected. If reading or importing fails, the program shows "An error occurred while reading data." or "An error occurred while importing data." with the error text.
Preview toolbar
It sits above the preview. Most of its buttons are disabled while the preview builds.
| Button | What it does |
|---|---|
| Refresh | Rebuilds the preview from the current data. |
| Select Tool / Hand Tool | Switch the mouse pointer between selecting text in the preview and dragging the page. The default is the hand tool. |
| Page Setup | Opens Page Setup. |
| Watermark | Opens the watermark window: a text or picture behind or in front of the page content, with font, color, direction, transparency, page range and a Clear All button. The watermark is saved with the settings. |
| Options | Opens the print options. |
| Manage Headers/Footers (split button) | The button opens Manage headers and footers. The arrow shows six lists to pick one item for each position: Top Margin, Bottom Margin, Page Header, Page Footer, Report Header and Report Footer, then the command Manage Headers/Footers. |
| Report Header Style (split button) | Chooses the layout of the report information in the header: Two Columns, Stretched Two Columns, Three Columns or Stretched Three Columns. |
| Edit Report Header | Opens Edit Report Header. |
| Banded Rows | Turns the two-color shading of alternate rows on or off. |
| Formatting (split button) | The button opens the Formatting window on the Borders & Shading page. The arrow shows a gallery of ready styles that apply at once. |
| Fonts | Opens the Formatting window on the Fonts page. |
| Export | Saves the document shown as a PDF file: opens the preview's own export window, you choose the file and options, and the program records the operation. This button doesn't need the Export Reports permission. Disabled while the preview builds. |
| Margins | Shows the page margin lines in the preview. |
| Show Navigation Pane | Shows the navigation pane (document map) next to the preview. |
Each of the six header and footer lists holds (None), the two ready items Print Date (top margin) and Page Number (bottom margin), and the ones you designed. When you choose an item, the preview is rebuilt if Auto Refresh is on.
Navigation bar below the preview
| Item | What it does |
|---|---|
| The two arrows | Go to the previous or next page. |
| The page number box, then of and the page count | Type a number to jump to a page. |
| Progress bar and the Stop button | Appear while the preview builds. Stop ends the building of the remaining pages. The Print and Export buttons stay disabled until you press Refresh. |
| Continuous Scrolling | Shows the pages one after another in a single scroll. |
| Page Display Mode | Whole Page, Two Pages or Multiple Pages. |
| Zoom percentage | A list: 25%, 50%, 75%, 100%, 150%, 200%, 500%, Whole Page and Page Width. |
| Zoom slider | From 10% to 500%. The last button fits the whole page. |
What happens when you print
- Click Print. The viewer is disabled and a small window without buttons shows "Printing page … of …" and a progress bar.
- The window closes when the pages have been sent to the printer, and the program records a Print operation in the report log.
The page range, the number of copies and the collation are taken from the settings panel at the moment you click. This window has no button to cancel printing.
Print options

The window opens from Options in the preview toolbar, and from Customize on the Export and Share pages. Its title is Options. It shows only the tabs that apply to the open report page: if Selection Only is on, those of the selected panel; otherwise those of all panels of the page. On Ok the program applies all values at once, and on the Print page the preview is rebuilt once.
General
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Color Mode | The print color. | Yes | Color, Grayscale or Monochrome. Shown on the Print page only. |
| Report info is located in report header | Where the report information (period and conditions) goes in the report header. | Yes | None, Above or Below. In a new Default setting: Below. |
| Report info is located in page header | Where the same information goes in the header of every page. | Yes | None, Above or Below. In a new Default setting: None. |
| Print Page Header on First Page | Prints the page header on the first page too. | No | Off by default: the page header does not appear on the page that has the report header. |
| Print Report Footer at Bottom | Puts the report footer at the bottom of the last page instead of right after the table. | No | Off by default. |
| Expand All Nodes | Prints every node of a tree open. | No | Shown for tree tables only. |
| Print Related Tables (Totals and Summaries) | Prints the totals and summary tables attached to the report. | No | On by default. |
| Print rows ordinal | Prints a running number for each row. | No | Off by default. |
This tab appears when the page contains a table.
Groups
Shown whenever a table is among the panels concerned, grouped or not.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Expand All Groups | Prints every group open. | No | Off by default. |
| Print every group on new page | Starts each group on a new page. | No | |
| Indent | Shifts the group content, in pixels. | Yes | A whole number, 0 or more. Default 20. |
Details
Shown for master-detail tables only.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Print Details | Prints the detail tables under each master row. | No | On by default. |
| Print All Details | Prints the details of every master row, not only the expanded ones. | No | Disabled without Print Details. |
| Print every master row on new page | Starts each master row on a new page. | No | Disabled without Print All Details. |
| Indent | Shifts the details, in pixels. | Yes | Default 20. |
| Top margin | Space above the details, in pixels. | Yes | Default 1. |
| Bottom margin | Space below the details, in pixels. | Yes | Default 10. |
When the Export and Share pages open, Print Details and Print All Details are on. When you export to XLSX, the program sets the top and bottom margins to zero.
Pivot Table
Shown for pivot tables. All are check boxes: Column Headers, Row Headers, Filter Headers, Data Headers, Headers On Every Page, Horizontal Lines, Vertical Lines, Insert Page Breaks and Multiple Pages Layout Mode. In a new Default setting the horizontal and vertical lines, the page breaks and the multiple pages layout are on. When the Export and Share pages open, Multiple Pages Layout Mode is off.
Chart
| Field | Description | Values and rules |
|---|---|---|
| Size Mode | How the chart fills the page. | None, Stretch, Best Fit or Best Fit (Zoom). |
| Major Horizontal Lines and Major Vertical Lines | The major grid lines. | Check boxes. |
| Minor Horizontal Lines and Minor Vertical Lines | The minor grid lines. | Check boxes. |
| Horizontal Banded Shading and Vertical Banded Shading | Alternating shading between the lines. | Check boxes. |
The window ends with Ok and Cancel. Cancel discards your changes, because the window works on a copy of the values.
Formatting window

Its title is Formatting. It opens from Fonts on the Fonts page, and from Formatting on the Borders & Shading page. On Ok the fonts and the style are applied to the preview. Cancel leaves them as they were.
| Page | Field | What it does |
|---|---|---|
| Fonts | Report title: | Font, size, bold, italic, underline and color of the report title. |
| Fonts | Report body: | The same options for the table text. |
| Cells | Padding > Horizontal and Vertical | The space between the cell text and its border. A whole number, 0 or more. |
| Borders & Shading | Styles | Opens a gallery of styles. A style sets the borders, the shading and the color of the title and body fonts. |
| Borders & Shading > Borders | None, All, Outside, Horizontal, Vertical | Which borders are drawn. The pen icon chooses the border color. |
| Borders & Shading > Shading | Header row, Group row, Odd row, Even row, Total row | For each: Foreground (text color) and Background. |
Page Setup

It opens from Page Setup in the preview toolbar and works on the settings of the open preview. On Ok the program applies the values and rebuilds the preview once.
Page
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Paper size (inch) list | The paper size. | Yes | The sizes of the selected printer, and last Custom Page Size. |
| Width: and Height | The paper dimensions in inches. | Yes | Enabled for the custom size only. Minimum 0.1. |
| Orientation | Portrait or Landscape. | Yes | |
| Margins (inch) > Top:, Bottom:, Left:, Right: | The page margins. | Yes | Minimum 0.1. If the values match one of the ready styles, the program treats them as that style; otherwise they are Custom. |
The ready styles, in inches: Normal (top and bottom 1.00, left and right 1.25), Narrow (0.50 on all four sides), Moderate (top and bottom 1.00, left and right 0.75) and Wide (top and bottom 1.00, left and right 2.00).
Header & Footer
Six lists: Top Margin, Bottom Margin, Page Header, Page Footer, Report Header and Report Footer. The Manage button opens Manage headers and footers and refreshes the lists when you close it. Ok applies your choice to the preview. The chosen headers and footers are stored in the predefined setting when you press Save.
Format
| Field | Description | Values and rules |
|---|---|---|
| Page Numbers | The format of the page number in the page header and footer. | Auto, or a format such as 1, [1], 1 / 2, Page 1 or Page 1 of 2. |
| Numbers Kind | The style of the numbers. | Auto, 1, 2, 3, ..., i, ii, iii, ... or I, II, III, .... |
| Date | The format of the print date. | Auto, or a format such as yyyy-MM-dd or HH:mm. |
Progress windows
- Creating the document. When you export or share as PDF, HTML or another format, a small window without buttons shows "Creating Document (… Pages)..." and a moving bar. It closes when the document is built.
- Printing. It appears while pages go to the printer and is described above.
Style gallery
It appears in the Formatting arrow and on the Borders & Shading page: thumbnails grouped by kind, seven in a row. Click a style to apply it. In both places a style sets the table style and the color of the title and body fonts. On the preview toolbar it applies at once and also sets Banded Rows.
Export
The page saves the report to a file. The settings are at the side and the format buttons in the middle. Export keeps its own settings, which the Print page does not change.

| Item | What it does |
|---|---|
| Customize (under Document Options) | Opens the print options for the export settings. Color Mode is not shown. |
| Predefined Settings | The same list as on the Print page, without the save buttons. |
Format buttons:
| Button | What it exports | Notes |
|---|---|---|
| XLSX | An Excel workbook. | With a table or pivot table it opens the Excel wizard for the selected panel. With a chart it exports the selected panel as a document. |
| PDF, RTF and XPS | A document of the selected panel (with its footer tables). | To save every panel of the page, clear Selection Only on the Print page and use Export on the preview toolbar. |
| HTML and MHT | A web page (MHT is a single file). | |
| CSV | Comma-separated text. | Shown for a table or pivot table only. Columns are separated by the list separator of the Windows regional settings and the file is saved as UTF-8. |
| Image | A picture of the selected panel. | In the save window choose png, jpg, bmp, gif, tiff, emf or wmf. Any other extension is saved as a png picture. |
When you click a format other than the Excel wizard:
- The program builds the document and shows the creating document window.
- A save window titled Export opens. The suggested file name is the report title. Choose the place and the name. The program adds the extension if you leave it out.
- After saving, the program records an Export operation and asks "Export completed successfully." "Do you want to open the file?" Choose Yes to open it or No.
If you cancel the save window, no file is created and no message appears. If saving fails, a message with the error text appears.
Exporting in these formats always adds the report footer of the setting in use, and adds the report information to the report header according to Options. It adds the other headers and footers (the margin items, the page header and the page footer) only if you choose a setting from Predefined Settings on this page: then all of them are added, and Print Details and Print All Details follow that setting.
Export to Excel wizard for tables
Its title is Export to Excel Wizard. It opens from XLSX on the Export page, and from Export on the Home tab and on the quick access toolbar when a table panel is selected. It exports the data of the selected panel only. Its buttons are Back, Next, Start and Cancel.
Select the Destination

| Field | Description | Required | Values and rules |
|---|---|---|---|
| File name: | The path of the Excel file. | Yes | The program suggests the report title in the last folder you chose (or the desktop) and adds a number if the file exists. Click the field button to open Save As (extension xlsx, with a warning before replacing a file). The program remembers the folder for each user. |
| Layout mode: | The shape of the table in the file. | Yes | Standard or Table. |
| Sheet name: | The name of the sheet. | Yes | Up to 31 characters. The suggested name has the characters / * [ ] : ? replaced with an underscore. |
| Open the file after the export operation is complete | Opens the file at the end. | No | On by default. |
| Repeat master data | Repeats the master row data with every detail row. | No | Shown for master-detail tables. Off by default. |
| Group master rows | Groups the details under their master row. | No | On by default, and disabled with the next option. |
| Export each master row on a separate sheet | One sheet for each master row. | No | Off by default. |
| Export conditional formatting | Carries the conditional formatting colors. | No | On by default. |
| Export all data (Ignore applied filters) | Exports every row, even those hidden by filters. | No | On by default: turn it off if you want only what the table shows. |
| Export report header (new sheet) | A sheet with the report conditions. | No | On by default. |
| Export report footer (new sheet) | A sheet with the footer table. | No | Shown for reports that have a footer table, and on by default. |
The report may add check boxes of its own at the bottom of the page.
Select Fields

A tree with check boxes for the fields of the table and its detail tables. Next stays disabled until you check at least one column of the main table.
| Field | Description | Values and rules |
|---|---|---|
| Compact View | Switches the field list to the compact view. | Shown only for tables that have column bands. |
| Sheet name field | The field that names each sheet. | Shown with Export each master row on a separate sheet. Default: the first text field. |
Ready
The page says "Wizard is ready now to start export operation...". Click Start. During the export it shows the number of records exported ("… Record exported"), the elapsed time and a percentage bar. At the end:
- Success: "Export operation completed successfully" with the links Open File, Open Folder and Share (it opens the Share File window for this file). The program records an Export operation.
- Failure: "An error occurred while exporting" and the error text below it. The program deletes the incomplete file.
Cancel becomes Close after the export ends or fails. If you press it during the export, the program pauses the export and asks "Are you sure you want to cancel export operation?" Yes cancels and closes. No continues.
Export to Excel wizard for pivot tables
For the selected pivot table. It opens from XLSX on the Export page, and from Export on the Home tab and on the quick access toolbar when a pivot table panel is selected. Two pages: the options, then Ready.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| File name: | The file path. | Yes | As in the table wizard. This wizard does not remember the folder. |
| Sheet name: | The sheet name. | Yes | Up to 31 characters. |
| Allow Grouping | Exports groups that fold in Excel. | No | On by default. |
| Group State: | The state of the groups when the file opens. | No | Default, Expand All or Collapse All. Default: Expand All. Disabled without Allow Grouping. |
It has no option to open the file: the program always opens it on success. The links Open File, Open Folder and Share and the buttons of the last page are as in the table wizard, with no progress bar. If you choose Expand All or Collapse All, the pivot table in the viewer is expanded during the export and its state is restored afterwards.
Share

The page is like Export, but the file is created in a temporary folder and then the Share File window opens to send it by e-mail or WhatsApp. The program deletes the temporary file afterwards.
| Item | What it does |
|---|---|
| Customize and Predefined Settings | As in Export. |
| Send as XLSX | With a table or pivot table it opens the Excel wizard titled Share (without File name: and the open-file option). With a chart it sends the selected panel as a document. |
| Send as PDF, Send as RTF, Send as XPS and Send as Image | Builds the document in that format (the image as png) named after the report title, for the selected panel, then the Share File window opens. The subject of the message is the report title. |
HTML and CSV are not offered in Share. Add the recipients in the Share File window as in Send a report by e-mail or message. If the sending account is not set up, see Set up sharing.
The program records a Share operation in the report log with the Excel wizards: the table wizard records it when the file is sent; the pivot wizard when the file is created. It does not record it for the other formats.
Shortcuts
The page shows the Keyboard Shortcuts, grouped, including those of the viewer and the report grid. The full table is in Viewer shortcuts and Report grid tools.
Messages
| Message | When it appears | What to do |
|---|---|---|
| No default printer found. | There is no default printer when you open the Print page. | Set a default printer in Windows and open the tab again. |
| Name is already used. Please enter another one. | In Save As or Rename you chose a name that exists. | Type a different name. |
| An error occurred while reading data. | Reading the predefined settings or the headers and footers failed. The error text comes with it. | Try again. If it repeats, contact your administrator. |
| An error occurred while saving data. / An error occurred while deleting data. / An error occurred while importing data. | Saving, deleting or importing failed. The error text comes with it. | Try again. If it repeats, contact your administrator. |
| Export completed successfully. Do you want to open the file? | A file from the format buttons was saved. | Choose Yes or No. |
| Are you sure you want to cancel export operation? | You pressed Cancel in the Excel wizard during the export. | Yes to cancel, No to continue. |
| An error occurred while exporting | The Excel wizard failed. The error text appears below it. | Check the folder of the file and that the file is not open in another program, then try again. |
| A message with only the error text | Saving a file from the format buttons failed, or the temporary file for sharing could not be created. | Check the folder of the file and that it is not open in another program, then try again. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.