Posted 16 February 2022, 12:40 am EST
Hi there,
I am using AR14.3 with SectionReport. Our system is generating automatically the PDF report and save the file on the server. Now the report should also print automatically after run. I added the code
Me.Document.Print(False, False, False)
on the _ReportEnd. This works also fine, but the Margins are set to 0 so the printer cuts some informations from the top & buttom line. I found a feature named PageScaling and added to the _ReportEnd
Me.Document.PrintOptions.PageScaling = Extensibility.Printing.PageScaling.FitToPrintableArea
but nothing happend when the report runs. Is there an other solution or trick to fit the report on the pagesize?
Thanks in advance.
Greetings,
Chris