Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute & PrintTo
Message
From
28/10/2005 10:54:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
ShellExecute & PrintTo
Miscellaneous
Thread ID:
01062979
Message ID:
01062979
Views:
60
I'm trying to get ShellExecute to print to a specific. My code is
lc_filt = GETFILE('doc')
 =ShellExecute(0, "Printto", @lc_file, SET('PRINTER', 3), GETENV('TMP'), 5)
But depending on the printer that was selected Word returns "Run-time error '1120'. There is a printer error."

Anybody have success with the printto in shellexecute?
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Next
Reply
Map
View

Click here to load this message in the networking platform