AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de impresión
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Allows you to:
  • determine whether the user printed the document from the report viewer.
  • get detailed information about the print job.
Ejemplo
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
Sintaxis

Determining if the user has started a print or export job from the report viewer Ocultar los detalles

<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 Ocultar los detalles

<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:
iListOutputList of the different print or export jobs started from the report viewer.
Clasificación Lógica de negocio / UI: Código neutro
Componente: wd300prn.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local