|
|
|
|
iDocumentPrinted( Función) Permite: - determinar si el usuario imprimió la Document desde el visor de reporte.
- get información detallada sobre el trabajo de impresión.
iDestination(iViewer) iPrint("Text") iEndPrinting() IF iDocumentPrinted() = True THEN Info("You have requested to print the document") END
iDestination(iViewer) iPrintReport(MyReport) arrOutputInfo is array of iOutputInfo arrOutputInfo = iDocumentPrinted(iListOutput) FOR EACH OutputInfo OF arrOutputInfo Trace("----------------------------------------") Trace("Destination = " + OutputInfo.Destination) Trace("Printer = " + OutputInfo.Printer) Trace("FileName = " + OutputInfo.FileName) Trace("PaperSize = " + OutputInfo.PaperSize) Trace("PaperWidth = " + OutputInfo.PaperWidth) Trace("PaperHeight = " + OutputInfo.PaperHeight) Trace("Orientation = " + OutputInfo.Orientation) END Sintaxis
Determinar si el usuario ha iniciado un trabajo de impresión o exportación desde el visor reporte. Ocultar los detalles
<Result> = iDocumentPrinted()
<Result>: booleano - True si el usuario solicitó el trabajo de impresión desde el visor reporte ,
- False en caso contrario.
Atención: Esta función no determina si el trabajo de impresión ha finalizado correctamente. Si la impresora tiene un problema de hardware, la función siempre devuelve el mismo resultado.
Obtener información detallada sobre el trabajo de impresión o exportación Ocultar los detalles
<Result> = iDocumentPrinted(<Options>)
<Result>: Array de iOutputInfo Variables Array de iOutputInfo que contienen los diferentes trabajos de impresión iniciados desde el visor reporte. <Options>: Constante de tipo Integer Tipo de cuadro de lista: | | iListOutput | Lista de los diferentes trabajos de impresión o exportación iniciados desde el visor reporte. |
Clasificación Lógica de negocio / UI: Código neutro
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|