Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print the file ?
Message
 
 
À
29/11/2000 15:51:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00445540
Message ID:
00447012
Vues:
16
>>>>Anyone know how to print the file (not doc file) programmatically or
>>>>call API ? I try to use ShellExecute "print" before, but the file must be
>>>>document file.The file i want to print is .log file.
>>>>Can i call windows print manager ? or call notepad to print ?
>>>
>>>Easiest is to just call NotePad with the /PRINT command line parameter.
I would have thought
SET CONSOLE OFF
>>LIST FILES LIKE c:\temp\*.log TO PRINTER   && or PROMPT
>>SET CONSOLE ON
was easier. Just my opinion.
>
>LIST FILES only gives the directory; it doesn't print the files.
Mental note to self: Next time the printer starts - go see what it printed!
censored.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform