Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using shellexec to print from Adobe
Message
De
28/04/2006 21:11:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01117459
Message ID:
01117734
Vues:
20
Yuri Rubinov

I now can get it to chain print the pdf's, however an instance of acrobat reader comes up with a blank text window. Using 0 as the last parameter doesn't suppress showing the Acrobat screen.

Anyone know of a program that will allow me to stuff the pdfs into 1 large pdf and then print that one file?

Thanks
Gaylen




>Hi Gaylen,
>
>Probably you want to wait until one document is printed, and then start printing another document. If so, see whether Message #949414 is helpful.
>
>Also, you do not need to declare API functions again and again; declare them ones before scanning.
>
>Good Luck
>
>
>>I am trying to use shellexec to print from Adobe without opening Adobe. The names of the file are in a table. The code is as follows:
>>
>>
>>
>>SELECT filenames
>>
>>SCAN
>>lcfilename =  ALLTRIM(filenames.names)
>>
>>	 DECLARE Integer FindWindow In win32api String cnull, String cwinname
>>	 DECLARE Integer ShellExecute In shell32.Dll ;
>>	  integer nWinHandle, ;
>>	  string cOperation, ;
>>	  string cFilename, ;
>>	  string cParameters, ;
>>	  string cDirectory, ;
>>	  integer nShowWindow
>>	=ShellExecute(0, "print",lcfilename,"","",1)
>>
>>ENDSCAN
>>
>>
>>I can print the first pdf's and nothing else, and Adobe open and is shown on the screen. Is there any way I can suppress Adobe from showing and print all the files not just the first.
>>
>>Thanks
>>Gaylen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform