PrintParams Class Documentation
class PrintParamsNamespace:com::datalogics::PDFL
Detailed Description
Print settings, primarily used for PostScript printers or output.
Referenced by
Uses types
Constructor & Destructor Documentation
PrintParams
PrintParams()Member Function Documentation
delete
synchronized void delete(Boolean disposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized void delete()Returns:
synchronized voidfinalize
void finalize()Returns:
voidgetApplyOCGPrintOverrides
boolean getApplyOCGPrintOverrides()Returns:
booleanWhen true, apply print-specific visibility state settings from the optional-content group.
getBinaryOK
boolean getBinaryOK()Returns:
booleantrue if binary data is permitted in the PostScript file, false otherwise. It is overridden by the printer's "Output Protocol" device settings. The default value is true.
getBitmapResolution
long getBitmapResolution()Returns:
longDPI for bitmaps. The default is 300. This will only work when you set useFullResolutionJP2KData to false; it should not be less than 50.
getBoundingBox
Rect getBoundingBox()Returns:
RectgetBrokenCRDs
boolean getBrokenCRDs()Returns:
booleanIf true, do not set rendering intent in PostScript stream due to broken non-default CRDs. This is not honored anymore: its value is always false.
getCenterCropBox
boolean getCenterCropBox()Returns:
booleantrue if CropBox output is centered on the page when the CropBox < MediaBox, false otherwise. The default value is true.
getDisableFlattening
boolean getDisableFlattening()Returns:
booleanDisable flattening of the PDF file; transparency data will be ignored. Also note the preprocessor define below.
getDoOPP
boolean getDoOPP()Returns:
booleanDo the overprint preview operation.
getDoProofing
boolean getDoProofing()Returns:
booleanWhen true, print using proofing settings.
getDoTiling
PageTilingMode getDoTiling()Returns:
PageTilingModeDetermines whether to tile none, all, or only large pages.
getDuplex
Duplex getDuplex()Returns:
DuplexSets the duplex mode if the device supports duplex printing. The default value is kPDDuplexOff.
getEmitBG
boolean getEmitBG()Returns:
booleanEmit black generation. The default is true.
getEmitColorSeps
boolean getEmitColorSeps()Returns:
booleanEmit images for Level-1 separations. The default value is false. This will be honored only when printing to a printer.
getEmitDeviceExtGState
boolean getEmitDeviceExtGState()Returns:
booleanWhen emitting the extended graphics state, if this flag is true, include the device-dependent parameters (overprint, black generation, undercolor removal, transfer, halftone, halftone phase, smoothness, flatness, rendering intent) in addition to the device-independent parameters (font, line width, line cap, line join, miter limit, dash pattern). If this flag is false, only the device-independent parameters will be emitted. This flag overrides emitHalftones; if this is false, then halftones are not emitted. The default is true.
getEmitFlatness
boolean getEmitFlatness()Returns:
booleanHonors the flatness settings over gstate flatness.
getEmitHalftones
boolean getEmitHalftones()Returns:
booleanPreserve any halftone screening in the PDF file. The default value is false.
getEmitInRipSeps
boolean getEmitInRipSeps()Returns:
booleanWhen true, it requests that separations, one sheet per ink, be generated in the RIP (printer).
getEmitPS
boolean getEmitPS()Returns:
booleanIf true, emit a PostScript file. The default value is true.
getEmitPageClip
boolean getEmitPageClip()Returns:
booleanEmit page clip. The default is true.
getEmitPageRotation
boolean getEmitPageRotation()Returns:
booleanEmit a concat at the beginning of each page so that the page is properly rotated. Used when emitting EPS. The default value is false.
getEmitRawData
boolean getEmitRawData()Returns:
booleantrue if adding no unnecessary filters when emitting image data, false otherwise. The default value is false.
getEmitSeparableImagesOnly
boolean getEmitSeparableImagesOnly()Returns:
booleanIf emitting EPS, include only CMYK and gray images.
getEmitTTFontsFirst
boolean getEmitTTFontsFirst()Returns:
booleanEmit TrueType fonts before any other fonts. The default value is false.
getEmitTransfer
boolean getEmitTransfer()Returns:
booleanEmit transfer. The default is true.
getEmitUCR
boolean getEmitUCR()Returns:
booleanEmit undercolor removal. The default is true.
getExpandToFit
boolean getExpandToFit()Returns:
booleantrue if small pages are to be scaled up to fit the printer page size, false, otherwise. It overrides the scale. The default value is true.
getFarEastFontOpt
FarEastFont getFarEastFontOpt()Returns:
FarEastFontGDI to PS or download CJK fonts PDPDFarEastFont_Print_As_Image will not be honored.
getFlattenInfoExternalDPI
float getFlattenInfoExternalDPI()Returns:
floatGet the resolution for flattening the edges of atomic regions.
ExternalDPI for flattening defaults to 144 (72x2).
getGradientResolution
long getGradientResolution()Returns:
longDPI for gradients interior to the object (not edges). It can generally be lower than the bitmapResolution. The default is 150.
getHostBasedCM
boolean getHostBasedCM()Returns:
booleanDo hostBased color management using the destination profile. The default is false, which means doing CSA generation for profiles instead of converting all colors on the host.
getIncBaseFonts
Inclusion getIncBaseFonts()Returns:
InclusionEmbed the base fonts. The default value is kIncludeOncePerDoc.
getIncCIDFonts
Inclusion getIncCIDFonts()Returns:
InclusionEmbed CID fonts. The default value is kIncludeNever.
getIncEmbeddedFonts
Inclusion getIncEmbeddedFonts()Returns:
InclusionEmbed fonts that are embedded in the PDF file. This overrides the incType1Fonts, incTrueTypeFonts, and incCIDFonts fields. The default value is kIncludeWhenNeeded.
getIncOtherResources
Inclusion getIncOtherResources()Returns:
InclusionInclude all other types of resources in the file. The default value is kIncludeByRange.
getIncProcsets
Inclusion getIncProcsets()Returns:
InclusionInclude Procsets in the file. The default value is kIncludeOncePerDoc. This is not honored anymore: its value is always false. Procsets are always emitted at the document level.
getIncTrueTypeFonts
Inclusion getIncTrueTypeFonts()Returns:
InclusionEmbed TrueType fonts. The default value is kIncludeNever.
getIncType1Fonts
Inclusion getIncType1Fonts()Returns:
InclusionEmbed Type 1 fonts. The default value is kIncludeNever.
getInkBlack
boolean getInkBlack()Returns:
booleanProofing settings: simulate ink black.
getLastHeight
int getLastHeight()Returns:
intUsed when setPageSize is true to prevent unneeded setpagedevice calls.
getLastWidth
int getLastWidth()Returns:
intUsed when setPageSize is true to prevent unneeded setpagedevice calls.
getLineWidth
float getLineWidth()Returns:
floatThe line weight to use for printer marks.
getMacQDPrinter
boolean getMacQDPrinter()Returns:
booleantrue if the printer is a Mac QuickDraw printer, false otherwise.
getMarkStyle
int getMarkStyle()Returns:
intSpecify the style to use for page marks. The PDPrintMarkStyles enum contains possible styles. It applies to print separations.
getMirrorprint
int getMirrorprint()Returns:
intOne of the following constants: kPDPrintFlipNone = 0x01 kPDPrintFlipX = 0x02 kPDPrintFlipY = 0x04 kPDPrintFlipXY = 0x08
Mirroring is done in the PostScript output stream.
getNegative
boolean getNegative()Returns:
booleanWhen true, invert the plate.
getNumCollatedCopies
long getNumCollatedCopies()Returns:
longEnables collation for the viewer.
getOptimizeForSpeed
boolean getOptimizeForSpeed()Returns:
booleanIf true, do it fast; false means PostScript code must be page-independent. If it is set to true, font downloads are forced from kIncludeOnEveryPage to kIncludeOncePerDoc. The default is true.
getOptionalContentContext
OptionalContentContext getOptionalContentContext()Returns:
OptionalContentContextAn 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.
getOutputType
OutputType getOutputType()Returns:
OutputTypePrint PostScript or EPS with or without a preview. EPS preview generation is not available on UNIX.
getPageRanges
java.util.List< PageRange > getPageRanges()Returns:
java.util.List< PageRange >ranges of pages to print.
Get the page ranges for printing.
getPaperWhite
boolean getPaperWhite()Returns:
booleanProofing settings: simulate paper white.
getPrintWhat
PrintWhat getPrintWhat()Returns:
PrintWhatPrint the document, the document and comments, or document form fields only.
getPrintWhatAnnot
java.util.EnumSet< PrintWhatAnnotFlags > getPrintWhatAnnot()Returns:
java.util.EnumSet< PrintWhatAnnotFlags >Annotation flags which modify PDPrintWhat to enable Pro product behavior.
getPsLevel
int getPsLevel()Returns:
intPostScript level: 1, 2, or 3. The default value is 3.
getReverse
boolean getReverse()Returns:
booleanIf set to true, reverse the order of page output.
getRotate
boolean getRotate()Returns:
booleanEnable the auto-rotating behavior from past versions of PDFL.
getRotateAndCenter
boolean getRotateAndCenter()Returns:
booleantrue if the page is to be rotated to fit the printer's orientation and centered in the printer's page size; false, otherwise. The default value is true. Rotation and centering (true) only occur, however, if the page contents are too wide to fit on a narrow page (or vice versa) and the page contents are less than an inch smaller than the target page in one direction.
getSaveVM
boolean getSaveVM()Returns:
booleantrue means try to save VM when printing to PostScript. The default is true.
getScale
float getScale()Returns:
floatThe document-wide scale factor. 100.0 = full size. The default value is 100.
getSetPageSize
boolean getSetPageSize()Returns:
boolean(PostScript level 2 only) Set the page size on each page. Use the media box for outputting to PostScript files, use the crop box for EPS files. Default is false.
getShrinkToFit
boolean getShrinkToFit()Returns:
booleantrue if the page is scaled to fit the printer page size, false, otherwise. This field overrides the scale. The default value is true.
getSuppressCJKSubstitution
boolean getSuppressCJKSubstitution()Returns:
booleanIf true, do not do CJK substitution on the printer. This will work only when farEastFontOpt is PDPDFarEastFont_Download_None.
getSuppressCSA
boolean getSuppressCSA()Returns:
booleanDo not emit CSAs for 4-component (CMYK) colors. This will take precedence over the hostbasedCM settings.
getSuppressOPPWhenNoSpots
int getSuppressOPPWhenNoSpots()Returns:
intWhen true, suppress OPP for pages that do not contain spot colors
getTTasCIDT2
boolean getTTasCIDT2()Returns:
booleanWhen this is set, emit TrueType fonts as CIDType2 instead of as CIDFontType0.
getTTasT42
boolean getTTasT42()Returns:
booleanIf including TrueType fonts, convert to Type 42 fonts instead of Type 1 fonts. The default value is false.
getTransparencyQuality
long getTransparencyQuality()Returns:
longThe transparency flattening quality. The range is 0-100. Lower values flatten faster. Higher values provide better quality. The default is 80, which usually provides good quality at a reasonable speed.
getTrapType
int getTrapType()Returns:
intThe trap type. kPDPrintTrapNone = 0x01 kPDPrintTrapOnHost = 0x02 is NOT SUPPORTED in Acrobat 7 kPDPrintTrapInRIP = 0x04
getUseExecForm
boolean getUseExecForm()Returns:
booleanWhen true, emit execform calls when emitting Form XObjects.
getUseFontAliasNames
boolean getUseFontAliasNames()Returns:
booleanUsed when printing with system fonts. The default value is false.
getUseFullResolutionJP2KData
boolean getUseFullResolutionJP2KData()Returns:
booleanDetermines whether to use the maximum available JPEG2000 resolution.
getUseMaxVM
boolean getUseMaxVM()Returns:
booleanIf true, store all possible resources in VM.
getUseSubFileDecode
boolean getUseSubFileDecode()Returns:
booleanAdd SubFileDecode filter to work around stream problems [false]. The SubFileDecode filter will always be emitted when you print as binary.
getWesternMarksStyle
boolean getWesternMarksStyle()Returns:
booleanWhen true, use western style for page marks. It applies to print separations. Obsoleted by markStyle below.
getWhichMarks
java.util.EnumSet< PageMarkFlags > getWhichMarks()Returns:
java.util.EnumSet< PageMarkFlags >Page mark indication. It is a bit-wise OR of the PDPageMarkFlags values.
It applies to print separations.
setApplyOCGPrintOverrides
void setApplyOCGPrintOverrides(boolean value)Parameters
value: boolean
Returns:
voidWhen true, apply print-specific visibility state settings from the optional-content group.
setBinaryOK
void setBinaryOK(boolean value)Parameters
value: boolean
Returns:
voidtrue if binary data is permitted in the PostScript file, false otherwise. It is overridden by the printer's "Output Protocol" device settings. The default value is true.
setBitmapResolution
void setBitmapResolution(long value)Parameters
value: long
Returns:
voidDPI for bitmaps. The default is 300. This will only work when you set useFullResolutionJP2KData to false; it should not be less than 50.
setBoundingBox
void setBoundingBox(Rect box)Parameters
box: Rectthe bounding box
Returns:
voidsetBrokenCRDs
void setBrokenCRDs(boolean value)Parameters
value: boolean
Returns:
voidIf true, do not set rendering intent in PostScript stream due to broken non-default CRDs. This is not honored anymore: its value is always false.
setCenterCropBox
void setCenterCropBox(boolean value)Parameters
value: boolean
Returns:
voidtrue if CropBox output is centered on the page when the CropBox < MediaBox, false otherwise. The default value is true.
setDisableFlattening
void setDisableFlattening(boolean value)Parameters
value: boolean
Returns:
voidDisable flattening of the PDF file; transparency data will be ignored. Also note the preprocessor define below.
setDoOPP
void setDoOPP(boolean value)Parameters
value: boolean
Returns:
voidDo the overprint preview operation.
setDoProofing
void setDoProofing(boolean value)Parameters
value: boolean
Returns:
voidWhen true, print using proofing settings.
setDoTiling
void setDoTiling(PageTilingMode value)Parameters
value: PageTilingMode
Returns:
voidDetermines whether to tile none, all, or only large pages.
setDuplex
void setDuplex(Duplex value)Parameters
value: Duplex
Returns:
voidSets the duplex mode if the device supports duplex printing. The default value is kPDDuplexOff.
setEmitBG
void setEmitBG(boolean value)Parameters
value: boolean
Returns:
voidEmit black generation. The default is true.
setEmitColorSeps
void setEmitColorSeps(boolean value)Parameters
value: boolean
Returns:
voidEmit images for Level-1 separations. The default value is false. This will be honored only when printing to a printer.
setEmitDeviceExtGState
void setEmitDeviceExtGState(boolean value)Parameters
value: boolean
Returns:
voidWhen emitting the extended graphics state, if this flag is true, include the device-dependent parameters (overprint, black generation, undercolor removal, transfer, halftone, halftone phase, smoothness, flatness, rendering intent) in addition to the device-independent parameters (font, line width, line cap, line join, miter limit, dash pattern). If this flag is false, only the device-independent parameters will be emitted. This flag overrides emitHalftones; if this is false, then halftones are not emitted. The default is true.
setEmitFlatness
void setEmitFlatness(boolean value)Parameters
value: boolean
Returns:
voidHonors the flatness settings over gstate flatness.
setEmitHalftones
void setEmitHalftones(boolean value)Parameters
value: boolean
Returns:
voidPreserve any halftone screening in the PDF file. The default value is false.
setEmitInRipSeps
void setEmitInRipSeps(boolean value)Parameters
value: boolean
Returns:
voidWhen true, it requests that separations, one sheet per ink, be generated in the RIP (printer).
setEmitPS
void setEmitPS(boolean value)Parameters
value: boolean
Returns:
voidIf true, emit a PostScript file. The default value is true.
setEmitPageClip
void setEmitPageClip(boolean value)Parameters
value: boolean
Returns:
voidEmit page clip. The default is true.
setEmitPageRotation
void setEmitPageRotation(boolean value)Parameters
value: boolean
Returns:
voidEmit a concat at the beginning of each page so that the page is properly rotated. Used when emitting EPS. The default value is false.
setEmitRawData
void setEmitRawData(boolean value)Parameters
value: boolean
Returns:
voidtrue if adding no unnecessary filters when emitting image data, false otherwise. The default value is false.
setEmitSeparableImagesOnly
void setEmitSeparableImagesOnly(boolean value)Parameters
value: boolean
Returns:
voidIf emitting EPS, include only CMYK and gray images.
setEmitTTFontsFirst
void setEmitTTFontsFirst(boolean value)Parameters
value: boolean
Returns:
voidEmit TrueType fonts before any other fonts. The default value is false.
setEmitTransfer
void setEmitTransfer(boolean value)Parameters
value: boolean
Returns:
voidEmit transfer. The default is true.
setEmitUCR
void setEmitUCR(boolean value)Parameters
value: boolean
Returns:
voidEmit undercolor removal. The default is true.
setExpandToFit
void setExpandToFit(boolean value)Parameters
value: boolean
Returns:
voidtrue if small pages are to be scaled up to fit the printer page size, false, otherwise. It overrides the scale. The default value is true.
setFarEastFontOpt
void setFarEastFontOpt(FarEastFont value)Parameters
value: FarEastFont
Returns:
voidGDI to PS or download CJK fonts PDPDFarEastFont_Print_As_Image will not be honored.
setFlattenInfoExternalDPI
void setFlattenInfoExternalDPI(float externalDPI)Parameters
externalDPI: floatthe resolution for flattening the edges of atomic regions
Returns:
voidSet the resolution for flattening the edges of atomic regions.
ExternalDPI for flattening defaults to 144 (72x2).
setGradientResolution
void setGradientResolution(long value)Parameters
value: long
Returns:
voidDPI for gradients interior to the object (not edges). It can generally be lower than the bitmapResolution. The default is 150.
setHostBasedCM
void setHostBasedCM(boolean value)Parameters
value: boolean
Returns:
voidDo hostBased color management using the destination profile. The default is false, which means doing CSA generation for profiles instead of converting all colors on the host.
setIncBaseFonts
void setIncBaseFonts(Inclusion value)Parameters
value: Inclusion
Returns:
voidEmbed the base fonts. The default value is kIncludeOncePerDoc.
setIncCIDFonts
void setIncCIDFonts(Inclusion value)Parameters
value: Inclusion
Returns:
voidEmbed CID fonts. The default value is kIncludeNever.
setIncEmbeddedFonts
void setIncEmbeddedFonts(Inclusion value)Parameters
value: Inclusion
Returns:
voidEmbed fonts that are embedded in the PDF file. This overrides the incType1Fonts, incTrueTypeFonts, and incCIDFonts fields. The default value is kIncludeWhenNeeded.
setIncOtherResources
void setIncOtherResources(Inclusion value)Parameters
value: Inclusion
Returns:
voidInclude all other types of resources in the file. The default value is kIncludeByRange.
setIncProcsets
void setIncProcsets(Inclusion value)Parameters
value: Inclusion
Returns:
voidInclude Procsets in the file. The default value is kIncludeOncePerDoc. This is not honored anymore: its value is always false. Procsets are always emitted at the document level.
setIncTrueTypeFonts
void setIncTrueTypeFonts(Inclusion value)Parameters
value: Inclusion
Returns:
voidEmbed TrueType fonts. The default value is kIncludeNever.
setIncType1Fonts
void setIncType1Fonts(Inclusion value)Parameters
value: Inclusion
Returns:
voidEmbed Type 1 fonts. The default value is kIncludeNever.
setInkBlack
void setInkBlack(boolean value)Parameters
value: boolean
Returns:
voidProofing settings: simulate ink black.
setLastHeight
void setLastHeight(int value)Parameters
value: int
Returns:
voidUsed when setPageSize is true to prevent unneeded setpagedevice calls.
setLastWidth
void setLastWidth(int value)Parameters
value: int
Returns:
voidUsed when setPageSize is true to prevent unneeded setpagedevice calls.
setLineWidth
void setLineWidth(float value)Parameters
value: float
Returns:
voidThe line weight to use for printer marks.
setMacQDPrinter
void setMacQDPrinter(boolean value)Parameters
value: boolean
Returns:
voidtrue if the printer is a Mac QuickDraw printer, false otherwise.
setMarkStyle
void setMarkStyle(int value)Parameters
value: int
Returns:
voidSpecify the style to use for page marks. The PDPrintMarkStyles enum contains possible styles. It applies to print separations.
setMirrorprint
void setMirrorprint(int value)Parameters
value: int
Returns:
voidOne of the following constants: kPDPrintFlipNone = 0x01 kPDPrintFlipX = 0x02 kPDPrintFlipY = 0x04 kPDPrintFlipXY = 0x08
Mirroring is done in the PostScript output stream.
setNegative
void setNegative(boolean value)Parameters
value: boolean
Returns:
voidWhen true, invert the plate.
setNumCollatedCopies
void setNumCollatedCopies(long value)Parameters
value: long
Returns:
voidEnables collation for the viewer.
setOptimizeForSpeed
void setOptimizeForSpeed(boolean value)Parameters
value: boolean
Returns:
voidIf true, do it fast; false means PostScript code must be page-independent. If it is set to true, font downloads are forced from kIncludeOnEveryPage to kIncludeOncePerDoc. The default is true.
setOptionalContentContext
void setOptionalContentContext(OptionalContentContext context)Parameters
context: OptionalContentContextan optional-content context that determines what contents are visible. null uses the document's optional-content context
Returns:
voidAn 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.
setOutputType
void setOutputType(OutputType value)Parameters
value: OutputType
Returns:
voidPrint PostScript or EPS with or without a preview. EPS preview generation is not available on UNIX.
setPageRanges
void setPageRanges(java.util.List< PageRange > argPageRanges)Parameters
argPageRanges: java.util.List< PageRange >the ranges of pages to print
Returns:
voidSet 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.
setPaperWhite
void setPaperWhite(boolean value)Parameters
value: boolean
Returns:
voidProofing settings: simulate paper white.
setPrintWhat
void setPrintWhat(PrintWhat value)Parameters
value: PrintWhat
Returns:
voidPrint the document, the document and comments, or document form fields only.
setPrintWhatAnnot
void setPrintWhatAnnot(java.util.EnumSet< PrintWhatAnnotFlags > value)Parameters
value: java.util.EnumSet< PrintWhatAnnotFlags >
Returns:
voidAnnotation flags which modify PDPrintWhat to enable Pro product behavior.
setPsLevel
void setPsLevel(int value)Parameters
value: int
Returns:
voidPostScript level: 1, 2, or 3. The default value is 3.
setReverse
void setReverse(boolean value)Parameters
value: boolean
Returns:
voidIf set to true, reverse the order of page output.
setRotate
void setRotate(boolean value)Parameters
value: boolean
Returns:
voidEnable the auto-rotating behavior from past versions of PDFL.
setRotateAndCenter
void setRotateAndCenter(boolean value)Parameters
value: boolean
Returns:
voidtrue if the page is to be rotated to fit the printer's orientation and centered in the printer's page size; false, otherwise. The default value is true. Rotation and centering (true) only occur, however, if the page contents are too wide to fit on a narrow page (or vice versa) and the page contents are less than an inch smaller than the target page in one direction.
setSaveVM
void setSaveVM(boolean value)Parameters
value: boolean
Returns:
voidtrue means try to save VM when printing to PostScript. The default is true.
setScale
void setScale(float value)Parameters
value: float
Returns:
voidThe document-wide scale factor. 100.0 = full size. The default value is 100.
setSetPageSize
void setSetPageSize(boolean value)Parameters
value: boolean
Returns:
void(PostScript level 2 only) Set the page size on each page. Use the media box for outputting to PostScript files, use the crop box for EPS files. Default is false.
setShrinkToFit
void setShrinkToFit(boolean value)Parameters
value: boolean
Returns:
voidtrue if the page is scaled to fit the printer page size, false, otherwise. This field overrides the scale. The default value is true.
setSuppressCJKSubstitution
void setSuppressCJKSubstitution(boolean value)Parameters
value: boolean
Returns:
voidIf true, do not do CJK substitution on the printer. This will work only when farEastFontOpt is PDPDFarEastFont_Download_None.
setSuppressCSA
void setSuppressCSA(boolean value)Parameters
value: boolean
Returns:
voidDo not emit CSAs for 4-component (CMYK) colors. This will take precedence over the hostbasedCM settings.
setSuppressOPPWhenNoSpots
void setSuppressOPPWhenNoSpots(int value)Parameters
value: int
Returns:
voidWhen true, suppress OPP for pages that do not contain spot colors
setTTasCIDT2
void setTTasCIDT2(boolean value)Parameters
value: boolean
Returns:
voidWhen this is set, emit TrueType fonts as CIDType2 instead of as CIDFontType0.
setTTasT42
void setTTasT42(boolean value)Parameters
value: boolean
Returns:
voidIf including TrueType fonts, convert to Type 42 fonts instead of Type 1 fonts. The default value is false.
setTransparencyQuality
void setTransparencyQuality(long value)Parameters
value: long
Returns:
voidThe transparency flattening quality. The range is 0-100. Lower values flatten faster. Higher values provide better quality. The default is 80, which usually provides good quality at a reasonable speed.
setTrapType
void setTrapType(int value)Parameters
value: int
Returns:
voidThe trap type. kPDPrintTrapNone = 0x01 kPDPrintTrapOnHost = 0x02 is NOT SUPPORTED in Acrobat 7 kPDPrintTrapInRIP = 0x04
setUseExecForm
void setUseExecForm(boolean value)Parameters
value: boolean
Returns:
voidWhen true, emit execform calls when emitting Form XObjects.
setUseFontAliasNames
void setUseFontAliasNames(boolean value)Parameters
value: boolean
Returns:
voidUsed when printing with system fonts. The default value is false.
setUseFullResolutionJP2KData
void setUseFullResolutionJP2KData(boolean value)Parameters
value: boolean
Returns:
voidDetermines whether to use the maximum available JPEG2000 resolution.
setUseMaxVM
void setUseMaxVM(boolean value)Parameters
value: boolean
Returns:
voidIf true, store all possible resources in VM.
setUseSubFileDecode
void setUseSubFileDecode(boolean value)Parameters
value: boolean
Returns:
voidAdd SubFileDecode filter to work around stream problems [false]. The SubFileDecode filter will always be emitted when you print as binary.
setWesternMarksStyle
void setWesternMarksStyle(boolean value)Parameters
value: boolean
Returns:
voidWhen true, use western style for page marks. It applies to print separations. Obsoleted by markStyle below.
setWhichMarks
void setWhichMarks(java.util.EnumSet< PageMarkFlags > value)Parameters
value: java.util.EnumSet< PageMarkFlags >
Returns:
voidPage mark indication. It is a bit-wise OR of the PDPageMarkFlags values.
It applies to print separations.