ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE


This content has been translated automatically.  Click here  to view the French version.
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
Allows to:
  • to know if the user has requested the printing of the Document from the report viewer.
  • New in version 28
    get detailed information about the printout made.
Example
iDestination(iViewer)
iPrint("Texte")
iEndPrinting()
IF iDocumentPrinted() = True THEN
Info("Vous avez demandé l'impression du document")
END
New in version 28
iDestination(iViewer)
iPrintReport(MyReport)
 
tabInfoSortie is array of iOutputInfo
tabInfoSortie = iDocumentPrinted(iListOutput)
 
FOR EACH InfoSortie OF tabInfoSortie
Trace("----------------------------------------")
Trace("Destination = " + InfoSortie.Destination)
Trace("Imprimante = " + InfoSortie.Imprimante)
Trace("NomFichier = " + InfoSortie.NomFichier)
Trace("FormatPapier = " + InfoSortie.FormatPapier)
Trace("LargeurPapier = " + InfoSortie.LargeurPapier)
Trace("HauteurPapier = " + InfoSortie.HauteurPapier)
Trace("Orientation = " + InfoSortie.Orientation)
END
Syntax

Know if the user has requested a print or an export from the report viewer Hide the details

<Result> = iDocumentPrinted()
<Result>: Boolean
  • True if the user has requested to print the document from the report viewer,
  • False otherwise.
Caution: This function cannot be used to find out whether the print was successfully performed. If the printer has a physical problem, the function always returns the same result.
New in version 28

Get the detailed information of the print or export made Hide the details

<Result> = iDocumentPrinted(<Options>)
<Result>: Array of iOutputInfo
Array of variables of type iOutputInfo containing the different printouts made from the report viewer.
<Options>: Integer constant
Type of list box:
iListOutputList of the different printouts or exports made from the report viewer.
Business / UI classification: Neutral code
Component: wd280prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment