RDLC report layout RRS feed

  • Question

  • User-1473739709 posted

    I have build web which uses ReportViewer.Webforms to export report files.
    I have rdlc file report (standtart A4, Landscape), that has

     <PageHeight>21cm</PageHeight> <PageWidth>29.7cm</PageWidth> 

    Problem is, when i'm trying to print (in docx, Word 2010 and 2013) that one of the test printers doesn't understand page format - in "Print preview" window, page size = "Custom page Size 11.69x 8.27", "Landscape Orientation". But document in preview mode is croped from sides. If i select page format "A4" or try to play with margins or landscape, preview normalizes.

    If i select diferent printer everything is well. If i try generating report in pdf also everything is well.

    Is this problem with my rdlc, printer or Print preview window? How to solve it? (so that customer won't need to select page format everytime)

    Update: I opened up my docx as xml, and found that landscape tag was missing 


    If i add it - it works well. Now problem, how to do make a general fix?

    Thursday, June 27, 2013 7:46 AM

All replies

  • User-1225287840 posted

     Have you tried changing the page layout settings (for Landscape), 

     Report menu -> BIDS -> Report Properties -> Layout -> change it to 11.7 inches × 8.3 inches


    Thursday, June 27, 2013 12:01 PM
  • User-1473739709 posted

    Yep. The first thing i tried. And i tried it several times.

    Thursday, June 27, 2013 12:46 PM