On Fri, Jul 30, 2010 at 8:00 AM, Tina Currie <[email protected]> wrote:
> Hi,
>
>
>
> I need to send an frx straight to a pdf - would rather not go through the
> choose a printer - and have a PDF Printer installed etc.

Have a look at Luis Guillermo Navas Dangel's PDFx PDF Report Listener
<http://weblogs.foxite.com/luisnavas/default.aspx>. It's free and
super easy:

>   To use it, just follow these simple steps:
>
>       1. Include PDFx.VCX in your project.
>       2. Include Dummy.Prg in your project and marked as excluded.
>       3. Copy System.APP (GDIPLUSX library) to the project folder
>       4. Copy libhpdf.dll to your Project folder.

I just added it to a project of mine and only had to use the following
VFP lines:

Local loRptLsnr As PdfListener of lib\PDFx, lcPDFFile
*
* Do some data stuff here, and populate lcPDFFile with the file name
*
loRptLsnr = NewObject('PdfListener', 'PDFx.vcx')
loRptLsnr.cTargetFileName = lcPDFFile
loRptLsnr.lOpenViewer = .T. && Optional, opens PDF after creation
Report Form reports\toc_page To Printer Prompt Object loRptLsnr


> Are there any neat little programs out there that work with VFP 9 on Win 7

Works for me on XP and VFP 9.

HTH
dt
--
Dave Thayer
Denver, CO

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to