Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to programm print Html Documnet?
Message
 
To
29/05/2003 23:46:18
F Bilo
Bilo Office
Fuyang, China
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00793889
Message ID:
00794457
Views:
9
To check why RUN does not work, go to DOS window (run command) and type /print yourfile/ (it is a regular DOS command that may not work for network printers).
Shellexec returns Value 42 for me if file is not found or there are some problems with printer/page setup for particular file. Check whether you need to include the file full path. Also this should bring the print dialog:

? ShellExecute(0,"PRINT", yourfile,"","",0)

Can you print from it?



>unfortunately, both your way wasn't work all.The first, push up a Dos window then hang up,the second, just display a lot of "42" in foxpro's screen without print a single page.Damn.:(
Previous
Reply
Map
View

Click here to load this message in the networking platform