Function ProPrintExecute
Description
Print a window using the specified options
The mdl in the window must match the mdl in mdl_options.
All the options should be first initialized by the apropriate ProPrintInit functions above.
The filename must contain the full path or be the name of a file in plot_dir or current directory. If file already exists there, it will be overwritten.
The mdl in the the mdl_options should be the object loaded to the window to be printed. The window can be a non-graphics window.
This function generates a wireframe plot of the object in either vector or raster format.
The correct ProPrintExecute printer_type is defined by the plotter value on the first line of the plotter configuration file. This file is available in the /text/plot_config folder. For the list of supported printers, please refer to the list in "Add Printer" in Creo Parametric's print dialog.
Synopsis
| ProPrintExecute |
| ( int window_id /* (In) The handle to the Creo Parametric window */ /* (In) The printer options */ /* (In) The model options */ /* (In) The placement options */ ) |
Returns
| Window printed successfully |
| One or more arguments is bad |
| Print is not available in Design Test mode |
| Incomplete input data |
| Problem during data conversion |
| Wrong file name |
| No write access for target file |
User Guide References