Class Printer

java.lang.Object
com.ptc.wvs.common.ui.Printer
All Implemented Interfaces:
Serializable

public class Printer extends Object implements Serializable
Methods associated with the submission of data to be printed by WVS

Supported API: true

Extendable: false
See Also:
  • Constructor Details

    • Printer

      public Printer()
      No-arg constructor for this class.

      Supported API: true
  • Method Details

    • doPrint

      public boolean doPrint(String inputData, NavigationCriteria navigationCriteria, String name, String description, String containerRef, String actionString, int jobSource)
      Attempts to print in Creo. The objects to be printed are specified via an XML fragment specified as a String.

      Supported API: true
      Parameters:
      inputData - XML string containing data to be printed.
      configSpec - The EPM Navigation Criteria to be used during the product structure tree walk.
      name - The name of the print job
      description - The description of the print job
      containerRef - A common container reference among all printable items.
      actionString - Option String, see PrinterAction class, can be null if no options
      jobSource - The source that submitted the job, 0=unknown, 1=manual, 2=checkin, 3=schedule
      Returns:
      boolean Indicates the success of the method.
    • doPrint

      public boolean doPrint(String inputData, String ncReference, String name, String description, String containerRef, String actionString, int jobSource)
      Attempts to print in Creo. The objects to be printed are specified via an XML fragment specified as a String.

      Supported API: true
      Parameters:
      inputData - XML string containing data to be printed.
      ncReference - A reference to an EPM Config Spec or Navigation Criteria to be used during the product structure tree walk.
      name - The name of the print job
      description - The description of the print job
      containerRef - A common container reference among all printable items.
      actionString - Option String, see PrinterAction class, can be null if no options
      jobSource - The source that submitted the job, 0=unknown, 1=manual, 2=checkin, 3=schedule
      Returns:
      boolean Indicates the success of the method.