Skip to main content

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 Esc to 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.

The File tab open on the Print page, with the page list at the side and the preview of the Trial Balance report

Pages of the File tab​

ItemWhat it doesWhen it appears
WorkspacesShows the saved workspaces of the report. See Report workspaces.Disabled when the report does not support workspaces.
ShareSends the report as a file through the Share File window. See Share.Export Reports permission.
PrintA preview of the pages and the printer settings. See Print.Print reports permission.
ExportSaves the report to a file. See Export.Export Reports permission.
CloseA button that closes the viewer as described in Closing the viewer.Always.
ShortcutsShows the keyboard shortcuts. See Shortcuts.Always.
OptionsA 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."

The Print page: settings panel at the side, preview in the middle, page navigation bar below

FieldDescriptionRequiredValues and rules
Print (the large button)Sends the document straight to the selected printer, without a Windows print dialog.NoDisabled while the preview is building, and after you press Stop until you press Refresh.
Copies:Number of copies.YesA whole number, 1 or more. Disabled if the printer does not support several copies, and reset to 1 when you pick such a printer.
PrinterThe printer the pages print on.YesThe 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 PrinterA tooltip titled Printer Status.NoShows Status, Type (the printer name), Where and Comment.
Pages:The range of pages to print.NoLeave 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 listCollated (1,2,3 1,2,3) or Uncollated (1,1,1 2,2,2).NoWorks only when copies is more than 1.
Orientation listPortrait Orientation or Landscape Orientation.YesDefault: portrait.
Paper size listThe sizes the selected printer supports.YesOpens 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 listNormal, Narrow, Moderate, Wide or Custom.YesThe 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:

FieldDescriptionRequiredValues and rules
Selection OnlyChooses what prints from the page.NoOn 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 RefreshRebuilds the preview after every change.NoOn by default. If you turn it off, press Refresh to see the effect of your changes.

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.
ButtonWhat 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 AsOpens 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.
ImportOpens the Import window.

Import window​

The Import window with two rows in a table with the columns Name, Report name and User Name; the first row is ticked

It copies settings that you saved for other reports, or that other users saved, and puts them under your name in this report.

ColumnWhat it shows
NameThe name of the setting.
Report nameThe report it was saved for.
User NameWho 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.

It sits above the preview. Most of its buttons are disabled while the preview builds.

ButtonWhat it does
RefreshRebuilds the preview from the current data.
Select Tool / Hand ToolSwitch the mouse pointer between selecting text in the preview and dragging the page. The default is the hand tool.
Page SetupOpens Page Setup.
WatermarkOpens 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.
OptionsOpens 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 HeaderOpens Edit Report Header.
Banded RowsTurns 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.
FontsOpens the Formatting window on the Fonts page.
ExportSaves 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.
MarginsShows the page margin lines in the preview.
Show Navigation PaneShows 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.

ItemWhat it does
The two arrowsGo to the previous or next page.
The page number box, then of and the page countType a number to jump to a page.
Progress bar and the Stop buttonAppear while the preview builds. Stop ends the building of the remaining pages. The Print and Export buttons stay disabled until you press Refresh.
Continuous ScrollingShows the pages one after another in a single scroll.
Page Display ModeWhole Page, Two Pages or Multiple Pages.
Zoom percentageA list: 25%, 50%, 75%, 100%, 150%, 200%, 500%, Whole Page and Page Width.
Zoom sliderFrom 10% to 500%. The last button fits the whole page.
  1. Click Print. The viewer is disabled and a small window without buttons shows "Printing page … of …" and a progress bar.
  2. 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.

The print options window on the General tab, with the color mode, the report info position and the 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.

FieldDescriptionRequiredValues and rules
Color ModeThe print color.YesColor, Grayscale or Monochrome. Shown on the Print page only.
Report info is located in report headerWhere the report information (period and conditions) goes in the report header.YesNone, Above or Below. In a new Default setting: Below.
Report info is located in page headerWhere the same information goes in the header of every page.YesNone, Above or Below. In a new Default setting: None.
Print Page Header on First PagePrints the page header on the first page too.NoOff by default: the page header does not appear on the page that has the report header.
Print Report Footer at BottomPuts the report footer at the bottom of the last page instead of right after the table.NoOff by default.
Expand All NodesPrints every node of a tree open.NoShown for tree tables only.
Print Related Tables (Totals and Summaries)Prints the totals and summary tables attached to the report.NoOn by default.
Print rows ordinalPrints a running number for each row.NoOff by default.

This tab appears when the page contains a table.

Shown whenever a table is among the panels concerned, grouped or not.

FieldDescriptionRequiredValues and rules
Expand All GroupsPrints every group open.NoOff by default.
Print every group on new pageStarts each group on a new page.No
IndentShifts the group content, in pixels.YesA whole number, 0 or more. Default 20.

Shown for master-detail tables only.

FieldDescriptionRequiredValues and rules
Print DetailsPrints the detail tables under each master row.NoOn by default.
Print All DetailsPrints the details of every master row, not only the expanded ones.NoDisabled without Print Details.
Print every master row on new pageStarts each master row on a new page.NoDisabled without Print All Details.
IndentShifts the details, in pixels.YesDefault 20.
Top marginSpace above the details, in pixels.YesDefault 1.
Bottom marginSpace below the details, in pixels.YesDefault 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.

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.

FieldDescriptionValues and rules
Size ModeHow the chart fills the page.None, Stretch, Best Fit or Best Fit (Zoom).
Major Horizontal Lines and Major Vertical LinesThe major grid lines.Check boxes.
Minor Horizontal Lines and Minor Vertical LinesThe minor grid lines.Check boxes.
Horizontal Banded Shading and Vertical Banded ShadingAlternating 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.

The Formatting window on the Fonts page, with the report title font and the report body font

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.

PageFieldWhat it does
FontsReport title:Font, size, bold, italic, underline and color of the report title.
FontsReport body:The same options for the table text.
CellsPadding > Horizontal and VerticalThe space between the cell text and its border. A whole number, 0 or more.
Borders & ShadingStylesOpens a gallery of styles. A style sets the borders, the shading and the color of the title and body fonts.
Borders & Shading > BordersNone, All, Outside, Horizontal, VerticalWhich borders are drawn. The pen icon chooses the border color.
Borders & Shading > ShadingHeader row, Group row, Odd row, Even row, Total rowFor each: Foreground (text color) and Background.

Page Setup​

The Page Setup window on the Page page, with paper size A4 chosen (Width and Height disabled), portrait orientation and the four margins

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​

FieldDescriptionRequiredValues and rules
Paper size (inch) listThe paper size.YesThe sizes of the selected printer, and last Custom Page Size.
Width: and HeightThe paper dimensions in inches.YesEnabled for the custom size only. Minimum 0.1.
OrientationPortrait or Landscape.Yes
Margins (inch) > Top:, Bottom:, Left:, Right:The page margins.YesMinimum 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​

FieldDescriptionValues and rules
Page NumbersThe 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 KindThe style of the numbers.Auto, 1, 2, 3, ..., i, ii, iii, ... or I, II, III, ....
DateThe 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.

The Export page: format buttons XLSX, PDF, HTML, MHT, RTF, CSV, Image and XPS, and the Customize button at the side

ItemWhat it does
Customize (under Document Options)Opens the print options for the export settings. Color Mode is not shown.
Predefined SettingsThe same list as on the Print page, without the save buttons.

Format buttons:

ButtonWhat it exportsNotes
XLSXAn 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 XPSA 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 MHTA web page (MHT is a single file).
CSVComma-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.
ImageA 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:

  1. The program builds the document and shows the creating document window.
  2. 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.
  3. 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​

The Export to Excel Wizard on the Select the Destination page, with the file name, layout mode and sheet name

FieldDescriptionRequiredValues and rules
File name:The path of the Excel file.YesThe 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.YesStandard or Table.
Sheet name:The name of the sheet.YesUp to 31 characters. The suggested name has the characters / * [ ] : ? replaced with an underscore.
Open the file after the export operation is completeOpens the file at the end.NoOn by default.
Repeat master dataRepeats the master row data with every detail row.NoShown for master-detail tables. Off by default.
Group master rowsGroups the details under their master row.NoOn by default, and disabled with the next option.
Export each master row on a separate sheetOne sheet for each master row.NoOff by default.
Export conditional formattingCarries the conditional formatting colors.NoOn by default.
Export all data (Ignore applied filters)Exports every row, even those hidden by filters.NoOn by default: turn it off if you want only what the table shows.
Export report header (new sheet)A sheet with the report conditions.NoOn by default.
Export report footer (new sheet)A sheet with the footer table.NoShown 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​

The Export to Excel Wizard on the Select Fields page, with the field tree and its check boxes

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.

FieldDescriptionValues and rules
Compact ViewSwitches the field list to the compact view.Shown only for tables that have column bands.
Sheet name fieldThe 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.

FieldDescriptionRequiredValues and rules
File name:The file path.YesAs in the table wizard. This wizard does not remember the folder.
Sheet name:The sheet name.YesUp to 31 characters.
Allow GroupingExports groups that fold in Excel.NoOn by default.
Group State:The state of the groups when the file opens.NoDefault, 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 Share page with the buttons Send as XLSX, PDF, RTF, XPS and Image

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.

ItemWhat it does
Customize and Predefined SettingsAs in Export.
Send as XLSXWith 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 ImageBuilds 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​

MessageWhen it appearsWhat 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 exportingThe 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 textSaving 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.

This page applies to alameen ERP 10, version 10.1.79.764.