Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • Administrators
Posted
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.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...