ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
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
Adds a print of PDF document into a sequence of report prints.
Remark: The sequence of report prints allows you to print different reports one after another, and view them as one in the report viewer. You can add various types of documents in this sequence. For more details, see Sequencing reports.
Example
// Print in the report viewer
iDestination(iViewer)
// Add reports into the sequence
iSequencingAdd(RPT_Invoice)
// Add the general conditions in PDF File format
iSequencingAddPDF("GCD.pdf")
iSequencingPrint()
Syntax
iSequencingAddPDF(<PDF document> [, <Password> [, <Sizing> [, <List of pages>]]])
<PDF document>: Type of element
PDF document to print. This document corresponds to:
  • the path of PDF file.
  • an HFSQL memo corresponding to a PDF document
  • a Buffer variable corresponding to a PDF document.
<Password>: Character string
  • Password for opening the PDF file,
  • Empty string ("") if the file has no password.
<Sizing>: Integer constant
Print size:
iHomotheticHomothetic enlargement or reduction of the PDF document pages to adapt them to the output format, ignoring physical margins.
iHomotheticNoEnlargementHomothetic reduction of the PDF document pages to adapt them to the output format, ignoring physical margins. The pages that use a format less than the output format keep their format and are centered.
iHomotheticNoEnlargementPrintableAreaHomothetic reduction of the PDF document pages to adapt them to the output format, taking into account physical margins. Pages with a smaller format keep their format and are centered.
iRealSizePrint in real size. The pages that use a format:
  • smaller than the output format are centered in the page.
  • bigger than the output format are truncated and are centered in the page.
<List of pages>: Character string
List of pages to print. You have the ability to specify the range of pages to print separated by a comma, each range being in 'X-Y' format where X and Y are numbers of pages.
Remarks
  • The PDF documents are actually added during the call to iSequencingPrint.
  • In this version, the reports and the sequenced PDF documents keep their own numbering.
Business / UI classification: Neutral code
Component: wd290etat.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help