Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I have designed a doc file with some bookmarks. Then i fill data into these bookmarks which data was got from database. I sure all data appear position correctly, now i want to print doc file but don't need open.
Pls help me!
Posted

1 solution

How do you mean? After you placed the data at the bookmarks you could just call print on the WordDocument instance (assuming you use com interop). Technically you already opened the document when you started working on it.

Good luck!
 
Share this answer
 
Comments
Espen Harlinn 24-Jun-12 11:49am    
That sounds about right :-D
Nguyễn Minh Phúc 24-Jun-12 12:07pm    
Thanks, i've solved!
Maciej Los 24-Jun-12 18:20pm    
Good answer, my 5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900