ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Forces the report print to stop. The page footer and the "end of document" block are printed.
WINDEVWEBDEV - Server code If the report is printed in the report viewer, the preview window is not closed again.
Note: This function can only be used with reports created using the report editor.
Linux Caution: In Linux, this function requires a specific configuration. For more details, see Print in Linux.
Example
// Fin de l'impression si le fichier texte n'est pas trouvé
GLOBAL
	// Identifiant du fichier texte
	gfnIDFichier is int = 0

LOCAL
	sFichierTexte is string = fCurrentDir() + "\Etats\Produit.txt"

// Ouvrir le fichier texte
gfnIDFichier = fOpen(sFichierTexte, foRead)
IF gfnIDFichier = -1 THEN
	Error(ErrorInfo())
	iEndReport() // Arrêter l'impression de l'état
END
// Fin de l'impression forcée lors de l'impression d'un enregistrement
IF MySelf..Source.NomClient = "MOULIN" THEN
	iEndReport()
END
Syntax
iEndReport()
Business / UI classification: Neutral code
Component: wd300etat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help