PublishPrinterResource.java

Use this sample to define a printer resource in EPM Workspace. You can use this sample in two ways, as shown in the input parameters section. The sample control file, printer.cf, is included in the folder with the source program.

Input parameters:

Option I: user pwd host port name=myPrinter1 pname="HP LaserJet"
Option II: user pwd host port control_file

Output:

Named event is created in EPM Workspace.