|
PrintProcess |
|
|
PrintProcess element is used to print the PDF or PostScript documents to the printers connected to server or local printers. Important Note: When ClientPrintCommand or ClientPrintExecutionDef element is used in a process form, this element should be in the process list and its "Print To" property should be set to "2. Client Printer".
Properties Input Type (Accepts MScript) The type of a input document can be either "1. PDF" or "2. PostScript". Input File Name (Accepts MScript) The name of the PDF or PostScript input file name. It can be the name of a permanent file or a pool variable or a process field name that stores the name of the temporary file created by one of the preceding processes. Examples:
Print To (Accepts MScript) Select "1. Server Printer" if the target printer is defined on the server computer where the web application runs and "2. Client Printer" if the target printer is defined on the Local computer where the requesting browser runs. Printer Id (Accepts MScript) The Id of the server or local printer. Value "-1" means the default printer and "-2" means Printer Selection Dialog. Printing Request Attributes Copies (Accepts MScript) The number of the copies to print. Job Name (Accepts MScript) The Job name to display on the print queue. If it is left blank the document name is used instead. Requesting User Name (Accepts MScript) The user name to display on the print queue. Sides (Accepts MScript) Defines how the document is printed on paper. The choices are "1. One Sided", "2. Two Sided Long Edge" and "3. Two Sided Short Edge". Media Size (Accepts MScript) The paper standard to use. e.g. A4,B5,LEGAL,etc. Orientation (Accepts MScript) Printing orientation. Choose one of "1. Landscape", "2. Portrait", "3. Reverse Landscape", "4. Reverse Portrait". Page Ranges (Accepts MScript) Defines which pages of the document to be printed. If left blank all the pages are printed. Sheets Collate (Accepts MScript) If the value of Copies property is greater than 1 then this property defines how to group the printed sheets in the output tray. Assume that a document with 3 sheets are printed as 2 copies. |