|
JasperPrintProcess |
|
|
JasperPrintProcess is used to render JRPRINT documents that were created by JasperFillProcess to the printers or to the PRN files. The PRN files created can later be used as inputs by PrintProcess. Important: This process is necessary in case the target printer is not Postscript enabled. If that target printer is Postscript enabled then you can simply use JasperProcess and PrintProcess in order.
Parametreler Fill Id (Accepts MScript) The Id of the report file filled with JasperFillProcess. Printer Id (Accepts MScript) The Id of the server or local printer. Value "-1" means the default printer and "-2" means Printer Selection Dialog. Output File Name (Accepts MScript) If a PRN file needs to be created instead of printing to a printer a file name must be specified in this property. It can be the name of either a permanent or a temporary file. Note that the temporary files are created under {WEB_APPLICATION_ROOT}/WEB-INF/MM-INF/~tempfiles directory and the names of the files are stored in pool variables or in process record fields. MoreMotion constantly scans the temporary files under this folder and deletes the expired files. Examples:
If the target printer is connected to the client computer and that printer is not Postscript enabled the PRN file generated with this process can be given to a following PrintProcess as input. Important! The printer driver of the client printer must also be installed on the server computer simply because the PRN file is generated by this driver. 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. Chromaticity (Accepts MScript) Defines if the printout be colored or black & white.
|