Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Targeted Printing with ShellExecute()

Status
Not open for further replies.

Apata

Programmer
Apr 5, 2006
52
US
Is there a way to print only one page or selected pages out of a multi-page document using ShellExecute()?
 

No. ShellExecute() doesn't know anything about the type of document you are printing or the application that's printing it.

If you want to print a Word (or RTF) document, you'd be better off using Automation. For other document types, the answer depends on the nature of the application in question.

Of course, for ordinary text files, you can print directly from within VFP.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top