- 29 名前:26 [04/11/18 11:10:28.net]
- JRPrintServiceExporter.javaの180行目を
下のようにしたら解決したのでご報告まで(<の部分を追加) if (!printRequestAttributeSet.containsKey(MediaPrintableArea.class)) { < if (printRequestAttributeSet.containsKey(OrientationRequested.class) && printRequestAttributeSet.containsValue(OrientationRequested.LANDSCAPE)) < printRequestAttributeSet.add( < new MediaPrintableArea( < 0f, < 0f, < (float)jasperPrint.getPageHeight() / 72f, < (float)jasperPrint.getPageWidth() / 72f, < MediaPrintableArea.INCH < ) < ); < else printRequestAttributeSet.add( new MediaPrintableArea( 0f, 0f, (float)jasperPrint.getPageWidth() / 72f, (float)jasperPrint.getPageHeight() / 72f, MediaPrintableArea.INCH ) ); } バージョン 0.6.2
|

|