Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Merge PDFs
Message
From
22/09/2006 12:00:01
 
 
To
22/09/2006 11:07:30
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01156192
Message ID:
01156506
Views:
18
I found the code for the Print2PDF mods on Webconnect http://www.west-wind.com/wwthreads/Message0V60EFH4N.wwt


The following change to GSConvertFile allows you to concatenate multiple Postscript files into 1 output file by passing an array of Postscript filenames to the function. This useful for returning multiple reports, or a static postscript file included with a dynamically generated report.

If Type('tcFileIn(1)') = 'U'
* string passed, assume 1 file
laArgs[11] = tcFileIn
Else
* multiple file names passed in array
* redimension array for additional filenames
Dimension laArgs(10 + Alen(tcFileIn))
For i = 1 To Alen(tcFileIn)
laArgs[10 + i] = tcFileIn(i)
Next i
Endif

You will need to use Print2PDF_142.zip since this version uses the DLL. It may work with the other version also, but I suspect calling the dll will be faster that shellexecute.
Previous
Reply
Map
View

Click here to load this message in the networking platform