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 

How to output a PDF file?

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





PostPosted: Fri Mar 11, 2005 5:33 pm    Post subject: How to output a PDF file? Reply with quote




Hi,

Can someone please tell me how to output a PDF file?

I can print/preview the report by executing the following code:
---------------------
RvProject1.Execute;//set ProjectFile property to the .rav file
---------------------
But I don't have any clue to generate it to PDF instead.

Also, I would like to embed the Rave Project in the Executable. I do the same thing as I stated above, but just clear the ProjectFile property and load the .rav file in StoreRAV property. When I run the Delphi program, it doesn't work and give me error:
------------------------------
Error opening file Unit1.dfm
------------------------------
where Unit1.dfm is the form I place the RvProject1 components.

Thanks in advance for any suggestions,
Peter
Back to top
Lorne
Guest





PostPosted: Sat Mar 12, 2005 12:35 pm    Post subject: Re: How to output a PDF file? Reply with quote



drop the pdf render component (found on the rave tag of the Delphi component
palette) on to your form and then you can select pdf as one of the output
options from the print preview dialog.


"Peter Jones" <peter (AT) hotmail (DOT) com> wrote

Quote:

Hi,

Can someone please tell me how to output a PDF file?

I can print/preview the report by executing the following code:
---------------------
RvProject1.Execute;//set ProjectFile property to the .rav file
---------------------
But I don't have any clue to generate it to PDF instead.

Also, I would like to embed the Rave Project in the Executable. I do the
same thing as I stated above, but just clear the ProjectFile property and
load the .rav file in StoreRAV property. When I run the Delphi program, it
doesn't work and give me error:
------------------------------
Error opening file Unit1.dfm
------------------------------
where Unit1.dfm is the form I place the RvProject1 components.

Thanks in advance for any suggestions,
Peter



Back to top
mee
Guest





PostPosted: Thu Mar 17, 2005 3:29 pm    Post subject: Re: How to output a PDF file? Reply with quote



Lorne a écrit :
Quote:
drop the pdf render component (found on the rave tag of the Delphi component
palette) on to your form and then you can select pdf as one of the output
options from the print preview dialog.

Is there a way to have pdf output preselected in the print preview dialog ?


Back to top
Eldon Lewis
Guest





PostPosted: Tue Apr 12, 2005 10:03 pm    Post subject: Re: How to output a PDF file? Reply with quote

Quote:
Can someone please tell me how to output a PDF file?

http://www.nevrona.com/Default.aspx?tabid=87


Quote:
Also, I would like to embed the Rave Project in the Executable. I do the
same thing as I stated above, but just clear the ProjectFile property and
load the .rav file in StoreRAV property. When I run the Delphi program, it
doesn't work and give me error:
------------------------------
Error opening file Unit1.dfm
------------------------------

Right click on the form and uncheck the TextDFM property. That will solve
the problem for you. This has been fixed in later code so that you don't
have to have your dfm stored in binary format in order for it to work.

Eldon Lewis
Nevrona Designs



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.