打印对象 一份设置为A3纸张, 页面边距为(10, 10, 10, 10)mm的PDF文件. PageFormat 默认PDFPrintable无法设置页面大小. PDFPrintable printable = new PDFPrintable(document); PrinterJob job = PrinterJob.getPrinterJob(); job.setPrintable(printable); 需要把它放到一个Book中, 再设置即可 Book book = new Book
RDLC 导出Word的时候发现,Word的尺寸和页边距有问题,查了MSDN看到这样一段话 Page Sizing When the report is rendered, the Word page height and width are set by the following RDL properties: paper size height and width, left and right page margins, and the top and bottom page margi