ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
  • Configuration taken into account when printing a report
  • Re-initializing the configuration
  • Number of copies
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
Configures the printer by opening the configuration window. The configuration window is initialized with the parameters specified when the report was created (orientation, margins, etc.).
WEBDEV - Server code Directly configures the printer used for the current print by applying the parameters specified when the report was created (orientation, margins, etc.).
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see Printing in Linux.
Example
IF iParameterReport(RPT_MyReport) = True THEN
iPrintReport(RPT_MyReport)
ELSE  
 Info("The report configuration was canceled")
END
Syntax
<Result> = iParameterReport(<Report name>)
<Result>: Boolean
  • True if the information typed in the dialog box was validated by the user,
  • False if user cancellation.
<Report name>: Character string
Name of report used as reference. The characteristics of this report (specified when the report was created) will be used to initialize the configuration window (orientation, etc.).
Remarks

Configuration taken into account when printing a report

Only the last configuration is taken into account when printing a report.
We advise you not to use iParameterReport and iConfigureReport several times while no report is printed.

Re-initializing the configuration

After the call to iParameterReport (or iConfigureReport), any new call to this function will reinitialize the configuration window with the parameters used during the first call to the function.

Number of copies

If the user specifies a number of copies (using iParameter or iParameterReport) before printing the report, this number of copies will will take precedence over the number of copies specified with the NbCopy property.
Component: wd290etat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help