BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RvRenderPDF

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (RaveReports)
View previous topic :: View next topic  
Author Message
D.Saripapazoglou
Guest





PostPosted: Thu Sep 15, 2005 10:14 am    Post subject: RvRenderPDF Reply with quote



How to set the encoding and charset in the component of RvRenderPDF?


Back to top
Nevrona Support
Guest





PostPosted: Thu Sep 15, 2005 11:15 pm    Post subject: Re: RvRenderPDF Reply with quote



Hi,

Please include your Rave version in EACH future message (check Rave Help About). It would help us provide a better answer.

Please look at http://www.nevrona.com/Default.aspx?tabid=178 for information about using and updating Rave. At this link, you will also find many references, articles and general information about using Rave. Be sure to look at the bottom part of that page as it applies to all Rave users.

Quote:
How to set the encoding and charset in the component of RvRenderPDF?

We need more information before we can provide an answer. Are you asking about FontEncoding or Encryption? We do not support encryption. As far as charset goes, that information is gathered from the fonts used in your report. Can you be more specific on what your problem is? Are you getting an error? Are you trying to use a MBCS or Unicode font? If so, there is a problem deep within the Win32 side of Delphi that limits what we can do in that area. Let us know and we can be more specific in our answer.

Technical Support
[email]support (AT) nevrona (DOT) com[/email]

Back to top
D.Saripapazoglou
Guest





PostPosted: Wed Sep 28, 2005 8:06 am    Post subject: Re: RvRenderPDF Reply with quote



Hello there!
Thank you very much for answering.I will try to be very specific.
I m using intraweb forms for my web application. For printing with rave
reports I put in my form
an RvSystem, an RvRenderPDF and a button. In the OnClick event of the
button I wrote the standard
code
with RvSystem1 do
begin
DefaultDest:= rdFile;
DoNativeOutput:= False;
RenderObject:= RvRenderPDF1;
OutputFileName:= 'Files/myreport.pdf';
SystemSetups:= RvSystem1.SystemSetups - [ssAllowSetup];
Execute;
end;

I added also code in the RvSystem1Print method.
with Sender as TBaseReport do
begin
Home;
Font.Name:='Arial';
Font.Charset:=161; <- this is for Greek Charset
SetColumns(6,0.5);
FontColor:=clRed;
......
.....
some declarations with the Print method
......
......
AddToInitProc('window.open("http://localhost:8888/Files/myreport.pdf")');

It prints perfect all english characters but the greek characters come out
with little boxes and totally corrupted.
I tried all FontEncodings. Nothing resolves the problem.
Thanks again.






"Nevrona Support"
Hi,

Please include your Rave version in EACH future message (check Rave Help
About). It would help us provide a better answer.

Please look at http://www.nevrona.com/Default.aspx?tabid=178 for information
about using and updating Rave. At this link, you will also find many
references, articles and general information about using Rave. Be sure to
look at the bottom part of that page as it applies to all Rave users.

Quote:
How to set the encoding and charset in the component of RvRenderPDF?

We need more information before we can provide an answer. Are you asking
about FontEncoding or Encryption? We do not support encryption. As far as
charset goes, that information is gathered from the fonts used in your
report. Can you be more specific on what your problem is? Are you getting an
error? Are you trying to use a MBCS or Unicode font? If so, there is a
problem deep within the Win32 side of Delphi that limits what we can do in
that area. Let us know and we can be more specific in our answer.

Technical Support
[email]support (AT) nevrona (DOT) com[/email]



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (RaveReports) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.