On Thu, 26 Feb 2026 09:24:58 GMT, Alexey Ivanov <[email protected]> wrote:
>> I am not sure..It doesn't open for me in my Firefor or Edge too. The >> filetype being created it seems xpif which is not pdf >> >> %-12345X@PJL JOB >> @PJL XCPT <?xml version="1.0" encoding="UTF-8"?> >> @PJL XCPT <!DOCTYPE xpif SYSTEM "xpif-v02082.dtd"> >> @PJL XCPT <xpif version="1.0" cpss-version="2.07" xml:lang="en-US"> >> >> Also, other printing tests which uses Destination class like >> java/awt/print/Dialog/PrintDlgApp.java >> java/awt/print/PrinterJob/DeviceScale.java >> java/awt/print/PrinterJob/PrintAfterEndTest.java >> java/awt/print/PrinterJob/PrintCrashTest.java >> java/awt/print/PrinterJob/PrintNullString.java >> java/awt/print/PrinterJob/PrintTextPane.java >> java/awt/print/PrinterJob/PrintToFileTest.java >> all uses .prn or .ps so maybe there's a reason to it.. > > Whatever! I can change the extension, if you insist—it's not the point of the > test at all. > > For me, the file inside starts with `%PDF-1.7`. > > How do I open `.prn` file? I remember I renamed `.prn` to `.pdf` quite a few > times to view the result, and it always worked for me. It seems it depends on the printer creating the file and xpif is generated by Xerox printer which is what I am using. Anyways, I am not insisting on any change...I was just trying to open the file to see if pageranges are printed ok If the files are not point of the test, then I think it should be generated in special debugging case like what we do for saving image by passing "-save" as argument to test.. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29660#discussion_r2862271324
