mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
Reset page range
This commit is contained in:
parent
6ddd69eca3
commit
9eb3a02eb0
@ -1735,6 +1735,8 @@ public final class WPrinterJob extends RasterPrinterJob
|
|||||||
setPageRange(from, to);
|
setPageRange(from, to);
|
||||||
} else {
|
} else {
|
||||||
attributes.remove(PageRanges.class);
|
attributes.remove(PageRanges.class);
|
||||||
|
setPageRange(Pageable.UNKNOWN_NUMBER_OF_PAGES,
|
||||||
|
Pageable.UNKNOWN_NUMBER_OF_PAGES);
|
||||||
}
|
}
|
||||||
defaultCopies = false;
|
defaultCopies = false;
|
||||||
attributes.add(new Copies(copies));
|
attributes.add(new Copies(copies));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user