EasyPDF Java SDK
v5.1

com.bcl.easypdf.EasyPDFPrinter
Class IPrinterSetting

java.lang.Object
  extended by com.bcl.easypdf.EasyPDFPrinter.IPDFSetting
      extended by com.bcl.easypdf.EasyPDFPrinter.IPrinterSetting

public class IPrinterSetting
extends IPDFSetting

Use an object of this class to change printer setting.


Method Summary
 void CreatePaper(java.lang.String PaperName, double Width, double Height)
          Creates a paper of a speficied size.
 void DeletePaper(java.lang.String PaperName)
          Deletes a custom paper.
 int getLayoutGraphicResolution()
          Returns graphic resolution in DPI.
 int getLayoutGraphicScaling()
          Returns printer graphic scaling.
 int getLayoutPaperOrientation()
          Returns printer paper orientation.
 int getLayoutPaperSize()
          Returns the printer paper size.
 int getLayoutPrintColorType()
           
 int GetPaperSize(java.lang.String PaperName)
          Return the size of a given paper name.
 boolean IsPaperAvailable(java.lang.String PaperName)
          Checks if the paper of the given name is available.
 void setLayoutGraphicResolution(int newVal)
           
 void setLayoutGraphicScaling(int newVal)
           
 void setLayoutPaperOrientation(int EprnPaperOrientation)
           
 void setLayoutPaperSize(int newVal)
          Sets printer pager size.
 void setLayoutPrintColorType(int EprnPrintColorType)
          Sets the printer print color type.
 
Methods inherited from class com.bcl.easypdf.EasyPDFPrinter.IPDFSetting
getFolderDefaultOutputPath, getFolderRememberOutputPath, getFolderSpecifiedOutputPath, getFontEmbedAsType0, getFontEmbedding, getFontSubstitution, getImageCompression, getImageDownsizeResolution, getImageDownsizing, getImageJPEGQuality, getImageQuality, getMetaData, getMetaDataAuthor, getMetaDataCreator, getMetaDataKeywords, getMetaDataSubject, getMetaDataTitle, getSecurity, getSecurityAnnotation, getSecurityEncryption, getSecurityExtraction, getSecurityModification, getSecurityOwnerPassword, getSecurityPrinting, getSecurityUserPassword, getSignature, getSignatureDigitalIDFileName, getSignatureImage, getSignatureImageFileName, getSignatureImagePosLeft, getSignatureImagePosTop, getSignatureImageZoom, getSignatureInfoContact, getSignatureInfoLocation, getSignatureInfoPurpose, getStamp, getStampCount, getStampFileName, getStampFirstPageOnly, getStampHOffset, getStampHPosition, getStampTransparentColor, getStampVOffset, getStampVPosition, getStampZoom, getStampZOrder, getUiAlerts, getUiFileDialog, getUiPropertiesDialog, getViewerHideMenuBar, getViewerHideToolBar, getViewerHideWinControls, getViewerMagnification, getViewerPageLayout, getViewerPanel, getViewerPrintScaling, getWatermark, getWatermarkAngle, getWatermarkColor, getWatermarkCount, getWatermarkFirstPageOnly, getWatermarkFontName, getWatermarkFontSize, getWatermarkHOffset, getWatermarkHPosition, getWatermarkOpacity, getWatermarkOutlineOnly, getWatermarkText, getWatermarkTextAlignment, getWatermarkVOffset, getWatermarkVPosition, getWatermarkZOrder, Reset, Save, setFolderDefaultOutputPath, setFolderRememberOutputPath, setFolderSpecifiedOutputPath, setFontEmbedAsType0, setFontEmbedding, setFontSubstitution, setImageCompression, setImageDownsizeResolution, setImageDownsizing, setImageJPEGQuality, setImageQuality, setMetaData, setMetaDataAuthor, setMetaDataCreator, setMetaDataKeywords, setMetaDataSubject, setMetaDataTitle, setSecurity, setSecurityAnnotation, setSecurityEncryption, setSecurityExtraction, setSecurityModification, setSecurityOwnerPassword, setSecurityPrinting, setSecurityUserPassword, setSignature, setSignatureDigitalIDFileName, setSignatureImage, setSignatureImageFileName, setSignatureImagePosLeft, setSignatureImagePosTop, setSignatureImageZoom, setSignatureInfoContact, setSignatureInfoLocation, setSignatureInfoPurpose, setStamp, setStampFileName, setStampFirstPageOnly, setStampHOffset, setStampHPosition, setStampTransparentColor, setStampVOffset, setStampVPosition, setStampZoom, setStampZOrder, setUiAlerts, setUiFileDialog, setUiPropertiesDialog, setViewerHideMenuBar, setViewerHideToolBar, setViewerHideWinControls, setViewerMagnification, setViewerPageLayout, setViewerPanel, setViewerPrintScaling, setWatermark, setWatermarkAngle, setWatermarkColor, setWatermarkFirstPageOnly, setWatermarkFontName, setWatermarkFontSize, setWatermarkHOffset, setWatermarkHPosition, setWatermarkOpacity, setWatermarkOutlineOnly, setWatermarkText, setWatermarkTextAlignment, setWatermarkVOffset, setWatermarkVPosition, setWatermarkZOrder, ShowPropertiesDialog, SignatureCreateDigitalID, SignatureExportCertificate, Update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLayoutPaperSize

public int getLayoutPaperSize()
                       throws EasyPDFException
Returns the printer paper size.

Throws:
EasyPDFException

setLayoutPaperSize

public void setLayoutPaperSize(int newVal)
                        throws EasyPDFException
Sets printer pager size.

Parameters:
newVal - a value defined in prnPaperSize
Throws:
EasyPDFException
See Also:
prnPaperSize

getLayoutPaperOrientation

public int getLayoutPaperOrientation()
                              throws EasyPDFException
Returns printer paper orientation.

Returns:
one of the values defined in prnPaperOrientation
Throws:
EasyPDFException
See Also:
prnPaperOrientation

setLayoutPaperOrientation

public void setLayoutPaperOrientation(int EprnPaperOrientation)
                               throws EasyPDFException
Parameters:
EprnPaperOrientation - a value defined in prnPaperOrientation
Throws:
EasyPDFException
See Also:
prnPaperOrientation

getLayoutGraphicResolution

public int getLayoutGraphicResolution()
                               throws EasyPDFException
Returns graphic resolution in DPI.

Throws:
EasyPDFException

setLayoutGraphicResolution

public void setLayoutGraphicResolution(int newVal)
                                throws EasyPDFException
Parameters:
newVal - graphic resolution in DPI (in the range from 72 to 2400)
Throws:
EasyPDFException

getLayoutGraphicScaling

public int getLayoutGraphicScaling()
                            throws EasyPDFException
Returns printer graphic scaling.

Throws:
EasyPDFException

setLayoutGraphicScaling

public void setLayoutGraphicScaling(int newVal)
                             throws EasyPDFException
Parameters:
newVal - printer graphic scaling (from 1 to 1000)
Throws:
EasyPDFException

CreatePaper

public void CreatePaper(java.lang.String PaperName,
                        double Width,
                        double Height)
                 throws EasyPDFException
Creates a paper of a speficied size.

Parameters:
PaperName - Name of the paper to be created
Width - Width of paper
Height - Height of paper
Throws:
EasyPDFException

DeletePaper

public void DeletePaper(java.lang.String PaperName)
                 throws EasyPDFException
Deletes a custom paper.

Throws:
EasyPDFException

GetPaperSize

public int GetPaperSize(java.lang.String PaperName)
                 throws EasyPDFException
Return the size of a given paper name.

Throws:
EasyPDFException

IsPaperAvailable

public boolean IsPaperAvailable(java.lang.String PaperName)
                         throws EasyPDFException
Checks if the paper of the given name is available.

Throws:
EasyPDFException

getLayoutPrintColorType

public int getLayoutPrintColorType()
                            throws EasyPDFException
Returns:
one of the printer print color types defined in prnPrintColorType
Throws:
EasyPDFException
See Also:
prnPrintColorType

setLayoutPrintColorType

public void setLayoutPrintColorType(int EprnPrintColorType)
                             throws EasyPDFException
Sets the printer print color type.

Parameters:
EprnPrintColorType - a value defined in prnPrintColorType
Throws:
EasyPDFException
See Also:
prnPrintColorType

EasyPDF Java SDK
v5.1

Copyright 2007 BCL Technologies. All rights reserved.