Ireport viewer output printing to pdf

I want the output from the Jasper Viewer printed with a pdf printer. It works correctly with Cute PDF Writer. But Win2pdf gives a very small print on a normal sized paper.

Does anyone know this problem and has a solution?

Why do you want to print the report with a pdf printer? In JasperViewer you have the possibility to save a report as a pdf.

When I use that option, the pdf doesn’t look at all at the output that I’m saving. The font is different and it only saves the first page.

Strange. I’ve never seen this behaviour. Maybe it has todo with the iText library.

Have a look at the “install.txt” of the jasper plugin:

…Note: An earlier version of the iText library is also shipped with the PDF output plugin of Servoy (located in …\plugins\pdf_output).
Remove this to prevent conflicts if both plugins are installed…

in the iReport design you can also specify the font for pdf output. I would think there is something not quite correct in your design to cause the pdf output not to be the same as what you can see on the printer.

I noticed that win2pdf works fine when i set it’s advanced setting “resolution” to 1200 instead of 300.

Otherwise the created pdf fill’s only 25% of the a4 instead of 100%

Is there some setting in Jasper for the resolution or is this a win2pdf issue ??

Regards,

Hans

Hi,

Seems I solved both issues. Will have to check this with Leendert tomorrow though.

  1. using save as pdf :

Thomas Parry:
in the iReport design you can also specify the font for pdf output. I would think there is something not quite correct in your design to cause the pdf output not to be the same as what you can see on the printer.

When selecting the correct pdf output font it works fine !! as Thomas said.

  1. using Win2Pdf :

I upgraded to Win2Pdf 3.4 and also installed the free font-helper (option during install)
and it works fine now.

Thanks to Win2Pdf support !!

Regards,

Hans Nieuwenhuis