Leemi
Wed Aug 06 10:54:05 CDT 2003
Hi Thomas:
You did not indicate the version of Word you are using. However, I think
this article get you started. Look at the FilePrint method of the Word
object. This method has a NumCopies parameter. The PrintOut method has a
Copies parameter. For more information on these methods, see this article:
176069 HOWTO: Print a Range of Pages in Word Using OLE Automation
http://support.microsoft.com/?id=176069
I am not sure how to suppress the Print dialog, but I think you can do this
using the Word object model. For more information on the object model of
all Office products, see this article:
222101 HOWTO: Find and Use Office Object Model Documentation
http://support.microsoft.com/?id=222101
This posting is provided "AS IS" with no warranties, and confers no rights.
I hope this helps.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retires June 30th, 2003
- VFP6 Mainstream Support retires Sept. 30th, 2003
>Hi,
>from within my foxpro program i open a word doc, i put my data in it, and
>then i want to print it, but without the print dialog. Because the word app
>stays invisible all the time. I don't want the user to have to choose the
>printer etc... because there are about 300 documents that need to be
>printed, so they won't be happy if they have to click that OK button 300
>times
>allso, how can i make that every doc is printed more than one time?
>Regards & thx in advance,
>Thomas