|
|
|
|
|
iDocumentPrinted (Function) In french: iImpressionDemandée Allows you to: - determine whether the user printed the document from the report viewer.
- get detailed information about the print job.
iDestination(iViewer)
iPrint("Texte")
iEndPrinting()
IF iDocumentPrinted() = True THEN
Info("Vous avez demandé l'impression du document")
END
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.Printer)
Trace("NomFichier = " + InfoSortie.FileName)
Trace("FormatPapier = " + InfoSortie.PaperSize)
Trace("LargeurPapier = " + InfoSortie.PaperWidth)
Trace("HauteurPapier = " + InfoSortie.PaperHeight)
Trace("Orientation = " + InfoSortie.Orientation)
END
Syntax
Determining if the user has started a print or export job from the report viewer Hide the details
<Result> = iDocumentPrinted()
<Result>: Boolean - True if the user requested the print job from the report viewer,
- False otherwise.
Caution: This function does not indicate whether printing has been successful.. If the printer has a hardware problem, the function always returns the same result.
Getting detailed information on the print or export job Hide the details
<Result> = iDocumentPrinted(<Options>)
<Result>: Array of iOutputInfo Array of iOutputInfo variables containing the different print jobs started from the report viewer. <Options>: Integer constant Type of list box: | | iListOutput | List of the different print or export jobs started from the report viewer. |
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|