com.esri.arcgis.output
Class IPrinterProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.output.IPrinterProxy
All Implemented Interfaces:
IPrinter, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IPrinter'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriOutput.olb'

Description: 'Provides access to members that control the Printer Driver.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

public class IPrinterProxy
extends com.esri.arcgis.interop.Dispatch
implements IPrinter, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.output.IPrinter
IID, IID2ab49820_9406_11d0_87ef_080009ec732a
 
Constructor Summary
  IPrinterProxy()
          Deprecated. For internal use only
  IPrinterProxy(java.lang.Object obj)
          Deprecated.  
protected IPrinterProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IPrinterProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IPrinterProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 boolean doesDriverSupportPrinter(java.lang.String printerName)
          Deprecated. Indicates if the Printer Name passed into function is supported by the IPrinter Driver.
 void finishPrinting()
          Deprecated. Finish up Printing.
 java.lang.String getDriverName()
          Deprecated. The name of Windows Printer Driver.
 java.lang.String getFileExtension()
          Deprecated. File Extension associated with the Printer Driver.
 java.lang.String getFilter()
          Deprecated. Filter used in CFileDialog.
 java.lang.String getName()
          Deprecated. Name of the IPrinter Driver.
 IPaper getPaper()
          Deprecated. The IPaper interface.
 IEnvelope getPrintableBounds()
          Deprecated. The area of the printer page that can be printed on.
 java.lang.String getPrintToFile()
          Deprecated. The name of file if saving to Disk.
 short getResolution()
          Deprecated. The Printer Driver Resolution.
 java.lang.String getSpoolFileName()
          Deprecated. The Spool File Name which shows up in the Print Manager.
 int getUnits()
          Deprecated. The units for PaperSize and PrintableBounds.
 void queryPaperSize(double[] width, double[] height)
          Deprecated. Returns Page Size for Printer.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setPaperByRef(IPaper paper)
          Deprecated. The IPaper interface.
 void setPrintToFile(java.lang.String fileName)
          Deprecated. The name of file if saving to Disk.
 void setResolution(short res)
          Deprecated. The Printer Driver Resolution.
 void setSpoolFileName(java.lang.String spoolFileName)
          Deprecated. The Spool File Name which shows up in the Print Manager.
 void setStepProgressor(IStepProgressor rhs1)
          Deprecated. Updates a Progress Bar is set.
 int startPrinting(IEnvelope pixelBounds, int hDcPrinter)
          Deprecated. Initialize Printing.
 boolean verifyDriverSettings()
          Deprecated. Indicates if the Printer Driver should validate Printer Driver's local settings.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IPrinterProxy

public IPrinterProxy(java.lang.String CLSID,
                     java.lang.String host,
                     com.esri.arcgis.interop.AuthInfo authInfo)
              throws java.net.UnknownHostException,
                     java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IPrinterProxy

public IPrinterProxy()
Deprecated. 
For internal use only


IPrinterProxy

public IPrinterProxy(java.lang.Object obj)
              throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IPrinterProxy

protected IPrinterProxy(java.lang.Object obj,
                        java.lang.String iid)
                 throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IPrinterProxy

protected IPrinterProxy(java.lang.String CLSID,
                        java.lang.String iid,
                        java.lang.String host,
                        com.esri.arcgis.interop.AuthInfo authInfo)
                 throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Name of the IPrinter Driver.

Specified by:
getName in interface IPrinter
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFilter

public java.lang.String getFilter()
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Filter used in CFileDialog.

Specified by:
getFilter in interface IPrinter
Returns:
The filter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileExtension

public java.lang.String getFileExtension()
                                  throws java.io.IOException,
                                         AutomationException
Deprecated. 
File Extension associated with the Printer Driver.

Specified by:
getFileExtension in interface IPrinter
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPrintToFile

public void setPrintToFile(java.lang.String fileName)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
The name of file if saving to Disk.

Specified by:
setPrintToFile in interface IPrinter
Parameters:
fileName - The fileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrintToFile

public java.lang.String getPrintToFile()
                                throws java.io.IOException,
                                       AutomationException
Deprecated. 
The name of file if saving to Disk.

Specified by:
getPrintToFile in interface IPrinter
Returns:
The fileName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDriverName

public java.lang.String getDriverName()
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
The name of Windows Printer Driver.

Specified by:
getDriverName in interface IPrinter
Returns:
The driverName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpoolFileName

public void setSpoolFileName(java.lang.String spoolFileName)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
The Spool File Name which shows up in the Print Manager.

Specified by:
setSpoolFileName in interface IPrinter
Parameters:
spoolFileName - The spoolFileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpoolFileName

public java.lang.String getSpoolFileName()
                                  throws java.io.IOException,
                                         AutomationException
Deprecated. 
The Spool File Name which shows up in the Print Manager.

Specified by:
getSpoolFileName in interface IPrinter
Returns:
The spoolFileName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResolution

public void setResolution(short res)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
The Printer Driver Resolution.

Specified by:
setResolution in interface IPrinter
Parameters:
res - The res (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResolution

public short getResolution()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
The Printer Driver Resolution.

Specified by:
getResolution in interface IPrinter
Returns:
The res
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStepProgressor

public void setStepProgressor(IStepProgressor rhs1)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Updates a Progress Bar is set.

Specified by:
setStepProgressor in interface IPrinter
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.IStepProgressor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPaperByRef

public void setPaperByRef(IPaper paper)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
The IPaper interface.

Specified by:
setPaperByRef in interface IPrinter
Parameters:
paper - A reference to a com.esri.arcgis.output.IPaper (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPaper

public IPaper getPaper()
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The IPaper interface.

Specified by:
getPaper in interface IPrinter
Returns:
A reference to a com.esri.arcgis.output.IPaper
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPaperSize

public void queryPaperSize(double[] width,
                           double[] height)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Returns Page Size for Printer.

Specified by:
queryPaperSize in interface IPrinter
Parameters:
width - The width (out: use single element array)
height - The height (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrintableBounds

public IEnvelope getPrintableBounds()
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
The area of the printer page that can be printed on.

Specified by:
getPrintableBounds in interface IPrinter
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUnits

public int getUnits()
             throws java.io.IOException,
                    AutomationException
Deprecated. 
The units for PaperSize and PrintableBounds.

Specified by:
getUnits in interface IPrinter
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

verifyDriverSettings

public boolean verifyDriverSettings()
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
Indicates if the Printer Driver should validate Printer Driver's local settings.

Specified by:
verifyDriverSettings in interface IPrinter
Returns:
The ok
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doesDriverSupportPrinter

public boolean doesDriverSupportPrinter(java.lang.String printerName)
                                 throws java.io.IOException,
                                        AutomationException
Deprecated. 
Indicates if the Printer Name passed into function is supported by the IPrinter Driver.

Specified by:
doesDriverSupportPrinter in interface IPrinter
Parameters:
printerName - The printerName (in)
Returns:
The supported
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startPrinting

public int startPrinting(IEnvelope pixelBounds,
                         int hDcPrinter)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Initialize Printing.

Specified by:
startPrinting in interface IPrinter
Parameters:
pixelBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
hDcPrinter - The hDcPrinter (A COM typedef) (in)
Returns:
The hDcRet (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

finishPrinting

public void finishPrinting()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Finish up Printing.

Specified by:
finishPrinting in interface IPrinter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.