Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create pdf file by using visual Foxpro
Message
From
13/11/2001 08:17:43
 
 
To
13/11/2001 05:16:01
Andrea Ko
Shimano (S) Pte Ltd
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00580777
Message ID:
00580813
Views:
33
Andrea,
set printer to name "Acrobat PDFWriter"
set safety off  && you may not want to do this
report form myReport to file "pdfTest." noconsole
There will be an empty file by the name of pdfTest. the needs to be deleted. The actual output file will be pdfTest.pdf (in this example)

Also, in the registry, there is a key called 'bExecViewer' that determines whether the reader openes the file after it is created (set it to 1 to preview the file, 0 prevents opening). Search for bExecViewer in the registry...

Another method is below. I've never used this method, but it should provide more control. Also, it should be less expensive if you need this for several machines (using the Acrobat Writer you have to purchase a license for every machine it is installed).

http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,33,Forum=5,29,658

HTH,


>Currently, my user need the output to send\save as .pdf format!
>
>This can be done by installing the "Acrobat pdfWriter" as default printer,
>and write the following command :
>
>repo form user_file TO PRINT NOCONSOLE
>
>But, above method need us manually to key in the file name.
>
>My question is what should i do if i dun wanna user to key in manually the file name for the pdf?? What command i should use to auto generate the pdf file??
>Pls advice!!
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform