On Fri, 21 Jun 2024 14:46:33 GMT, Renjith Kannath Pariyangad 
<[email protected]> wrote:

> Yes, there is some disconnect. For all OS (MAC with above changes) print 
> range is working properly only with following values firstPage =0 and 
> lastPage =-1 at **RasterPrinterJob.java** and highly depend on 
> **pageRangesAttr** . I don't think there is any issue with native code, with 
> this change I have brought MAC same as other OS.

Shouldn't the solution then be to fix the issue with RasterPrinterJob.java not 
working properly with correct firstPage and lastPage values? It also looks like 
the indices are different between macOS and java. Perhaps there's code 
somewhere that should have but hasn't converted the indices over?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19740#issuecomment-2192573235

Reply via email to