Skip to Content
0
Oct 25, 2016 at 03:12 PM

changed printermargins at printing a report with the runtime

115 Views

Hi Community,

I have a strange problem. I have a report printed on dina5 format. In the designer I have a top margin of 1,3 cm. printing with the runtime results in a top margin of 0,6mm! A top margin of 5 cm in the desinger results in 4,2 cm in the runtime. It seems that the following statements is the problem:

printreportoptions.BinName = "tray name"

rasPrintOutputController.PrintReport(printreportoptions);

Between this thwo statements I do some additional things like settings the printername. but the problem of the changed margins only occurs if I select a different bin.

Does anybody nows this problem? Or Do I have do copy the pagemargins to the now printreportoptions?

I am using VRVS2010SP17.

thanks for the help.

regards

joerg