Category: | Bug report |
Priority: | Normal |
Status: | New |
Project: | Severity: | Major |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
When printing a report using JRPrintServiceExporter, the PrinterJob is created using PrinterJob.getPrinterJob(), and once the job has the service set on it using setPrintService(), the PageFormat held by the printer job has the dimensions of the default printer, not the print service passed in the parameters. This means that if printing to a label printer, and the default printer is an A4 printer, the printed document is of A4 size, not label printer size.
This has been replicated on Windows 7 64 bit.