Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print rtf documents
Message
De
20/12/2003 13:19:50
 
 
À
20/12/2003 05:12:20
Joseph Mathai
Keyword-Tec Services
Bangalore, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00860950
Message ID:
00861007
Vues:
25
>hi,
>
>Can I print the RTF document in the samples section using the vfp report writer or is there any other menthod?
>
>thanks and regards
>
>Joseph

declare LONG ShellExecute in shell32 LONG i1, String @ i2, String @ i3, String @ i4, String @ i5, long i5

if 32>=ShellExecute(0,"printto",lcFullPathTheFile ToPrint, '"'+lcPrinterName+'"' ,"c:\",0)
* error
else
* OK
endif

Comment: lcPrinterName may come form aPrinters() command.

Comment #2: this works only if an rtf aware program is installed on the machine, but you can install the free MS Word Viewer program.


bb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform