Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Existing PDF
Message
From
22/10/2003 11:29:42
 
 
To
21/10/2003 03:33:02
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00840559
Message ID:
00841085
Views:
22
>Hi All,
>
>We have a requirement from a client to produce a report from VFP6 that prints details from a DBF and also to print product specification details that are held in a separate pdf file for each product.
>
>1. Is it possible to combine the PDF contents into a VFP report by storing the PDF in a general field in the DBF and pinting the general field? I played around with this and couldn't get this to work though I could with a Word document.
>
>2. How can I print a PDF file from within VFP? Shellexcute(..)???
>
>
>3. Are there any third party tools that would allow me to create the VFP report as a PDF, append the existing specifications PDF to the PDF I created, and then print the combined PDF?
>
>I have looked at MindsEye and XFRX both of which allow me to create a PDF but I could not see how to append an existing PDF.
>
>Any suggestions or advice most gratefully received,
>
>Andy

To print the PDF file, Martin Salias just gave me this solution on Friday, it works perfectly (thanks Martin)

declare integer ShellExecute in "Shell32.dll" ;
integer hwnd, string lpVerb, string lpFile, string lpParameters, ;
string lpDirectory, long nShowCmd

=ShellExecute(0,'Print','insert your pdf name here','','',0)
Mark Johns
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform