Re: JavaFx: webview print with scale 100%

2015-07-13 Thread Anton V. Tarasov
Hi Alexander, On 27.06.2015 8:30, Александр Свиридов wrote: Hi Anton, I send all files. If you open index.html in IE and printpreview-set scale 100% - print , you will get 16.8 cm of div on paper. If you you print via application I did you will get quite different size. WebView is a

Re: JavaFx: webview print with scale 100%

2015-06-30 Thread Anton V. Tarasov
Hi Alexander, Thanks for posting the samples. I'll check the printing stuff and will update on results. Regards, Anton. On 27.06.2015 9:30, Александр Свиридов wrote: Hi Anton, I send all files. If you open index.html in IE and printpreview-set scale 100% - print , you will get 16.8 cm of

Re[2]: JavaFx: webview print with scale 100%

2015-06-27 Thread Александр Свиридов
Hi Anton, I send all files. If you open index.html in IE and printpreview-set scale 100% - print , you will get 16.8 cm of div on paper. If you you print via application I did you will get quite different size. Пятница, 19 июня 2015, 17:03 +03:00 от Anton V. Tarasov

JavaFx: webview print with scale 100%

2015-06-14 Thread Александр Свиридов
To print my html page I use the following code: PrinterJob job =PrinterJob.createPrinterJob();if(job !=null job.showPrintDialog(null)){ webView.getEngine().print(job); job.endJob();} The problem is that webview changes the scale of printing page. For example, when I print this html