PdfPrintV2

Description

this activity performs a print of a pdf file


Input file

File InArgument<IFileValue> REQUIRED

The input pdf file.


Print Range

FromPage InArgument<Int32>

The page number of the first page to print.

PageNumbers InArgument<List<Int32>>

Specifies the PDF document page numbers to be printed.

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.

PrintInGrayscale InArgument<Boolean>

Set this argument to true to print the document in grayscale. Defaults to false.


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.


Settings - Page Orientation

PageOrientation PdfPrintPageOrientation?

Set the document orientation mode

PageOrientationDyn InArgument<PdfPrintPageOrientation>

Dinamically sets the document orientation mode


Settings - Scale

Scale InArgument<Float>

Specifies the percentage scale factor of the document page to be printed. It must be a number between 0 and 1. Set ScaleMode to CustomScale to use this argument.

ScaleMode PdfPrintScaleMode?

Sets the document scale mode

Dinamically sets the document scale mode