お早うございます。小沢です。
JasperReportの中にdemo\samples\printserver\srcに印刷サンプルプログラムがあります。
ant compileした後にant printすると印刷されます。
次にお2行を追加してDocuCenterに出力しましたが、A4横に印刷できました。ご確認をお願いします。
①import javax.print.attribute.standard.OrientationRequested;
PrintRequestAttributeSet printRequestAttributeSet = new HashPrintRequestAttributeSet();
printRequestAttributeSet.add(MediaSizeName.ISO_A4);
②printRequestAttributeSet.add(OrientationRequested.LANDSCAPE);
小沢
2014年6月27日金曜日 19時57分56秒 UTC+9 Yasuyuki Uno: