PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • The button bar of the print preview
  • Overview
  • Details
  • Save and preview the report in RTF format (Rich Text Format)
  • Save and preview the report in HTML format
  • Save and preview the report in PDF format (Portable Document Format)
  • Save and preview the report in XML format (eXtensible Markup Language)
  • Preview the report in an email
  • Add a PDF file to an email
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
Button bar of the print preview (version 19)
Warning
From version 20, the different options of print preview are proposed in a ribbon. See Print preview: "Export" pane for more details.
The button bar of the print preview

Overview

The button bar of the print preview is used to perform the following operations:
Notes:
  • If the print is performed in WLanguage, the button bar is also displayed in the preview window.
  • To display some of the buttons in the button bar of the print preview:
    • 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).
  • When using the button bar, the print preview is automatically closed once the file is saved.
Reminder: 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.
Details

Save and preview the report in RTF format (Rich Text Format)

The created file can be viewed in one of the text editors installed on the current computer (Word or NotePad for example).
By default:
  • The generated file is named "<ReportName>.RTF".
  • In test, this file is created in the EXE sub-directory of the project directory.
  • On the user computers, this file is created in the setup directory of the application.
The user will be able to modify these characteristics by clicking the "WORD" button.
Notes:
  • A text editor must be installed on the current computer in order to view the generated file.
  • To save a file in RTF format, the "RICHED20.DLL" file must be found on the current computer. In most cases, the "RICHED20.DLL" file is found in the system directory of Windows.
  • Printing texts that are not oriented horizontally (90° for example) is not supported.
  • The exported tables do not always keep their formatting.

Save and preview the report in HTML format

The created file can be viewed in the default browser installed on the current computer.
By default:
  • The generated file is named "<ReportName>.HTM".
  • In test, this file is created in the EXE sub-directory of the project directory.
  • On the user computers, this file is created in the setup directory of the application.
The user will be able to modify these characteristics by clicking the "HTML" button.
Notes:
  • By default, the created HTML file is using the style sheets (CSS). In order for the created HTML file to use no style sheet, the print must be started by programming.
  • An Internet browser must be installed on the current computer in order to view the generated file.

Save and preview the report in PDF format (Portable Document Format)

The created file is directly displayed in a PDF viewer (Adobe Acrobat for example) installed on the current computer.
By default:
  • The generated file is named "<ReportName>.PDF".
  • In test, this file is created in the EXE sub-directory of the project directory.
  • On the user computers, this file is created in the setup directory of the application.
The user will be able to modify these characteristics by clicking the "PDF" button.
Note: A PDF viewer must be installed on the current computer in order to view the generated file.
Problems may occur when printing in PDF format. See Printing in PDF format: Known problems for more details.

Save and preview the report in XML format (eXtensible Markup Language)

The created file is automatically displayed in the XML viewer (an Internet browser for example) installed on the current computer.
By default:
  • The generated file is named "<ReportName>.XML". No style sheet is generated.
  • In test, this file is created in the EXE sub-directory of the project directory.
  • On the user computers, this file is created in the setup directory of the application.
The user will be able to modify these characteristics by clicking the "XML" button.
Note: An XML file viewer must be installed on the current computer in order to view the generated file.

Preview the report in an email

The report is directly viewed in a new email created with the default messaging software installed on the current computer.
The supported messaging systems are as follows:
  • Microsoft Outlook
  • Outlook Express
  • Eudora
  • IncrediMail
  • Netscape
  • Mozilla Thunderbird
  • Mozilla
For all the other messaging systems, a .eml file is created. If the email system supports this format, the email can be viewed on the current computer.
Notes:
  • If the default messaging is Eudora: The report is generated in text format and included in the email.
  • If the default messaging is Outlook: The report is generated in RTF format and included in the email.
  • For all the other types of messaging software, the report is generated in HTML format and included in the email.
  • Printing texts that are not oriented horizontally (90° for example) is not supported.

Add a PDF file to an email

The report is automatically saved in a PDF file.
This PDF file is directly attached to a new email created with the messaging software installed on the current computer.
By default, the file generated is named "<ReportName>.PDF".
Problems may occur when printing in PDF format. See Printing in PDF format: Known problems for more details.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment