en de fr
Forum

VFP AND PDFCreator

5 replies [Last post]
tomcat29
Offline
Joined: 09/14/2009

I want to use PDFCreator with my Visual FoxPro reports but I don't know how.
Please tell me the VFP code to use PDFCreator.
How can I send a VFP report directly to PDFCreator printer for a given PDF file name and path?

Can you help me please ?
Thanks !

philip
philip's picture
Offline
DeveloperTranslator
Joined: 05/05/2006

Hello,

I have not had a look ad VFP for years, but if I recall it right, it also uses VBA as makro language. You can have a look at the other VBA samples (ie Word, Excel) to see how the code looks like. Basically, you have to set the current printer and print the report.

regards,
Philip

__________________

Philip
Team pdfforge

kamalam
Offline
Joined: 06/30/2010
__________________

kamalam

kamalam
Offline
Joined: 06/30/2010

Thess links also might be of help: 

http://www.foxite.com/archives/conversion-of-vfpreport-to-pdf-0000188406...

http://www.foxite.com/archives/conversion-of-vfpreport-to-pdf-0000188450...

The second does not involve PDFCreator, but it may provide a useful alternative.  I am about to start explorting it.

__________________

kamalam

kamalam
Offline
Joined: 06/30/2010
__________________

kamalam

rafrom
Offline
Joined: 01/27/2011

 Thanks a lot !

I works for me.

But there is a problem if want print multiple decuments.

I figured out something like this http://rafrom.rotmanka.pl/?p=339