Page 1 of 1

Request image2pdf/go to of rpreview.prg

PostPosted: Mon Nov 30, 2009 5:03 am
by kkyung
Hi, everybody,

According to my client requirement, they need 2 more options on rpreivew.prg

- one key to pdf preview for email purpose
- go to particular page # (it is very useful if the reports has few hundred pages)

I have read from previous posts some FWH user using image2pdf on preview or "go to page #" function

Can someone share experience or examples for me.

Thanks a lot

my email is kkyung@autonet.com.hk

Re: Request image2pdf/go to of rpreview.prg

PostPosted: Mon Nov 30, 2009 12:55 pm
by Otto
Hello Kkyung,

You could try FastReport.

This topic shows how to use the “Outline feature”.

viewtopic.php?f=3&t=17499#p91098

To send emails is a standard option in FastReport.

Best regards,
Otto

Re: Request image2pdf/go to of rpreview.prg

PostPosted: Mon Nov 30, 2009 2:53 pm
by Richard Chidiak
Kkyung,

IMAGE2PDF is an excellent add on to email a previewed report

I have sent to your email a copy of rpreview modified so you can see the changes and a screen hard copy of the preview

I have been using it for several years now, it works great

HTH

Richard

Re: Request image2pdf/go to of rpreview.prg

PostPosted: Tue Dec 01, 2009 1:57 am
by kkyung
Dear Richard

I have got your email, I will review it later on,

thank you !!

kkyung

Re: Request image2pdf/go to of rpreview.prg

PostPosted: Tue Dec 01, 2009 3:48 am
by nageswaragunupudi
It is now possible to add additional buttons and additional functionality to RPreview, without modifying and recompiling RPreview.prg.

We can place this code at any place in our program before using RPreivew or preferably at the beginning of the program
Code: Select all  Expand view
  RPrevUserBtns( { |oPreview, oBar| ReportExtend( oPreview, oBar ) } )
 

and the function ReportExtend:
Code: Select all  Expand view
function ReportExtend( oPreview, oBar )

   DEFINE BUTTON OF oBar ;
      RESOURCE 'SAVE' ;  // from our resource or bitmap file
      TOOLTIP 'Save To PDF' ;
      ACTION Preview2PDF( oPreview )

   DEFINE BUTTON OF oBar ;
      RESOURCE 'MAIL' ; // from our resource or bitmap file
      TOOLTIP 'Mail PDF as Attachment ' ;
      ACTION Preview2Mail( oPreview )

return nil
 

Now these two buttons appear in the RPreview as if it is a part of the Preview. There is no need to alter RPreview program and recompile

Re: Request image2pdf/go to of rpreview.prg

PostPosted: Tue Dec 01, 2009 4:15 am
by anserkk
Dear Mr.Rao,

It is now possible to add additional buttons and additional functionality to RPreview, without modifying and recompiling RPreview.prg.


That is a great information.

Regards
Anser

Re: Request image2pdf/go to of rpreview.prg

PostPosted: Tue Dec 01, 2009 4:22 am
by kkyung
I have checked that is the new features of FWH 9.05