Package com.ptc.wvs.common.ui
Class Printer
java.lang.Object
com.ptc.wvs.common.ui.Printer
- All Implemented Interfaces:
Serializable
Methods associated with the submission of data to be printed by WVS
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoPrint(String inputData, String ncReference, String name, String description, String containerRef, String actionString, int jobSource) Attempts to print in Creo.booleandoPrint(String inputData, NavigationCriteria navigationCriteria, String name, String description, String containerRef, String actionString, int jobSource) Attempts to print in Creo.
-
Constructor Details
-
Printer
public Printer()No-arg constructor for this class.
Supported API: true
-
-
Method Details
-
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 jobdescription- The description of the print jobcontainerRef- A common container reference among all printable items.actionString- Option String, see PrinterAction class, can be null if no optionsjobSource- The source that submitted the job, 0=unknown, 1=manual, 2=checkin, 3=schedule- Returns:
- boolean Indicates the success of the method.