ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
  • Overview
  • The report editor
  • The print functions in WLanguage
  • Principle for printing in WLanguage
  • Limitations
  • Printing in the iPhone/iPad applications
  • Printing in the Android applications
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
Overview
WINDEV, WEBDEV and WINDEV Mobile propose several print methods:
  • the report editor, that is used to create "Preset reports".
  • the print functions in WLanguage.

The report editor

The report editor is used to create printed reports (in report or label format) containing information coming from data files.
We recommend that you create the printed reports with the report editor rather than with the WLanguage functions.
AndroidAndroid Widget The reports created with the report editor are not available.

The print functions in WLanguage

However, for very specific development work, the report editor may not allow you to create the requested reports. In this case, you must use the print functions of WLanguage.
Caution: This chapter describes the principle for printing in WLanguage.
Principle for printing in WLanguage
The steps for printing in WLanguage as are follows:
Limitations
iPhone/iPad

Printing in the iPhone/iPad applications

Only the prints in PDF format are available in iOS.
If necessary, the created PDF file can be printed from the device by iPrintPDF. This function allows you to use the native system window to configure the file print.
AndroidAndroid Widget

Printing in the Android applications

Only the prints in PDF format are available in Android.
By default, if iDestination is not called before starting a print in PDF format, a "document.pdf" file will be generated in the directory of application files.
If the PDF document generated by the print functions must be opened by an external application (with ShellExecute, for example), this document must be located on the external memory of the device (e.g., SD card) to be accessible by other applications.
Example:
iDestination(iGenericPDF, CompleteDir(SysDirStorageCard()) + "document.pdf")
If necessary, the created PDF file can be printed from the device by iPrintPDF. This function allows you to print the file by using the Cloud Print service of Google.
Related Examples:
Printing by programming Unit examples (WINDEV): Printing by programming
[ + ] Operating mode of a print performed by programming (which means without using the report editor)
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/30/2023

Send a report | Local help