PrintPDF Method

PrintPDF Method

This method takes a PDF file stored on disc and prints it on selected printer.

PARAMETERS

Parameter Type Description
Filename String (Context Store Reference, Data Constant Reference) Path to the file, that should be printed. Either Filename or Data has to be specified. If specified both, only Data is used.
Printer String (Context Store Reference, Data Constant Reference) Name of the printer. If not specified, default printer will be used. IIS account usually doesn’t have access to the default printer information and it takes some effort to make it so (adjusting registry), thus it is recommended to specify the printer.
PaperSource String (Context Store Reference, Data Constant Reference) Numeric id of printer bin. If not specified, default printer bin will be used. Internally the service is using ghostscript to process the printing, so id has to be recognizable by ghostscript.
Copies Integer (Context Store Reference, Data Constant Reference) Number of copies to print.
Timeout Integer (Context Store Reference, Data Constant Reference) Timeout for the operation in milliseconds.