Re: set Destination attribute in printReqAttrSet

2020-02-05 Thread Neacsu Cristian
Awesome :) good to know that is in WIP state. Really looking forward for it. Good luck in solving the bugs! ^_^ Cristian-Stefan On Wed, Feb 5, 2020 at 2:16 AM Philip Race wrote: > I found that there were some bugs in the JDK code that FX calls > that need to be fixed first. I started on those b

Re: set Destination attribute in printReqAttrSet

2020-02-04 Thread Philip Race
I found that there were some bugs in the JDK code that FX calls that need to be fixed first. I started on those but it was reasonably complex to test and so that is still WIP and then the FX part should be possible. -phil. On 2/4/20, 2:52 AM, Neacsu Cristian wrote: Hello, Any updates regarding

Re: set Destination attribute in printReqAttrSet

2020-02-04 Thread Neacsu Cristian
What I try to achieve, is to use "Microsoft Print to PDF" without inserting the path manually. In java 8 was possible to force adding that Destination parameter through reflection (again an ugly hack), because the API do not expose it. Now being encapsulated in Java 9+ is not achievable anymore...

Re: set Destination attribute in printReqAttrSet

2020-02-04 Thread Dan Howard
Have you tried using normal printing in Java? Just to print something with the usual AWT etc APIs.  If that works you could convert the node to an image to print. On 2/4/2020 5:52 AM, Neacsu Cristian wrote: Hello, Any updates regarding this matter? :-s Thank you in advance, Cristian-Stefan

Re: set Destination attribute in printReqAttrSet

2020-02-04 Thread Neacsu Cristian
Hello, Any updates regarding this matter? :-s Thank you in advance, Cristian-Stefan On Sat, May 11, 2019 at 2:36 AM Neacsu Cristian < neacsu.cristianste...@gmail.com> wrote: > Damn ... Thank you for your reply and for the ticket submitted. > I created an invoice application for my own company,

Re: set Destination attribute in printReqAttrSet

2019-05-10 Thread Neacsu Cristian
Damn ... Thank you for your reply and for the ticket submitted. I created an invoice application for my own company, and imagine that java 9+ would kill me :) All the invoices are generated automatically through pdf printer (I tried few free pdf libraries as an alternative, but for what I need they

Re: set Destination attribute in printReqAttrSet

2019-05-10 Thread Philip Race
Everything you are touching there pre-supposes knowledge of today's implementation of the JavaFX printing API, so I don't think we can endorse that. The right thing to do (maybe years ago!) is to file an RFE to request that something like the Destination attribute be supported in the FX printing A

set Destination attribute in printReqAttrSet

2019-05-10 Thread Neacsu Cristian
For windows print through "Microsoft Print to PDF", there is no way right now to pre-define a path programmatically. There is no way to set inside the printReqAttrSet (J2DPrinterJob), an attribute of type Destination, to solve this issue. Before jdk 9, I was bypassing it through reflection like th