olan Posted February 1, 2010 Posted February 1, 2010 Hi, In a Web Application I have a rdlc file which contains the report output for a form which is wider than it is long. The report shows correctly in the browser and in the pdf viewer/download but once the user goes to print it it prints in landscape. I have played around with it an it appears that it is due to the page width being more than the page height. In the printer dialog it shows landscape (the printer is set to portrait by default). Does anyone know of a solution to this issue? Best regards, O Quote
Administrators PlausiblyDamp Posted February 2, 2010 Administrators Posted February 2, 2010 Firstly which version of Reporting Services are you using? Could you also check what page dimensions are set in the report designer - if you go to the Report properties what are the settings for the Interactive Size and the Page Size. I don't have RS handy to test but I seem to remember having problems in the past (can't remember which version either - how helpful am I? :confused: )when these two differed. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
olan Posted February 2, 2010 Author Posted February 2, 2010 Hi, Here is the "main" caontents of the RDLc file. Any suggestions very welcome. <?xml version="1.0" encoding="utf-8"?> <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"> <RightMargin>0cm</RightMargin> <LeftMargin>1cm</LeftMargin> <BottomMargin>0cm</BottomMargin> <Width>19cm</Width> <Body> <ReportItems> <Textbox Name="P1TheEEV"> <Top>1.3cm</Top><Width>6cm</Width> <Style> <BorderColor><Default>LightGrey</Default></BorderColor> <BorderStyle><Default>None</Default></BorderStyle> <Color>Black</Color> <BackgroundColor>White</BackgroundColor> <FontSize>12pt</FontSize> <PaddingLeft>1pt</PaddingLeft> <PaddingRight>1pt</PaddingRight> <PaddingTop>1pt</PaddingTop> <PaddingBottom>1pt</PaddingBottom> <TextAlign>Left</TextAlign> </Style> <CanGrow>false</CanGrow> <Left>4.5cm</Left> <Height>0.62cm</Height> <Value>The Value</Value> </Textbox></ReportItems> <Height>8cm</Height> </Body> <Language>en-US</Language> <TopMargin>0cm</TopMargin> <PageHeight>9cm</PageHeight> </Report Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.