What has changed?


This document contains the most important changes as compared to the previous version of NotesToPaper. When adapting your application, you should adhere to the following points respectively integrate the following changes.

NotesToPaper PDF constants
The NotesToPaper PDF constants were included in the NotesToPaper include file "NTPDef.SCR". Should you have included the NotesToPaper constants manually in the past, then you will have to remove these constants from your script code when including the "NTPDef.SCR" as the indentifiers will otherwise be shown twice.  

NotesToPaper PDF in the printer dialogue
Beginning with version 4.0, the PDF Export is available via the printer dialogue. However, this export is available only for the client via the printer dialogue. The function "NTPExportReport" has to be used for "background operations" such as i.e. agents.  

New options for "NTPSetOption
"
- NTPOPTION_DELAYTABLEHEADER  
- NTPOPTION_RTF_REPLACEFIELDS und NTPOPTION_RTF_REPLACEVARIABLES  
- NTPOPTION_RESET_PROJECT_STATE  
- NTPOPTION_AUTO_PRINT_PREVIEW  
- NTPOPTION_PRINTERDIALOG_LABELPRINTERCOPY  
- NTPOPTION_INCLUDE_FONT_DESCENDERS  

Windows default printer
By using the printer number -1 in the "NTPPrinterGetPrinterName" function it is now possible to read out the Windows default printer.  

Printer settings
Using the "NTPPrinterSetPrinterOption" function, the various printer settings can be manipulated.  

Export
New export filters including the corresponding options are available. The settings for these filters can be changed using "NTPSetOption".  

Sample databases
There are new sample databases. These show how to use the new functions of NotesToPaper:  
- NTPSL.NSF  
- NTPPRN.NSF  
- NTPDYN.NSF