Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print the file ?
Message
From
29/11/2000 15:51:12
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00445540
Message ID:
00447004
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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform