|
|
|
|
|
- Overview
- Printing a report created with the report editor
- Printing a report in PDF format
- Remarks
- Examples
- Printing a programmed print
- Printing a WLanguage print in PDF format
- Remarks
- Examples
- Printing a PDF from the report viewer
- Principle
- Event "Before printing the report again"
- Notes and limitations
- Remarks
- General advice
- Availability of controls in the reports
- Control in RTF
- PDF in the background of a report
- Print in PDF/A-1b format
Printing a programmed print Printing a WLanguage print in PDF format To perform a WLanguage print in PDF format: - Define the destination of the print and the parameters of the PDF file to generate with:
- iDestination to define the print in PDF format (iPDF or iGenericPDF constant).
- iParameterPDF to configure the options for printing in PDF format. You can define:
- the password used to open the file.
- the options for compressing images.
- the options for the presence of bookmarks.
- the options for protecting the PDF file. You also have the ability to define the password used to modify these protection options.
- the use of the PDF/A format (the generated version is PDF/A-1b).
- Use the print functions to define the content of the print.
- Start the print job with iEndPrinting.
Examples // Create the PDF file iDestination(iPDF, "C:\Temp\MyPDF.PDF") // Print code iCreateFont(1, 16, iBold, iRoman) //Call to procedures used to print the content PrintTitle() PrintText() // End of print and close the created PDF file iEndPrinting()
General advice For a better rendering, use TrueType or OpenType fonts. Caution: the OpenType fonts are not incorporated in the generated PDF. These fonts must be installed on the user computer to get a correct rendering. Control in RTF General limitations: - The static control in RTF format may be truncated during a page break.
- The arrays found in an RTF control are not printed.
- The images used in the RTF controls are not printed.
iParameter associated with the "RTFWINDOWS=NO" parameter or with the iRTFWithImagesAndTables constant is used to properly print the tables and images found in RTF controls.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|