Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Generating a PDF
PyroDirk
Hi,
i have a lot of list that work well is output goes to a viewer. When i specify __format=PDF in my URL then a PDF is created, but the font is getting very small and the whole report is compressed and it is very hard to read. If i add the __fittopage=false parameter the font is ok, but not all of my data is beeing on the report. A lot of data is missing.
How can i archieve that the PDF reports loooks like the same as the viewer report ? I want to see all of my data in the font i specified in my report. Nothing should be compressed.
The same behaviour can be seen if i print from the vieer to a PDF.
You may have all data in a compressed form or a good font size but data missing
.
I also recognized that the viewer is not working with firefox 3.0. Is it a Birt bug or a mozilla bug ?
Regards
Dirk
Find more posts tagged with
Comments
mwilliams
Hi Dirk,
Does it work correctly when you choose "view report in PDF" from the designer? Or is it messing up every time you try to display in PDF?
What version of BIRT are you using?
PyroDirk
Hi Michael,<br />
<br />
today i updated my designer and the runtime version to 2.3.<br />
<br />
In the designer the PDF Creation works fine, but not in the production (runtime) area. Some pages of data are missing there . The data drivers are ok.<br />
<br />
I generated the PDF document with an URL. Maybe i am missing some settings, but i cannot find any parameter . At the moment i am doinng the following request:<br />
<br />
<a class='bbc_url' href='
http://myserverip:8080/birt-viewer/frameset?__report=Dateibeschreibung_Para.rptdesign&__format=pdf&__locale=DE&Land=99&&R_Dateiname=KUNDENSTAMM'>http://myserverip:8080/birt-viewer/frameset?__report=Dateibeschreibung_Para.rptdesign&__format=pdf&__locale=DE&Land=99&&R_Dateiname=KUNDENSTAMM</a><br
/>
<br />
I tryed __fittopage with true and false but with no succsess.<br />
<br />
Regards<br />
Dirk
mwilliams
So you have deployed and are using the birt-viewer I see. I'm currently in the process of downloading the BIRT 2.3 runtime. Once I get it set up and deploy the 2.3 viewer, I'll try to see if I can figure out what needs to be done to use the __fittopage function.
mwilliams
I've deployed the birt-viewer to tomcat and ran a report design that in full view would not fit on a page. When I typed in the standard URL, all of the columns were not present. When I put the &__fittopage=true or false statement in, it didn't seem to matter which one (t or f), I saw all of the columns.
What are you getting when you put in the &__fittopage=true statement in the URL?
PyroDirk
Hi Michael,
after trying some other reports i recognized that the tomcat crashed very often with the birt runtime 2.3.
So i installed tomcat from scratch, spend the java vm more memory , installed the the birt-viewer 2.3 again and now the report is running correct.
Very strange, but the report is now ok again,
Thank you very much for your support.
Regards
Dirk