Help / WLanguage / WLanguage functions / Standard functions / Print functions
  • Overview
  • The different operations
  • Functions used to configure the print destination
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Step 1: Configuring the print parameters
This step allows you to choose:
  • the document print settings (quality, number of copies, etc.).
  • the parameters for configuring the printer (printer driver, orientation, paper format, etc.).
This step is optional.
This step must be completed if the default settings (defined in the Windows control panel) are not suitable for the print job.
The different operations
The different operations are as follows:
1. Selecting the print parameters of the document (iParameter). You can:
  • open the print settings window.
  • configure the print settings one by one (page height and width, number of copies, etc.).
iPhone/iPad iParameter is not available.
2. Choosing the printer (iConfigure). You can:
  • open the printer selection window.
  • change the printer used for the current print job. This modification can be temporary (for the current program) or permanent.
LinuxiPhone/iPad iConfigure is not available.
3. Redefining the print margins (iMargin). The top, bottom, left and right margins can be modified. If this function is not called, the default margins (differ according to the selected printer) will be used.
Caution: The order of above-mentioned operations must be respected. If a print job is in progress, iParameter and iConfigure cancel the current print job.
WEBDEV - Server code Reminder: To directly print on a printer connected to the server, a specific configuration is required. For more details, see Configuring the server to perform a print job.
Functions used to configure the print destination
The following functions are used to configure the print destination and determine the current configuration:
iConfigureConfigures the printer.
iInfoPrinterRetrieves the characteristics of the current or default printer.
iListPrinterReturns the list of printers installed on the current computer.
iParameterConfigures the print.
iPreview / iDestinationConfigures the print destination.
The configuration and the setting performed by iConfigure and iParameter reinitialize the print module. Therefore, these functions must be the first print functions called. All the print functions called before these two functions will be ignored.
Java The print job can be performed on a printer only.
LinuxiPhone/iPad The document can only be printed to PDF.
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help