PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Overview
  • The report editor
  • The print functions in WLanguage
  • Principle for printing in WLanguage
  • Limitations
  • Important
  • Printing in Linux
  • 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 Java 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
WEBDEV - Server code

Important

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.
Linux

Printing in Linux

Only the prints in PDF format are available in Linux.
A specific configuration is required to print in Linux. For more details, see Printing in Linux.
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.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment