The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

NewBie1 (4) [Avatar] Offline
#1
Is it possible to set paper size to legal with SOAP API programmatically using SSRS 2000 sp2 . Basically I want to set the properties that are accessed with Page Setup in IE under file menu. This is mainly because I want to allow the users to print the report through a custom asp.net button and not through the Report Viewer control Print button.

TIA
tlachev (687) [Avatar] Offline
#2
Re: Printer Properties
There isn't a specific method for just setting the margins. Instead, you need to change the report height and width properties in RDL followed by a call to SetReportDefinition to propagate the changes to the server.