PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Features of print preview
  • Other features
  • Notes
  • Display effects during a zoom
  • Printing from the preview
  • Re-running the report
  • Using Outlook Express and sending emails from the preview window
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning
From version 20, the different options of print preview are proposed in a ribbon. See Print preview for more details.
Overview
The print preview allows you to see the report layout without printing it (report preview). The report layout and content can be checked. You also have the ability to print the report.
The print preview is available:
  • in the report editor of WINDEV, WEBDEV, WINDEV Mobile.
  • in "Reports and Queries".
  • when printing reports from a WINDEV application.
Versions 20 and later
From version 20, the different options of print preview are proposed in a ribbon.
New in version 20
From version 20, the different options of print preview are proposed in a ribbon.
From version 20, the different options of print preview are proposed in a ribbon.
Features of print preview
The print preview proposes several features:

Print preview

A standard toolbar proposing the following options:
  • Customizable zoom. The pages can be viewed one by one or two by two.

    =Customizable zoom


    If a cover page was defined, when displaying the pages two by two, the first page will be displayed on the right.
  • Displaying the report pages in thumbnail format ( Thumbnail icon ). The thumbnails are automatically resized when modifying the display area of thumbnails. A popup menu specific to the thumbnails is used to start the direct print of the requested page.
    Versions 18 and later
    The part of the report viewed is materialized in the thumbnail. The zoom and positioning area can be resized and moved in the thumbnail, the zoom factor can be modified, ...
    New in version 18
    The part of the report viewed is materialized in the thumbnail. The zoom and positioning area can be resized and moved in the thumbnail, the zoom factor can be modified, ...
    The part of the report viewed is materialized in the thumbnail. The zoom and positioning area can be resized and moved in the thumbnail, the zoom factor can be modified, ...
  • Versions 17 and later
    Displaying the different bookmarks available in the report. These bookmarks are displayed hierarchically. To access a specific section of the report, all you have to do is click the corresponding bookmark.
    New in version 17
    Displaying the different bookmarks available in the report. These bookmarks are displayed hierarchically. To access a specific section of the report, all you have to do is click the corresponding bookmark.
    Displaying the different bookmarks available in the report. These bookmarks are displayed hierarchically. To access a specific section of the report, all you have to do is click the corresponding bookmark.
  • Displaying the report in full screen mode, without title bar or toolbar ( Full Screen icon ). To restore the standard mode, all you have to do is press the [ESC] key.
  • Versions 18 and later
    Ability to select a text found in the print preview in order to perform copy/paste operations ( Text Selection icon ). See Copying text in the print preview for more details.
    New in version 18
    Ability to select a text found in the print preview in order to perform copy/paste operations ( Text Selection icon ). See Copying text in the print preview for more details.
    Ability to select a text found in the print preview in order to perform copy/paste operations ( Text Selection icon ). See Copying text in the print preview for more details.
  • Displaying the total number of pages to print and ability to scroll the report pages.

    Scrolling pages

  • Versions 15 and later
    Printing duplicate copies ( Duplicate icon ).
    New in version 15
    Printing duplicate copies ( Duplicate icon ).
    Printing duplicate copies ( Duplicate icon ).
  • Printing the current page or all the pages, while choosing the printer on which the print will be performed ( Print icon ).
  • Versions 16 and later
    Modifying the printer properties, especially the paper orientation.
    New in version 16
    Modifying the printer properties, especially the paper orientation.
    Modifying the printer properties, especially the paper orientation.
  • Direct print.
Different toolbars:
  • A button bar used to perform the following operations:
    • Save and preview the report in RTF format (Rich Text Format).
      Note: The tables are not supported by the RTF format.
      Versions 20 and later
      Note: The tables are supported by the RTF format. The font color and the background color of cells are stored.
      New in version 20
      Note: The tables are supported by the RTF format. The font color and the background color of cells are stored.
      Note: The tables are supported by the RTF format. The font color and the background color of cells are stored.
    • Saving and previewing the report in HTML format.
    • Saving and previewing the report in PDF format (Portable Document Format).
    • Saving and previewing the report in XML format (eXtensible Markup Language).
    • Previewing the report in an email.
    • Adding a PDF file to an email.
  • A toolbar used to annotate the reports displayed in the print preview.
  • A toolbar used to perform a search in all the pages.
  • Versions 18 and later
    A toolbar used to choose the print mode (duplex, black and white, Duplex icon ). This toolbar can also contain a combo box allowing the user to choose the orientation of his report, the paper format, ... This combo box can appear:
    • Versions 19 and later
      if the report controls are anchored. In this case, the user can choose the orientation of the report and its format according to the capabilities of the default printer. See Anchoring the controls in a report for more details.
      New in version 19
      if the report controls are anchored. In this case, the user can choose the orientation of the report and its format according to the capabilities of the default printer. See Anchoring the controls in a report for more details.
      if the report controls are anchored. In this case, the user can choose the orientation of the report and its format according to the capabilities of the default printer. See Anchoring the controls in a report for more details.
    • when defining a group of reports. See Proposing several reports in the print preview for more details.
    New in version 18
    A toolbar used to choose the print mode (duplex, black and white, Duplex icon ). This toolbar can also contain a combo box allowing the user to choose the orientation of his report, the paper format, ... This combo box can appear:
    • Versions 19 and later
      if the report controls are anchored. In this case, the user can choose the orientation of the report and its format according to the capabilities of the default printer. See Anchoring the controls in a report for more details.
      New in version 19
      if the report controls are anchored. In this case, the user can choose the orientation of the report and its format according to the capabilities of the default printer. See Anchoring the controls in a report for more details.
      if the report controls are anchored. In this case, the user can choose the orientation of the report and its format according to the capabilities of the default printer. See Anchoring the controls in a report for more details.
    • when defining a group of reports. See Proposing several reports in the print preview for more details.
    A toolbar used to choose the print mode (duplex, black and white, Duplex icon ). This toolbar can also contain a combo box allowing the user to choose the orientation of his report, the paper format, ... This combo box can appear:
    • Versions 19 and later
      if the report controls are anchored. In this case, the user can choose the orientation of the report and its format according to the capabilities of the default printer. See Anchoring the controls in a report for more details.
      New in version 19
      if the report controls are anchored. In this case, the user can choose the orientation of the report and its format according to the capabilities of the default printer. See Anchoring the controls in a report for more details.
      if the report controls are anchored. In this case, the user can choose the orientation of the report and its format according to the capabilities of the default printer. See Anchoring the controls in a report for more details.
    • when defining a group of reports. See Proposing several reports in the print preview for more details.
These toolbars are also available during a print preview performed in WLanguage. They can be moved anywhere in the preview window (the search bar can be docked at the bottom for example).
A popup menu proposing most of the options.
Note: To preview a report, a printer must be installed on the current computer.
Other features
  • Customizing the preview: Your application is using a skin template? Why not use this skin template for the preview window. WINDEV allows you to customize the preview window. See Customizing the preview window for more details.
  • Previewing a print performed with the WLanguage functions: If a print is performed with the WLanguage functions, you can also benefit from the features of print preview. The button bar will also be available.
  • Configuring the button bar: To display some of the buttons only:
    • use iParameterPreview. This function, used in the initialization code of the project, allows you to choose the buttons that will be displayed for all the application reports.
    • configure the buttons that will be displayed for each report in the report description ("Details" tab).
      To configure the options of the different print modes, use :
  • Printing from the preview: To find out whether the print was performed from the print preview, use iDocumentPrinted.
  • When using the button bar, the print preview is automatically closed once the file is saved.
Notes

Display effects during a zoom

Display effects may occur when performing a report zoom in the print preview. For example, some very fine lines may not be displayed in the print preview. However, these lines will be printed when the report is printed on a printer.

Printing from the preview

To print an entire document from the print preview, you must wait until all the pages are displayed in the print preview.

Re-running the report

The report displayed in the print preview is automatically re-run in the following cases:
  • when changing printer from the print preview.
  • when printing the report via one of the buttons found in the button bar (print in HTML, in PDF, ...).
The report displayed in the print preview is automatically re-run when the report is printed or exported from the print preview. The processes associated with the report are re-run.
In this case, the data displayed in the report may be modified (to take into account the data modified by the other users for example).
The variables used by the report should be initialized in the initialization code of the report (and not in the code of the button that starts the print preview).
Note: The WLanguage functions used in your report may return a different result when the report is re-run. For example, if WLanguage functions are used in a report based on the current window, the current window will correspond to the preview window when the report is re-run.

Using Outlook Express and sending emails from the preview window

If you are using Outlook Express and if you are sending emails from the preview window, the following problem may occur: the email window of Outlook Express does not allow you to enter the email information anymore. All the controls are grayed.
This is caused by an Outlook problem. The following link to the Microsoft site allows you to get the information for fixing this problem: http://support.microsoft.com/kb/918766/en-usMake sure that your are working with the last Outlook update.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment