ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with reports and controls
  • In which WLanguage event is it possible to use the PageByPagePrint property?
  • Limit: Calculated control that is using the total number of report pages
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
PageByPagePrint (Property)
In french: ImpressionAChaquePage
The PageByPagePrint property is used to:
  • Ask a report to be printed page by page. Each page of the report will be sent separately to the printer spooler. This option is used to reduce the size of the print spooler for example.
  • Find out the print mode of the report (page by page or all at once).
Remark: To print a report page-by-page, you can also check "Send each page separately to the printer" in the "Options" tab of the report description window.
Example
// Print the report page by page
RPT_ReportName.PageByPagePrint = True
Syntax

Finding out the print mode of the report Hide the details

<Result> = <Report used>.PageByPagePrint
<Result>: Boolean
  • True if the report is printed page by page,
  • False otherwise.
<Report used>: Report name
Name of the report to be used.

Asking for a report to be printed page by page Hide the details

<Report used>.PageByPagePrint = <Print mode>
<Report used>: Report name
Name of the report to be used.
<Print mode>: Boolean
  • True if the report is printed page by page,
  • False if the report is entirely printed.
Remarks

In which WLanguage event is it possible to use the PageByPagePrint property?

It is recommended to use the PageByPagePrint property in the report "Opening" event . In other events associated with the report, this property will be ignored.

Limit: Calculated control that is using the total number of report pages

The report should not be printed page by page if this report contains a "Number of pages" calculated control. Indeed, the report must be entirely run in order to calculate the number of pages. If a page-by-page print is nevertheless requested, the number of pages will be replaced by "...".
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help