WordPrint

Description

Prints a Word document.


Input file

File InArgument<IFileValue> REQUIRED

The name of the file to print


Print Range

FromPage InArgument<Int32>

The page number of the first page to print.

ToPage InArgument<Int32>

The page number of the last page to print.


Printer

PrinterName InArgument<String>

The name of the printer that docsmarshal should use to print. ("Microsoft Print to PDF" when printing to a file)

The printer must be visible from the machine running the ProcessWorker.

PrintFileName InArgument<String>

The name of the destination file when printing to a file. (if you want to pirnt to a file set the PrinterName to "Microsoft Print to PDF")

UseDefaultPrinter InArgument<Boolean>

Set this argument to TRUE to tell DocsMarshal to use the default printer.


Settings

Collate InArgument<Boolean>

Set to TRUE to collate multiple copies of the same document (use this argument only if the number of Copies is more than 1.

This argument sets the order in which the pages of different copies are printed: in case it is TRUE the pages are collated and therefore the order is, for example, "1,2,3 - 1,2,3 - 1,2,3"; if instead it is FALSE, the pages are not collated and the print order will be "1,1,1 - 2,2,2 - 3,3,3"

Copies InArgument<Int16>

The number of pages to print. Defaults to 1.


Settings - Duplex

Duplex Duplex?

Sets the duplex mode (simplex, right duplex and left duplex). If it is left null DocsMarshal will use the default settings of the selected printer.

DuplexDyn InArgument<Duplex>

Dinamically sets the duplex mode (simplex, right duplex and left duplex). If it is left null DocsMarshal will use the default settings of the selected printer.