Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print the file ?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00445540
Message ID:
00447012
Views:
10
>>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform