i use Rp3 and bought the for Rp3 sourcecode lately. I´m shure it´s different to Rp2 but the PDF-component will surely be the same. You should have to buy that PDF-component too, to change things. But fortunatly then you could use the actual version of this component. You then will be able to change the compression rate of the PDF´s. I´m not sure how much this effects the size in you case, but i see this as an option to solve you problem.
Bernhard,
I think the size is due to embedded fonts.
You might want to exclude certain fonts, such as Arial by adding a section to RpWin.ini:
[PDFDoNotEmbed]
Arial=
Arial Bold=
Arial Bold Italic=
Arial Italic=
Times New Roman=
Times New Roman Bold=
Times New Roman Bold Italic=
Times New Roman Italic=
Courier New=
Courier New Bold=
Courier New Bold Italic=
Courier New Italic=
WingDings=
XSharp Development Team
The Netherlands
robert@xsharp.eu
Thanks for your answer; I forgot to mention that without the (47 KB) QR image the size of the PDF is 8 KB, so the fonts are not the problem (I am aware of fonts + RpWin.ini).
Any other ideas? I could provide a sample application demonstrating the problem.
I already have the ReportPro 2.x .NET source code since 2010 and though I've succeeded in adding some features I do not have the neccessary knowledge to alter the PDF creation on that level.
The problem was that the "Compress" option on the PDF Options dialog was not selected...
With that option selected the file shrunk to 21 Kb.
The QR code is actually just a whole lot of 0x00 and 0xFF characters and can be compressed very well.
The 45 Kb PNG file is lossless compressed ~17Kb in the PDF.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu