No information found in the pdf manual and the forum, so here is my question.
I use the following code to setup the page properties of the viewed document.
Code
WPRichText1.PaperDefs.Init(true); // Needed for page setup dialog!
WPRichText1.ReadPrinterProperties;
WPRichText1.Header.Landscape := False;
WPRichText1.Header.PageSize := wp_DinA4;
WPRichText1.Header.UsedUnit := UnitCm;
My actual printer supports those parameters, but when I click on the File->Setup Page menu item, the paper size and units are not the same, so how can I sinchronize my page setup with the dialog.