Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Merge PDFs
Message
De
22/09/2006 12:00:01
 
 
À
22/09/2006 11:07:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01156192
Message ID:
01156506
Vues:
19
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform