Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing PDF files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00780108
Message ID:
00781271
Vues:
14
Hi Mike,

If you bracket your code within < PRE > and < /PRE > (both minus spaces) your code will retain its format and be easier to cut/paste and read.


>Declare Integer ShellExecute In SHELL32.Dll ;
> INTEGER handle,;
> STRING @sFile,;
> STRING @lp,;
> STRING @Dir,;
> STRING @dir1,;
> INTEGER ncmd
>Local lnRetval, lcFile, lcOperation
>lcOperation = "Print"
>Cd C:\
>nPDFCount = Adir(myPDFFiles, '*.PDF') && Create array
>For i = 1 To nPDFCount
> If !Empty(myPDFFiles[i,1])
> lcFile = myPDFFiles[i,1]
> lnRetval = ShellExecute(0, lcOperation, lcFile, "", "", 1)
> Endif
>Endfor
>
>
>>I have a customer who regularly receives hundreds of PDF files and needs to print them in a certain order, hopefully in an existing VFP application. Does anyone know how to do this?
>>
>>Thanks for your help!
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform