Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement