Class PrintParams

java.lang.Object
com.datalogics.PDFL.PrintParams

public class PrintParams extends Object
Print settings, primarily used for PostScript printers or output.
  • Constructor Details

    • PrintParams

      public PrintParams()
  • Method Details

    • delete

      public void delete()
    • getBoundingBox

      public Rect getBoundingBox()
    • setBoundingBox

      public void setBoundingBox(Rect box)
    • setOptionalContentContext

      public void setOptionalContentContext(OptionalContentContext context)
      An optional-content context that determines what contents are visible. null uses the document's optional-content context.

      This context is copied and the copy is used in drawing. This allows a client to change its copy of the context without raising an exception.

    • getOptionalContentContext

      public OptionalContentContext getOptionalContentContext()
      An optional-content context that determines what contents are visible. null uses the document's optional-content context.

      This context is copied and the copy is used in drawing. This allows a client to change its copy of the context without raising an exception.

    • setPageRanges

      public void setPageRanges(List<PageRange> argPageRanges)
      Set the ranges of pages to print.

      These ranges of pages have a priority over startPage, endPage fields defined in PrintUserParams. Note: If print dialog has been called the pageRanges fields will be overridden by the values obtained from printing dialog.

    • getPageRanges

      public List<PageRange> getPageRanges()
      Get the page ranges for printing.

      Returns:
      ranges of pages to print.
    • setFlattenInfoExternalDPI

      public void setFlattenInfoExternalDPI(float externalDPI)
      Set the resolution for flattening the edges of atomic regions.

      ExternalDPI for flattening defaults to 144 (72x2).

    • getFlattenInfoExternalDPI

      public float getFlattenInfoExternalDPI()
      Get the resolution for flattening the edges of atomic regions.

      ExternalDPI for flattening defaults to 144 (72x2).

    • setShrinkToFit

      public void setShrinkToFit(boolean value)
    • getShrinkToFit

      public boolean getShrinkToFit()
    • setExpandToFit

      public void setExpandToFit(boolean value)
    • getExpandToFit

      public boolean getExpandToFit()
    • setRotateAndCenter

      public void setRotateAndCenter(boolean value)
    • getRotateAndCenter

      public boolean getRotateAndCenter()
    • setPrintWhat

      public void setPrintWhat(PrintWhat value)
    • getPrintWhat

      public PrintWhat getPrintWhat()
    • setPrintWhatAnnot

      public void setPrintWhatAnnot(EnumSet<PrintWhatAnnotFlags> value)
    • getPrintWhatAnnot

      public EnumSet<PrintWhatAnnotFlags> getPrintWhatAnnot()
    • setEmitPS

      public void setEmitPS(boolean value)
    • getEmitPS

      public boolean getEmitPS()
    • setPsLevel

      public void setPsLevel(int value)
    • getPsLevel

      public int getPsLevel()
    • setOutputType

      public void setOutputType(OutputType value)
    • getOutputType

      public OutputType getOutputType()
    • setIncBaseFonts

      public void setIncBaseFonts(Inclusion value)
    • getIncBaseFonts

      public Inclusion getIncBaseFonts()
    • setIncEmbeddedFonts

      public void setIncEmbeddedFonts(Inclusion value)
    • getIncEmbeddedFonts

      public Inclusion getIncEmbeddedFonts()
    • setIncType1Fonts

      public void setIncType1Fonts(Inclusion value)
    • getIncType1Fonts

      public Inclusion getIncType1Fonts()
    • setIncTrueTypeFonts

      public void setIncTrueTypeFonts(Inclusion value)
    • getIncTrueTypeFonts

      public Inclusion getIncTrueTypeFonts()
    • setIncCIDFonts

      public void setIncCIDFonts(Inclusion value)
    • getIncCIDFonts

      public Inclusion getIncCIDFonts()
    • setIncProcsets

      public void setIncProcsets(Inclusion value)
    • getIncProcsets

      public Inclusion getIncProcsets()
    • setIncOtherResources

      public void setIncOtherResources(Inclusion value)
    • getIncOtherResources

      public Inclusion getIncOtherResources()
    • setEmitTTFontsFirst

      public void setEmitTTFontsFirst(boolean value)
    • getEmitTTFontsFirst

      public boolean getEmitTTFontsFirst()
    • setSetPageSize

      public void setSetPageSize(boolean value)
    • getSetPageSize

      public boolean getSetPageSize()
    • setEmitColorSeps

      public void setEmitColorSeps(boolean value)
    • getEmitColorSeps

      public boolean getEmitColorSeps()
    • setBinaryOK

      public void setBinaryOK(boolean value)
    • getBinaryOK

      public boolean getBinaryOK()
    • setUseSubFileDecode

      public void setUseSubFileDecode(boolean value)
    • getUseSubFileDecode

      public boolean getUseSubFileDecode()
    • setEmitRawData

      public void setEmitRawData(boolean value)
    • getEmitRawData

      public boolean getEmitRawData()
    • setTTasT42

      public void setTTasT42(boolean value)
    • getTTasT42

      public boolean getTTasT42()
    • setScale

      public void setScale(float value)
    • getScale

      public float getScale()
    • setEmitHalftones

      public void setEmitHalftones(boolean value)
    • getEmitHalftones

      public boolean getEmitHalftones()
    • setCenterCropBox

      public void setCenterCropBox(boolean value)
    • getCenterCropBox

      public boolean getCenterCropBox()
    • setEmitSeparableImagesOnly

      public void setEmitSeparableImagesOnly(boolean value)
    • getEmitSeparableImagesOnly

      public boolean getEmitSeparableImagesOnly()
    • setEmitDeviceExtGState

      public void setEmitDeviceExtGState(boolean value)
    • getEmitDeviceExtGState

      public boolean getEmitDeviceExtGState()
    • setUseFontAliasNames

      public void setUseFontAliasNames(boolean value)
    • getUseFontAliasNames

      public boolean getUseFontAliasNames()
    • setEmitPageRotation

      public void setEmitPageRotation(boolean value)
    • getEmitPageRotation

      public boolean getEmitPageRotation()
    • setReverse

      public void setReverse(boolean value)
    • getReverse

      public boolean getReverse()
    • setEmitPageClip

      public void setEmitPageClip(boolean value)
    • getEmitPageClip

      public boolean getEmitPageClip()
    • setEmitTransfer

      public void setEmitTransfer(boolean value)
    • getEmitTransfer

      public boolean getEmitTransfer()
    • setEmitBG

      public void setEmitBG(boolean value)
    • getEmitBG

      public boolean getEmitBG()
    • setEmitUCR

      public void setEmitUCR(boolean value)
    • getEmitUCR

      public boolean getEmitUCR()
    • setFarEastFontOpt

      public void setFarEastFontOpt(FarEastFont value)
    • getFarEastFontOpt

      public FarEastFont getFarEastFontOpt()
    • setSuppressCJKSubstitution

      public void setSuppressCJKSubstitution(boolean value)
    • getSuppressCJKSubstitution

      public boolean getSuppressCJKSubstitution()
    • setSuppressCSA

      public void setSuppressCSA(boolean value)
    • getSuppressCSA

      public boolean getSuppressCSA()
    • setDuplex

      public void setDuplex(Duplex value)
    • getDuplex

      public Duplex getDuplex()
    • setDoTiling

      public void setDoTiling(PageTilingMode value)
    • getDoTiling

      public PageTilingMode getDoTiling()
    • setRotate

      public void setRotate(boolean value)
    • getRotate

      public boolean getRotate()
    • setHostBasedCM

      public void setHostBasedCM(boolean value)
    • getHostBasedCM

      public boolean getHostBasedCM()
    • setSaveVM

      public void setSaveVM(boolean value)
    • getSaveVM

      public boolean getSaveVM()
    • setDoOPP

      public void setDoOPP(boolean value)
    • getDoOPP

      public boolean getDoOPP()
    • setSuppressOPPWhenNoSpots

      public void setSuppressOPPWhenNoSpots(int value)
    • getSuppressOPPWhenNoSpots

      public int getSuppressOPPWhenNoSpots()
    • setOptimizeForSpeed

      public void setOptimizeForSpeed(boolean value)
    • getOptimizeForSpeed

      public boolean getOptimizeForSpeed()
    • setBrokenCRDs

      public void setBrokenCRDs(boolean value)
    • getBrokenCRDs

      public boolean getBrokenCRDs()
    • setUseMaxVM

      public void setUseMaxVM(boolean value)
    • getUseMaxVM

      public boolean getUseMaxVM()
    • setLastWidth

      public void setLastWidth(int value)
    • getLastWidth

      public int getLastWidth()
    • setLastHeight

      public void setLastHeight(int value)
    • getLastHeight

      public int getLastHeight()
    • setBitmapResolution

      public void setBitmapResolution(long value)
    • getBitmapResolution

      public long getBitmapResolution()
    • setGradientResolution

      public void setGradientResolution(long value)
    • getGradientResolution

      public long getGradientResolution()
    • setTransparencyQuality

      public void setTransparencyQuality(long value)
    • getTransparencyQuality

      public long getTransparencyQuality()
    • setApplyOCGPrintOverrides

      public void setApplyOCGPrintOverrides(boolean value)
    • getApplyOCGPrintOverrides

      public boolean getApplyOCGPrintOverrides()
    • setUseFullResolutionJP2KData

      public void setUseFullResolutionJP2KData(boolean value)
    • getUseFullResolutionJP2KData

      public boolean getUseFullResolutionJP2KData()
    • setEmitInRipSeps

      public void setEmitInRipSeps(boolean value)
    • getEmitInRipSeps

      public boolean getEmitInRipSeps()
    • setWhichMarks

      public void setWhichMarks(EnumSet<PageMarkFlags> value)
    • getWhichMarks

      public EnumSet<PageMarkFlags> getWhichMarks()
    • setWesternMarksStyle

      public void setWesternMarksStyle(boolean value)
    • getWesternMarksStyle

      public boolean getWesternMarksStyle()
    • setDoProofing

      public void setDoProofing(boolean value)
    • getDoProofing

      public boolean getDoProofing()
    • setInkBlack

      public void setInkBlack(boolean value)
    • getInkBlack

      public boolean getInkBlack()
    • setPaperWhite

      public void setPaperWhite(boolean value)
    • getPaperWhite

      public boolean getPaperWhite()
    • setUseExecForm

      public void setUseExecForm(boolean value)
    • getUseExecForm

      public boolean getUseExecForm()
    • setNegative

      public void setNegative(boolean value)
    • getNegative

      public boolean getNegative()
    • setMirrorprint

      public void setMirrorprint(int value)
    • getMirrorprint

      public int getMirrorprint()
    • setNumCollatedCopies

      public void setNumCollatedCopies(long value)
    • getNumCollatedCopies

      public long getNumCollatedCopies()
    • setEmitFlatness

      public void setEmitFlatness(boolean value)
    • getEmitFlatness

      public boolean getEmitFlatness()
    • setTrapType

      public void setTrapType(int value)
    • getTrapType

      public int getTrapType()
    • setTTasCIDT2

      public void setTTasCIDT2(boolean value)
    • getTTasCIDT2

      public boolean getTTasCIDT2()
    • setMarkStyle

      public void setMarkStyle(int value)
    • getMarkStyle

      public int getMarkStyle()
    • setLineWidth

      public void setLineWidth(float value)
    • getLineWidth

      public float getLineWidth()
    • setMacQDPrinter

      public void setMacQDPrinter(boolean value)
    • getMacQDPrinter

      public boolean getMacQDPrinter()
    • setDisableFlattening

      public void setDisableFlattening(boolean value)
    • getDisableFlattening

      public boolean getDisableFlattening()