PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • The report editor
  • The print functions in WLanguage
  • Principle for printing in WLanguage
  • Limitations
  • Limitations for printing from a Terminal Mobile (Pocket PC)
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Versions 18 and later
iPhone/iPad This feature is now available for the iPhone/iPad applications.
New in version 18
iPhone/iPad This feature is now available for the iPhone/iPad applications.
iPhone/iPad This feature is now available for the iPhone/iPad applications.
Versions 19 and later
Android This feature is now available for the Android applications.
Android Widget This feature is now available in Android Widget mode.
New in version 19
Android This feature is now available for the Android applications.
Android Widget This feature is now available in Android Widget mode.
Android This feature is now available for the Android applications.
Android Widget This feature is now available in Android Widget mode.
Principle for printing in WLanguage
The steps for printing in WLanguage as are follows:
Limitations
Windows Mobile

Limitations for printing from a Terminal Mobile (Pocket PC)

The limitations for printing from a Mobile Device (Pocket PC) are as follows:
  • only the printer fonts are available for printing.
    If the font used is not available, the closest font will be used.
  • PCL printer.
Tips: To speed up your prints, limit the number of graphic options (border lines, grid, ...) that slow down the prints and that use a lot of printer memory.
WEBDEV - Server code

Important

To directly print on a printer connected to the server, a specific configuration is required. See Configuring the server to perform a print for more details.
Linux

Printing in Linux

Only the prints in PDF format are available in Linux.
A specific configuration is required to print in Linux. See Printing in Linux for more details.
Versions 18 and later
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.
New in version 18
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.
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.
Versions 19 and later
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 you must open the PDF document generated by the print functions with an external application (by using ShellExecute for example), this document must be found on the external memory of the device (sdcard for example) in order to be accessible by the 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.
New in version 19
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 you must open the PDF document generated by the print functions with an external application (by using ShellExecute for example), this document must be found on the external memory of the device (sdcard for example) in order to be accessible by the 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.
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 you must open the PDF document generated by the print functions with an external application (by using ShellExecute for example), this document must be found on the external memory of the device (sdcard for example) in order to be accessible by the 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 required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment