I want to print the content of a WebEngine:
PrinterJob job = PrinterJob.createPrinterJob();
job.getJobSettings().setJobName("Print WebEngine");
job.getJobSettings().setPageLayout(job.getPrinter().createPageLayout(Paper.A4, PageOrientation.PORTRAIT, MarginType.DEFAULT));
webEngine.print(job);
job.endJob();
Unfortunately, my printer only prints one page although there is much more content loaded, which should be printed on further pages. Additionally, the content which was printed on the single page is distorted on the result.
Does anyone know how I can print the whole content of the WebEngine on many pages so that it is not scaled or something like this?