This method takes a PDF file stored on a disk and prints it on a selected printer.
PARAMETERS
Parameter | Type | Description |
---|---|---|
Filename | String (Context Store Reference, Data Constant Reference) | Path to the file, that should be printed. Either the Filename or Data has to be specified. If specified, only Data is used. |
Printer | String (Context Store Reference, Data Constant Reference) | Name of the printer. If not specified, the 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 the 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, the default printer bin will be used. Internally the service uses Ghostscript to process the printing, so the 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. |