Running the PLMPrintBatch

You can use the PLMPrintBatch to print objects without running the software. These objects can be 3DEXPERIENCE or V5 files (for example, .CATProduct or .CATPart documents), raster files (such as bmp or tiff), and vector files (CGM, HPGL, HPGL2).

This task shows you how to:


Before you begin:
  • Provided that you have the appropriate graphics board, the rendering style (for example, Shading or Shading with Edges) can be taken into account when printing in batch mode.
  • All product representations are loaded and processed by the PLMPrintBatch. The loaded representations are identical to those loaded when running Open, which means that you cannot select the representations that the batch processes.
  • The 3DXML format is not supported.

Open the Batch Interface from the Command Line

You can open the PLMPrintBatch interface from the command line.

  1. Open a command prompt.
  2. Open the following folder: C:\Program Files\Dassault Systemes\B429 \OS_a\code\bin.
  3. Enter the command CATUTIL -Name PLMPrintBatch.

Open the Batch Interface from the Batch Monitor

You can open the print batch interface using the Batch Monitor in a session. In that case, additional options are available to you.

  1. Open the Batch Monitor interface either from the command line, or from a session.
  2. In the Batch Monitor dialog box, double-click PLMPrintBatch from the list.

Define the Batch Parameters

Before running the PLMPrintBatch, you must define the parameters to apply.

The printing parameters that you define globally apply to all the objects. You cannot modify these parameters for each object individually.

Before you begin: For more information about how to select objects, and how to specify the report parameters, see Defining Common Batch Parameters
  1. In the Printers area, click Properties... to set up the printing parameters.

    Notes:
    • The look of the dialog box changes according to the driver.
    • If the driver is provided by Dassault Systèmes, the Printer Properties dialog box displays.

  2. Click Default Printing Parameters to define the default parameters for all printed documents.

    Important: In case of several prints, the Fit in page option might lead to different scales. Therefore, the Scale box is hidden because it is not relevant.

  3. In the Printing Parameters dialog box, click Layout to define the page orientation, the image size, and the position.

    Notes: When the Use image format option is selected:
    • For documents other than .CATDrawing or .model documents, the printer's default paper format is displayed in the Form Name box.
    • For .CATDrawing or .model documents, User is displayed in the Form Name box (with a warning for the dimensions) if the format is not supported by the printer. Otherwise, the appropriate format with the corresponding dimensions is displayed.
    • For documents other than a V5 or 3DEXPERIENCE document, the printer's default paper format is displayed in the Form Name box.
    • If you are in the default printing parameters, the printer's default paper format is always displayed in the Form Name box because no document is associated with these parameters.

  4. Click Rendering, and then define the appropriate options.
    OptionDescription
    Rendering mode Specifies the visualization mode for printing.
    Drafting standard filter Specifies the filter to use in the CATDftStdLayersAndFilters.xml file.

    This option is relevant for .CATDrawing documents only.

  5. Optional: If you are printing drawing representations, click MultiDocuments to define sheet options.

    For more information, see Print Objects with Multiple Sheets

  6. Click OK to close the Printing Parameters dialog box.
  7. In the PLMPrintBatch dialog box, click Save, and then browse your file tree to save your XML file in the required location.

    Important: Running a batch printing through PrintBatch automatically generates a file named "PrintBatchParameters.xml" saved in a temporary folder by default. You can edit the generated XML file manually, and use it on to run the batch directly without accessing the batch interface.

  8. Click Run.
    The selected documents are printed.
  9. In the Batch Monitor, click Start.
    The name and location of the XML file containing the batch parameters you defined in the previous steps are now displayed. If you run the batch in remote mode, the name of the host computer is also displayed.
  10. Click Processes, and then double-click a batch from the list.
    Information on the batch execution is displayed. See Running a Batch Directly for more information about this tab.
  11. In the Batch Monitor, select File > Exit.

    Tip: When the batch has been run at least once, an XML file containing the batch parameters is generated. You can reuse these parameters next time you access the PLMPrintBatch by right-clicking it then selecting Read input from parameter file.... This opens a file selection dialog box that lets you navigate to the XML file of your choice. When finished, click OK. The batch dialog box is updated and displays the contents of the parameter file.

  12. To read the reports generated by the batch execution, open the c:\temp\batchID folder.

Edit the XML File

You can define your print parameters directly in the XML file. You can use this parameter file later on to run the batch from the Batch Monitor capability, or from the command line.

  1. Open the "PrintBatchParameters.xml" file using your favorite text editor.
  2. To modify the name of the printer, indicate the new printer name in the <PRINT_OUTPUT_PRINTER> parameter.
  3. Optional: If you are printing drawing representations, you can edit the sheet name and number in <PRINT_VISU_IMAGE_NAME> and <PRINT_VISU_IMAGE_NUM> respectively.
  4. Save your XML file.