Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute - Print PDF - Specify Copies
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01365150
Message ID:
01365152
Views:
23
>I'm writing a document printing system that prints documents in PDF form using ShellExecute (From Message 130310) . I need to be able to specify the number of copies to print. I could do a FOR loop, but that creates one job per copy and I was hoping to to specify the copies and print. I've also looked at doing Acrobat Automation, and from what I can tell you can't print via automation at all. Is there a way to set copies via ShellExecute?

May be you can adjust Printer Job directly using WMI? Not sure, if this is possible, though.

Check this Enumerating Jobs in Print Queue as a starting point.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform