public void PrintOut()
{
object missing = System.Reflection.Missing.Value;
///设置为 True 可允许在 Word 打印文档时继续处理。
object BackGroudColor=true;
///与 OutputFileName 参数一起使用。设置为 True 可将指定的文档名称追加到由 OutputFileName 参数指定的文件名后。
///设置为 False 将重写 OutputFileName 的内容。
object Append=false;
///页面范围。可以为任何 WdPrintOutRange 枚举:wdPrintAllDocument、wdPrintCurrentPage、
///wdPrintFromTo、wdPrintRangeOfPages 或 wdPrintSelection。
object Range=Word.WdPrintOutRange.wdPrintAllDocument;
///如果 PrintToFile 为 True,此参数指定输出文件的路径和文件名。
object OutPutFileName=missing;
///Range 设置为 wdPrintFromTo 时的起始页码。
object From=missing;
///Range 设置为 wdPrintFromTo 时的结束页码。
object To=missing;
///要打印的项。可以是任何 WdPrintOutItem 枚举:wdPrintAutoTextEntries、wdPrintComments、
///wdPrintDocumentContent、wdPrintKeyAssignments、wdPrintProperties、wdPrintStyles。
object Item= Word.WdPrintOutItem.wdPrintDocumentContent;
///要打印的份数。
object Copies="1";
///要打印的页码和页码范围,由逗号分隔。例如,“2, 6-10”意为打印第 2 页和第 6、7、8、9、10 页。
object Pages="";
///要打印的页面的类型。可以是任何 WdPrintOutPages 常量:wdPrintAllPages、wdPrintEvenPagesOnly、wdPrintOddPagesOnly。
object PageType= Word.WdPrintOutPages.wdPrintAllPages;
///设置为 True 可将打印机指令发送到文档。确保使用 OutputFileName 指定一个文件名。
object PrintToFile=false;
///打印一个文档的多个副本时使用此参数。设置为 True 则在打印下一个副本前将打印此文档的所有页面。
object Collate=true;
object ActivePrinterMacGX=missing;//
///设置为 True 可在打印机上没有双面打印装置的情况下打印双面文档。
object ManualDuplexPrint=false;
object PrintZoomColumn=missing;
object PrintZoomRow=missing;
object PrintZoomPaperWidth=missing;
object PrintZoomPaperHeight=missing;
wd.ActiveWindow.Document.PrintOut (ref BackGroudColor,ref Append,ref Range,ref OutPutFileName,ref From,ref To,
ref Item,ref Copies,ref Pages,ref PageType, ref PrintToFile,ref Collate,
ref ActivePrinterMacGX,ref ManualDuplexPrint,ref PrintZoomColumn,ref PrintZoomRow,ref PrintZoomPaperWidth,ref PrintZoomPaperHeight) ;
}