Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print a text file?
Message
General information
Forum:
Windows
Category:
Computing in general
Miscellaneous
Thread ID:
01226455
Message ID:
01227429
Views:
25
It's on an XP machine - so we're going to give this a try....

>What Windows version are you running under? If it's Win2K or later, try to change batch file extension to .CMD or run explicitly under NT command processor
>cmd.exe /C printtext.bat
>
>>I recently wrote a tiny VFP app that does nothing other than send a text file to the windows default printer. Seemed simple enough - I wrote something that appeared to work....but
>>When I run it from a DOS command it works fine.
>>When I put it the DOS command in a .bat file it works fine.
>>When a 16bit (DOS) C++ program calls the .bat file - I don't get an error but it doesn't print the file either. I'm totaly lost on this - it should be such a simple thing. Does anyone have any ideas? I'm open to pretty much anything as time has become a major issue right now.
ICQ 10556 (ya), 254117
Previous
Reply
Map
View

Click here to load this message in the networking platform