Package com.datalogics.PDFL
Class PrintParams
java.lang.Object
com.datalogics.PDFL.PrintParams
Print settings, primarily used for PostScript printers or output.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleanbooleanlongbooleanbooleanbooleanbooleangetDoOPP()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanfloatGet the resolution for flattening the edges of atomic regions.longbooleanbooleanintintfloatbooleanintintbooleanlongbooleanAn optional-content context that determines what contents are visible.Get the page ranges for printing.booleanintbooleanbooleanbooleanbooleanfloatgetScale()booleanbooleanbooleanbooleanintlongintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetApplyOCGPrintOverrides(boolean value) voidsetBinaryOK(boolean value) voidsetBitmapResolution(long value) voidsetBoundingBox(Rect box) voidsetBrokenCRDs(boolean value) voidsetCenterCropBox(boolean value) voidsetDisableFlattening(boolean value) voidsetDoOPP(boolean value) voidsetDoProofing(boolean value) voidsetDoTiling(PageTilingMode value) voidvoidsetEmitBG(boolean value) voidsetEmitColorSeps(boolean value) voidsetEmitDeviceExtGState(boolean value) voidsetEmitFlatness(boolean value) voidsetEmitHalftones(boolean value) voidsetEmitInRipSeps(boolean value) voidsetEmitPageClip(boolean value) voidsetEmitPageRotation(boolean value) voidsetEmitPS(boolean value) voidsetEmitRawData(boolean value) voidsetEmitSeparableImagesOnly(boolean value) voidsetEmitTransfer(boolean value) voidsetEmitTTFontsFirst(boolean value) voidsetEmitUCR(boolean value) voidsetExpandToFit(boolean value) voidsetFarEastFontOpt(FarEastFont value) voidsetFlattenInfoExternalDPI(float externalDPI) Set the resolution for flattening the edges of atomic regions.voidsetGradientResolution(long value) voidsetHostBasedCM(boolean value) voidsetIncBaseFonts(Inclusion value) voidsetIncCIDFonts(Inclusion value) voidsetIncEmbeddedFonts(Inclusion value) voidsetIncOtherResources(Inclusion value) voidsetIncProcsets(Inclusion value) voidsetIncTrueTypeFonts(Inclusion value) voidsetIncType1Fonts(Inclusion value) voidsetInkBlack(boolean value) voidsetLastHeight(int value) voidsetLastWidth(int value) voidsetLineWidth(float value) voidsetMacQDPrinter(boolean value) voidsetMarkStyle(int value) voidsetMirrorprint(int value) voidsetNegative(boolean value) voidsetNumCollatedCopies(long value) voidsetOptimizeForSpeed(boolean value) voidAn optional-content context that determines what contents are visible.voidsetOutputType(OutputType value) voidsetPageRanges(List<PageRange> argPageRanges) Set the ranges of pages to print.voidsetPaperWhite(boolean value) voidsetPrintWhat(PrintWhat value) voidvoidsetPsLevel(int value) voidsetReverse(boolean value) voidsetRotate(boolean value) voidsetRotateAndCenter(boolean value) voidsetSaveVM(boolean value) voidsetScale(float value) voidsetSetPageSize(boolean value) voidsetShrinkToFit(boolean value) voidsetSuppressCJKSubstitution(boolean value) voidsetSuppressCSA(boolean value) voidsetSuppressOPPWhenNoSpots(int value) voidsetTransparencyQuality(long value) voidsetTrapType(int value) voidsetTTasCIDT2(boolean value) voidsetTTasT42(boolean value) voidsetUseExecForm(boolean value) voidsetUseFontAliasNames(boolean value) voidsetUseFullResolutionJP2KData(boolean value) voidsetUseMaxVM(boolean value) voidsetUseSubFileDecode(boolean value) voidsetWesternMarksStyle(boolean value) voidsetWhichMarks(EnumSet<PageMarkFlags> value)
-
Constructor Details
-
PrintParams
public PrintParams()
-
-
Method Details
-
delete
public void delete() -
getBoundingBox
-
setBoundingBox
-
setOptionalContentContext
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
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
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
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
-
getPrintWhat
-
setPrintWhatAnnot
-
getPrintWhatAnnot
-
setEmitPS
public void setEmitPS(boolean value) -
getEmitPS
public boolean getEmitPS() -
setPsLevel
public void setPsLevel(int value) -
getPsLevel
public int getPsLevel() -
setOutputType
-
getOutputType
-
setIncBaseFonts
-
getIncBaseFonts
-
setIncEmbeddedFonts
-
getIncEmbeddedFonts
-
setIncType1Fonts
-
getIncType1Fonts
-
setIncTrueTypeFonts
-
getIncTrueTypeFonts
-
setIncCIDFonts
-
getIncCIDFonts
-
setIncProcsets
-
getIncProcsets
-
setIncOtherResources
-
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
-
getFarEastFontOpt
-
setSuppressCJKSubstitution
public void setSuppressCJKSubstitution(boolean value) -
getSuppressCJKSubstitution
public boolean getSuppressCJKSubstitution() -
setSuppressCSA
public void setSuppressCSA(boolean value) -
getSuppressCSA
public boolean getSuppressCSA() -
setDuplex
-
getDuplex
-
setDoTiling
-
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
-
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()
-