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
  • Properties specific to iOutputInfo variables
  • WLanguage functions that use iOutputInfo variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
iOutputInfo (Variable type)
In french: iInfoSortie
The iOutputInfo type is used to get the details of a report print or export job, or the details of a print job performed programmatically from the report viewer. The details of the print job are returned by different WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
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
Properties

Properties specific to iOutputInfo variables

The following properties can be used to handle iOutputInfo variables:
Property nameType usedEffect
DestinationInteger constantPrint destination:
  • iDuplicata: Direct printing in a duplicate file.
  • iEmail: Direct printing in an email.
  • iEmailPDF: Direct printing in a PDF attached to an email.
  • iHTML: Direct printing to HTML files using style sheets.
  • iHTMLGeneric: Direct printing into an HTML file using a style sheet.
  • iHTMLSansCSS: Print directly to an HTML file without using a style sheet.
  • iHTMLGenericWithoutCSS: Print directly to an HTML file without using a style sheet.
  • iPrinter: Direct printing on the printer.
  • iPDF: Print directly to PDF file.
  • iRTF: Print directly to RTF file.
  • iXLS: Print directly to an XLS file.
  • iXML: Direct printing to an XML file.
This property is read-only.
FileNameCharacter stringFull name of the file generated in the case of PDF, HTML, XLS, ... export.
This property is read-only.
OrientationInteger constantPaper orientation:
  • iOrientation_Portrait: Portrait.
  • iOrientation_Paysage: Landscape.
This property is read-only.
PageHeightIntegerHeight of the paper, expressed in millimeters.
This property is read-only.
PageWidthIntegerWidth of the paper, expressed in millimeters.
This property is read-only.
PaperSizeInteger constantPaper size:
  • iPaperSize_10x14: 10 x 14 inches
  • iPaperSize_11x17: 11 x 17 inches
  • iPaperSize_A3: A3 paper (297 x 420 mm)
  • iPaperSize_A4: A4 paper (210 x 297 mm)
  • iPaperSize_A4Small: Small A4 paper (210 x 297 mm)
  • iPaperSize_A5: A5 (148 x 210 mm)
  • iFormatPapier_AllemandSTD: Continuous paper 8.5 x 12 inch
  • iPaperSize_GermanLGL: Fanfold paper (8.5 x 13 inches)
  • iPaperSize_B4: B4 paper (250 x 354 mm)
  • iPaperSize_B5: B5 paper (182 x 257 mm)
  • iPaperSize_FanfoldUS: Fanfold paper (14.875 x 11 inches)
  • iPaperSize_Envelope9: Envelope #9 (3.875 x 8.875 inches)
  • iPaperSize_Envelope10: Envelope #10 (4.125 x 9.5 inches)
  • iPaperSize_Envelope11: Envelope #11 (4.5 x 10.375 inches)
  • iPaperSize_Envelope12: Envelope #12 (4.5 x 4.5 x 11 inches)
  • iPaperSize_Envelope14: Envelope #14 (5 x 11.5 inches)
  • iPaperSize_EnvelopeB4: B4 envelope (250 x 353 mm)
  • iPaperSize_EnvelopeB5: B5 envelope (176 x 250 mm)
  • iPaperSize_EnvelopeB6: B6 envelope (176 x 125 mm)
  • iPaperSize_EnvelopeC3: C3 envelope (324 x 458 mm)
  • iPaperSize_EnvelopeC4: C4 envelope (229 x 324 mm)
  • iPaperSize_EnvelopeC5: C5 envelope (162 x 229 mm)
  • iPaperSize_EnvelopeC6: C6 envelope (114 x 162 mm)
  • iPaperSize_EnvelopeC65: C65 envelope (114 x 229 mm)
  • iPaperSize_EnvelopeDL: DL envelope (110 x 220 mm)
  • iPaperSize_EnvelopeItaly: 229 x 324 mm envelope
  • iPaperSize_EnvelopeMonarch: 3.875 x 7.5 inch envelope
  • iPaperSize_EnvelopePerso: 3.625 x 6.5 inch envelope
  • iPaperSize_Executive: 7.5 x 10.5 inch paper
  • iPaperSize_Folio: 8.5 x 13 inch paper
  • iPaperSize__Ledger: 17 x 11 inch paper
  • iPaperSize_Legal: 8.5 x 14 inch paper
  • iPaperSize_LetterSmall: 8.5 x 11 inch paper
  • iPaperSize_Letter: 8.5 x 11 inch paper
  • iPaperSize_Note: 8.5 x 11 inch paper
  • iPaperSize_Quarto: 215 x 275 mm paper
  • iPaperSize_Statement: 5.5 x 8.5 inch paper
  • iPaperSize_Tabloid: 11 x 17 inch paper
  • iPaperSize_CSheet: C paper size
  • iPaperSize_DSheet: D paper size
  • iPaperSize_ESheet: E paper size}
  • iFormatPaperPerso: Custom paper size.
This property is read-only.
PrinterCharacter stringName of the printer used
This property is read-only.
Remarks

WLanguage functions that use iOutputInfo variables

iDocumentPrintedDetermines whether the user printed the document from the report viewer.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help