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

changed printermargins at printing a report with the runtime


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"


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.