报表中打印默认是纵向的A4纸张大小,如果要调为横向打印同时也要调整纸张大小 如果要修改所有的报表打印都按照横向打印可以修改/UI2/system/service/report/dialog/pageSetup.w中pageInfo上控制这几个值的关系值,看页面展现就能看出来具体的关系名 如果只需要单个报表调整可以在js中设置report组件上的相关的设置如下: ``` this.comp("report1")._config.page.orientation="Landscape"; //设置为横向 this.comp("report1")._config.page.paperType = "B5"; //设置纸张类型 this.comp("report1")._config.page.pageWidth = "182mm"; //设置纸张宽度 this.comp("report1")._config.page.pageHeight = "257mm"; //设置纸张高度 this.comp("report1")._config.page.marginLeft = "10mm";//设置纸张左边距 this.comp("report1")._config.page.marginRight = "10mm";//设置纸张右边距 this.comp("report1")._config.page.marginTop = "10mm";//设置纸张上边距 this.comp("report1")._config.page.marginBottom = "10mm";//设置纸张下边距 ```