Skip to main content

Print preview

The older native reports have two preview windows that are not the new report viewer. The first is a screen preview that shows the report result in a list. The second is the print preview, which shows the pages as they will come out on paper. In it you can drag the margins, change fonts and send the report to the printer. A small box with a progress bar shows while printing.

Only two screens still work this way (see Opening the window). Most reports open in the new viewer.

Opening the window​

In this version only two features use this style:

  • Label Printing. See Label printing.
  • Compare Files on the File tab > Tools. The item shows in beta builds only, and needs its own permission.

From the window of either feature:

ActionWhat happens
Click PreviewThe screen preview opens.
Click Preview while holding ShiftThe print preview opens directly.
Click PrintNo preview opens. The Windows print box appears, then the print progress box. While holding Shift it prints at once with no print box.
Click the print preview button in the screen previewThe screen preview closes and the print preview opens.

Two permissions control what you can do inside the preview: Print reports for printing, and Export Reports for exporting to a file or sending by email. Without the permission the program shows the message listed in Messages.

The screen preview of Label Printing with one row for the demo material M01, the toolbar, the check boxes, the counter showing Ready and the search box

Screen preview​

The window opens full screen. Its title is the word Preview followed by the report name. If the option that shows the file description in report windows is on, the program adds the company file description. Under the toolbar are the report title and details, then the column headers, then the rows in a list, and the totals row at the bottom.

Toolbar​

The toolbar buttons are pictures with no text. Their functions, in order:

Button (in order)What it does
CloseCloses the window and cancels reading if it is running. The Esc key does the same.
Print previewCloses this window and opens the print preview. Shortcut: Ctrl+V.
PrintSends the report to the printer. Shortcut: Ctrl+P.
RefreshReads the report again from the database, then returns you to the row you were on. Shortcut: F5.
Export report to fileCloses this window and exports the report to a file after you choose the format and place. Shortcut: Ctrl+F.
Send report by emailHides the window and exports the report to a file, then opens the default mail program with the file attached. The recipient and subject stay empty.

After the buttons come three check boxes and two other items:

ItemWhat it does
GridlinesShows or hides the grid lines between cells.
ExpandEnlarges cells so their text shows fully. Wrap Text is disabled while it is on.
Wrap TextWraps long text onto more than one line. Expand is disabled while it is on.
CounterShows the number of rows read while reading, then the word Ready when done.
Search boxType text and the first row that contains it is selected; the search starts from the top of the list. If nothing is found after the current selection, the search returns to the top and the program beeps.

The print preview, export, print and refresh buttons are disabled while reading.

Row list​

The list is read-only. When you select a row, the column headers and the row values show in the information window if it is open, and the material or customer picture shows in the picture window if it is open. See Information windows. A report may add its own right-click menu. See Work with lists.

The window opens full screen and its title is the title of the window that opened it. It shows one whole page that fits the window. The page changes when you change the printer, paper or margins.

The top part of the print preview of Label Printing: menu bar, margins bar, button bar with the style list and the page number, and the top of the page with the number 3 and the material name in small type

PartWhat it shows
Menu barFile, Edit, View and Font. See Menus.
Margins barThe word Margins and the value of each margin: left, top, right and bottom.
Button barEight picture buttons with no text, the style list and the page number. See Buttons.
Preview pageThe page at the paper size set for the printer. Margin handles show on its edges.
Status bar"Page … of … Pages" (empty when the preview opens on its only page), Page Dimension:, "Zoom Factor:" with its number, and Current Printer: with the printer name.

The buttons have tooltips when you point at them, though some may show none.

Button (in order)What it does
Previous pageShows the previous page. Disabled on the first page.
Next pageShows the next page. Disabled on the last page.
ZoomRaises the zoom factor by 10. The maximum is 500. Shortcut: Ctrl+Z.
PrintSends the report to the printer. See Printing the report. Shortcut: Ctrl+P.
Printer setupOpens the Windows page setup box to change the printer, the paper and its orientation. The program treats the style as changed after you click it.
Screen previewCloses this window and shows the report as a list on screen. Shortcut: Ctrl+V.
Export to fileCloses this window and exports the report to a file. Shortcut: Ctrl+F.
CloseCloses the window.
Style listShows the print styles that belong to you. Choosing another style changes the margins and fonts in the preview at once.
Page Number:Shows the current page number.
MenuItems
FilePrint, Page Setup, Prepare for Printing and Close. Page Setup opens Page settings for the current style. Prepare for Printing opens the Windows page setup box.
EditFirst Page, Next Page and Previous Page.
ViewZoom 100% and Zoom. Zoom opens a box that asks for a number between 10 and 1000.
FontStart, Header, Text 1, Text 2, Subtotal and Total. Each item opens the Windows box for font, size and color of the named part, and the program treats the style as changed.

These two reports do not show Text 3 and Text 4 in the Font menu.

  • Click a page to select it when the preview holds more than one. Click the selected page to switch between zoomed in and out.
  • Drag a margin handle on the page edge to change the margin. Its value shows in the margins bar while you drag. The program treats the style as changed.
  • Turn the mouse wheel to scroll the page, and with Ctrl to zoom in and out.
  • Keys: Page Up and Page Down for the previous and next page, Home and End for the first and last, Enter to switch zoom, and Ctrl with + or - to zoom in and out.

Saving style changes​

Changing margins, fonts or the printer marks the style as changed. When you close the window, switch to the screen preview or export, choose another style, or open Page Setup, this message appears: "Printer settings have changed for this style. Do you want to save changes for this style?" with the style name. Yes saves the settings for the style and No discards them. There is no option to cancel the closing.

Printing the report​

Click the print button. The program first checks the Print reports permission. Then the Windows print box appears so you choose the printer, the pages and the number of copies. After you click Print in it, the print progress box appears. When it ends the preview returns, and the page size updates if the paper changed.

Print progress box​

A small box titled Print appears when the pages start going to the printer, and the window behind it is disabled. It cannot be closed with the close button.

ItemWhat it shows
First lineThe text Printing Page No and the page number.
Second lineThe report title.
Third lineThe text On and the printer name.
Fourth lineThe text Connected to and the printer port.
BarMoves forward as pages are sent.
CancelThe program asks: "Are you sure you want to cancel printing?". Yes stops sending pages and disables the button, No continues.

The Font menu open in the print preview, with Start, Header, Text 1, Text 2, Subtotal and Total

Messages​

MessageWhen it appearsWhat to do
You don't have the authority to printYou clicked print and you lack the Print reports permission.Ask the administrator for the permission.
You don't have the authority to export report contentsYou clicked export or send by email and you lack the Export Reports permission.Ask the administrator for the permission.
Enter zoom factor (10% -1000%)You chose View > Zoom.Enter a number between 10 and 1000. The real zoom does not go above 500.
Zoom factor is out of rangeYou entered a number below 10 or above 1000.Enter a number within the range.
Printer settings have changed for this style. Do you want to save changes for this style?You closed the preview or changed the style after changing margins, fonts or the printer.Yes to save, No to discard.
Are you sure you want to cancel printing?You clicked Cancel in the print progress box.Yes to stop printing, No to continue.

This page applies to alameen ERP 10, version 10.1.79.764.