com.esri.arcgis.output
Interface IPSDriver

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IPSDriverProxy, PSDriver, PsPrinter

public interface IPSDriver
extends java.io.Serializable

COM Interface 'IPSDriver'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriOutput.olb'

Description: 'Provides access to members that control the PostScript 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDcd754684_a222_11d0_a68f_080009d57b9a
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void createPS(java.lang.String inputFileName, java.lang.String outputFileName)
          Converts the EMF file to a EPS File.
 int getEmulsion()
          The Emulsion setting for the PostScript Driver.
 IFontMapCollection getFontMapCollection()
          The Font Map Collection for Font Mapping.
 java.lang.String getFormName()
          The printer page form.
 int getHalfTone(int halfTone)
          The Halftone DPI / LPI.
 int getImage()
          The Image setting (Positive or Negative) for the PostScript Driver.
 int getImageCompression()
          The Image Compression of the PostScript Driver.
 short getMarks()
          The PostScript Marks.
 short getOrientation()
          The printer page orientation (1 = portrait.
 java.lang.String getPPDFile()
          The PPD (PostScript Printer Description) file to be used.
 IEnvelope getPrintableBounds()
          The printers Printable Bounds - Used for Marks.
 int getPSLanguageLevel()
          The PostScript Driver Language Level.
 boolean isArcPressSeparateImage()
          Indicates whether a separate Image file should be created for ArcPress.
 boolean isArcPressSeparateImageRotate()
          Indicates whether the Image should be rotated 90 degress for ArcPress.
 boolean isOneBitImageTransparency()
          Indicates if the 1-bit Image Transparency setting for the PostScript Driver is set to true.
 boolean isUseEMFFrameBoxForPSBoundingBox()
          Indicates whether the PostScript Driver should use the ENHMETAHEADER rclFrame instead of rclBounds for the PostScript Bounding Box.
 void setArcPressSeparateImage(boolean sepImage)
          Indicates whether a separate Image file should be created for ArcPress.
 void setArcPressSeparateImageRotate(boolean sepImage)
          Indicates whether the Image should be rotated 90 degress for ArcPress.
 void setEmulsion(int emulsion)
          The Emulsion setting for the PostScript Driver.
 void setFontMapCollectionByRef(IFontMapCollection fontMapCollection)
          The Font Map Collection for Font Mapping.
 void setFormName(java.lang.String formName)
          The printer page form.
 void setHalfTone(int halfTone, int value)
          The Halftone DPI / LPI.
 void setImage(int image)
          The Image setting (Positive or Negative) for the PostScript Driver.
 void setImageCompression(int imageCompression)
          The Image Compression of the PostScript Driver.
 void setMarks(short marks)
          The PostScript Marks.
 void setOneBitImageTransparency(boolean imageTransparency)
          Indicates if the 1-bit Image Transparency setting for the PostScript Driver is set to true.
 void setOrientation(short orientation)
          The printer page orientation (1 = portrait.
 void setPPDFile(java.lang.String pPDFile)
          The PPD (PostScript Printer Description) file to be used.
 void setPrintableBounds(IEnvelope ppBounds)
          The printers Printable Bounds - Used for Marks.
 void setPSLanguageLevel(int pslevel)
          The PostScript Driver Language Level.
 void setStepProgressor(IStepProgressor rhs1)
          PostScript Driver will update a Progress Bar.
 void setUseEMFFrameBoxForPSBoundingBox(boolean useFrameBox)
          Indicates whether the PostScript Driver should use the ENHMETAHEADER rclFrame instead of rclBounds for the PostScript Bounding Box.
 

Field Detail

IIDcd754684_a222_11d0_a68f_080009d57b9a

static final int IIDcd754684_a222_11d0_a68f_080009d57b9a
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getImageCompression

int getImageCompression()
                        throws java.io.IOException,
                               AutomationException
The Image Compression of the PostScript Driver.

Returns:
A com.esri.arcgis.output.esriPSDriverImageCompression constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setImageCompression

void setImageCompression(int imageCompression)
                         throws java.io.IOException,
                                AutomationException
The Image Compression of the PostScript Driver.

Parameters:
imageCompression - A com.esri.arcgis.output.esriPSDriverImageCompression constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isArcPressSeparateImage

boolean isArcPressSeparateImage()
                                throws java.io.IOException,
                                       AutomationException
Indicates whether a separate Image file should be created for ArcPress.

Returns:
The sepImage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setArcPressSeparateImage

void setArcPressSeparateImage(boolean sepImage)
                              throws java.io.IOException,
                                     AutomationException
Indicates whether a separate Image file should be created for ArcPress.

Parameters:
sepImage - The sepImage (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isArcPressSeparateImageRotate

boolean isArcPressSeparateImageRotate()
                                      throws java.io.IOException,
                                             AutomationException
Indicates whether the Image should be rotated 90 degress for ArcPress.

Returns:
The sepImage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setArcPressSeparateImageRotate

void setArcPressSeparateImageRotate(boolean sepImage)
                                    throws java.io.IOException,
                                           AutomationException
Indicates whether the Image should be rotated 90 degress for ArcPress.

Parameters:
sepImage - The sepImage (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFontMapCollection

IFontMapCollection getFontMapCollection()
                                        throws java.io.IOException,
                                               AutomationException
The Font Map Collection for Font Mapping.

Returns:
A reference to a com.esri.arcgis.output.IFontMapCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFontMapCollectionByRef

void setFontMapCollectionByRef(IFontMapCollection fontMapCollection)
                               throws java.io.IOException,
                                      AutomationException
The Font Map Collection for Font Mapping.

Parameters:
fontMapCollection - A reference to a com.esri.arcgis.output.IFontMapCollection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPPDFile

java.lang.String getPPDFile()
                            throws java.io.IOException,
                                   AutomationException
The PPD (PostScript Printer Description) file to be used.

Returns:
The pPDFile
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPPDFile

void setPPDFile(java.lang.String pPDFile)
                throws java.io.IOException,
                       AutomationException
The PPD (PostScript Printer Description) file to be used.

Parameters:
pPDFile - The pPDFile (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMarks

short getMarks()
               throws java.io.IOException,
                      AutomationException
The PostScript Marks.

Returns:
The marks
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMarks

void setMarks(short marks)
              throws java.io.IOException,
                     AutomationException
The PostScript Marks.

Parameters:
marks - The marks (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHalfTone

int getHalfTone(int halfTone)
                throws java.io.IOException,
                       AutomationException
The Halftone DPI / LPI.

Parameters:
halfTone - A com.esri.arcgis.output.esriPSDriverHalfTone constant (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHalfTone

void setHalfTone(int halfTone,
                 int value)
                 throws java.io.IOException,
                        AutomationException
The Halftone DPI / LPI.

Parameters:
halfTone - A com.esri.arcgis.output.esriPSDriverHalfTone constant (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFormName

java.lang.String getFormName()
                             throws java.io.IOException,
                                    AutomationException
The printer page form. Use Win32 DMPAPER_xxx constants.

Returns:
The formName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFormName

void setFormName(java.lang.String formName)
                 throws java.io.IOException,
                        AutomationException
The printer page form. Use Win32 DMPAPER_xxx constants.

Parameters:
formName - The formName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrintableBounds

IEnvelope getPrintableBounds()
                             throws java.io.IOException,
                                    AutomationException
The printers Printable Bounds - Used for Marks.

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.

setPrintableBounds

void setPrintableBounds(IEnvelope ppBounds)
                        throws java.io.IOException,
                               AutomationException
The printers Printable Bounds - Used for Marks.

Parameters:
ppBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOrientation

short getOrientation()
                     throws java.io.IOException,
                            AutomationException
The printer page orientation (1 = portrait. 2 = landscape).

Returns:
The orientation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOrientation

void setOrientation(short orientation)
                    throws java.io.IOException,
                           AutomationException
The printer page orientation (1 = portrait. 2 = landscape).

Parameters:
orientation - The orientation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEmulsion

int getEmulsion()
                throws java.io.IOException,
                       AutomationException
The Emulsion setting for the PostScript Driver.

Returns:
A com.esri.arcgis.output.esriPSDriverEmulsion constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEmulsion

void setEmulsion(int emulsion)
                 throws java.io.IOException,
                        AutomationException
The Emulsion setting for the PostScript Driver.

Parameters:
emulsion - A com.esri.arcgis.output.esriPSDriverEmulsion constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getImage

int getImage()
             throws java.io.IOException,
                    AutomationException
The Image setting (Positive or Negative) for the PostScript Driver.

Returns:
A com.esri.arcgis.output.esriPSDriverImage constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setImage

void setImage(int image)
              throws java.io.IOException,
                     AutomationException
The Image setting (Positive or Negative) for the PostScript Driver.

Parameters:
image - A com.esri.arcgis.output.esriPSDriverImage constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOneBitImageTransparency

boolean isOneBitImageTransparency()
                                  throws java.io.IOException,
                                         AutomationException
Indicates if the 1-bit Image Transparency setting for the PostScript Driver is set to true.

Returns:
The imageTransparency
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOneBitImageTransparency

void setOneBitImageTransparency(boolean imageTransparency)
                                throws java.io.IOException,
                                       AutomationException
Indicates if the 1-bit Image Transparency setting for the PostScript Driver is set to true.

Parameters:
imageTransparency - The imageTransparency (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseEMFFrameBoxForPSBoundingBox

boolean isUseEMFFrameBoxForPSBoundingBox()
                                         throws java.io.IOException,
                                                AutomationException
Indicates whether the PostScript Driver should use the ENHMETAHEADER rclFrame instead of rclBounds for the PostScript Bounding Box.

Returns:
The useFrameBox
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseEMFFrameBoxForPSBoundingBox

void setUseEMFFrameBoxForPSBoundingBox(boolean useFrameBox)
                                       throws java.io.IOException,
                                              AutomationException
Indicates whether the PostScript Driver should use the ENHMETAHEADER rclFrame instead of rclBounds for the PostScript Bounding Box.

Parameters:
useFrameBox - The useFrameBox (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPSLanguageLevel

int getPSLanguageLevel()
                       throws java.io.IOException,
                              AutomationException
The PostScript Driver Language Level.

Returns:
A com.esri.arcgis.output.esriPSDriverPSLanguageLevel constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPSLanguageLevel

void setPSLanguageLevel(int pslevel)
                        throws java.io.IOException,
                               AutomationException
The PostScript Driver Language Level.

Parameters:
pslevel - A com.esri.arcgis.output.esriPSDriverPSLanguageLevel constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStepProgressor

void setStepProgressor(IStepProgressor rhs1)
                       throws java.io.IOException,
                              AutomationException
PostScript Driver will update a Progress Bar.

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.

createPS

void createPS(java.lang.String inputFileName,
              java.lang.String outputFileName)
              throws java.io.IOException,
                     AutomationException
Converts the EMF file to a EPS File.

Parameters:
inputFileName - The inputFileName (in)
outputFileName - The outputFileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.