mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
6921664: The number of copies and the job name are not passed to a 3rd party PrintService
Reviewed-by: prr, jdv
This commit is contained in:
parent
524efbad79
commit
0d5a231133
2 changed files with 249 additions and 0 deletions
|
@ -1388,6 +1388,8 @@ public abstract class RasterPrinterJob extends PrinterJob {
|
|||
Doc doc = new PageableDoc(getPageable());
|
||||
if (attributes == null) {
|
||||
attributes = new HashPrintRequestAttributeSet();
|
||||
attributes.add(new Copies(getCopies()));
|
||||
attributes.add(new JobName(getJobName(), null));
|
||||
}
|
||||
try {
|
||||
job.print(doc, attributes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue