PrintParams Class Documentation

class PrintParams

Namespace:com::datalogics::PDFL

Detailed Description

Print settings, primarily used for PostScript printers or output.

Referenced by

Constructor & Destructor Documentation

PrintParams

PrintParams()

Member Function Documentation

delete

synchronized void delete(Boolean disposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized void delete()

Returns:

synchronized void

finalize

void finalize()

Returns:

void

getApplyOCGPrintOverrides

boolean getApplyOCGPrintOverrides()

Returns:

boolean

When true, apply print-specific visibility state settings from the optional-content group.

getBinaryOK

boolean getBinaryOK()

Returns:

boolean

true 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:

long

DPI 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:

Rect

getBrokenCRDs

boolean getBrokenCRDs()

Returns:

boolean

If 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:

boolean

true if CropBox output is centered on the page when the CropBox < MediaBox, false otherwise. The default value is true.

getDisableFlattening

boolean getDisableFlattening()

Returns:

boolean

Disable flattening of the PDF file; transparency data will be ignored. Also note the preprocessor define below.

getDoOPP

boolean getDoOPP()

Returns:

boolean

Do the overprint preview operation.

getDoProofing

boolean getDoProofing()

Returns:

boolean

When true, print using proofing settings.

getDoTiling

PageTilingMode getDoTiling()

Returns:

PageTilingMode

Determines whether to tile none, all, or only large pages.

getDuplex

Duplex getDuplex()

Returns:

Duplex

Sets the duplex mode if the device supports duplex printing. The default value is kPDDuplexOff.

getEmitBG

boolean getEmitBG()

Returns:

boolean

Emit black generation. The default is true.

getEmitColorSeps

boolean getEmitColorSeps()

Returns:

boolean

Emit images for Level-1 separations. The default value is false. This will be honored only when printing to a printer.

getEmitDeviceExtGState

boolean getEmitDeviceExtGState()

Returns:

boolean

When 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:

boolean

Honors the flatness settings over gstate flatness.

getEmitHalftones

boolean getEmitHalftones()

Returns:

boolean

Preserve any halftone screening in the PDF file. The default value is false.

getEmitInRipSeps

boolean getEmitInRipSeps()

Returns:

boolean

When true, it requests that separations, one sheet per ink, be generated in the RIP (printer).

getEmitPS

boolean getEmitPS()

Returns:

boolean

If true, emit a PostScript file. The default value is true.

getEmitPageClip

boolean getEmitPageClip()

Returns:

boolean

Emit page clip. The default is true.

getEmitPageRotation

boolean getEmitPageRotation()

Returns:

boolean

Emit 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:

boolean

true if adding no unnecessary filters when emitting image data, false otherwise. The default value is false.

getEmitSeparableImagesOnly

boolean getEmitSeparableImagesOnly()

Returns:

boolean

If emitting EPS, include only CMYK and gray images.

getEmitTTFontsFirst

boolean getEmitTTFontsFirst()

Returns:

boolean

Emit TrueType fonts before any other fonts. The default value is false.

getEmitTransfer

boolean getEmitTransfer()

Returns:

boolean

Emit transfer. The default is true.

getEmitUCR

boolean getEmitUCR()

Returns:

boolean

Emit undercolor removal. The default is true.

getExpandToFit

boolean getExpandToFit()

Returns:

boolean

true 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:

FarEastFont

GDI to PS or download CJK fonts PDPDFarEastFont_Print_As_Image will not be honored.

getFlattenInfoExternalDPI

float getFlattenInfoExternalDPI()

Returns:

float

Get the resolution for flattening the edges of atomic regions.

ExternalDPI for flattening defaults to 144 (72x2).

getGradientResolution

long getGradientResolution()

Returns:

long

DPI for gradients interior to the object (not edges). It can generally be lower than the bitmapResolution. The default is 150.

getHostBasedCM

boolean getHostBasedCM()

Returns:

boolean

Do 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:

Inclusion

Embed the base fonts. The default value is kIncludeOncePerDoc.

getIncCIDFonts

Inclusion getIncCIDFonts()

Returns:

Inclusion

Embed CID fonts. The default value is kIncludeNever.

getIncEmbeddedFonts

Inclusion getIncEmbeddedFonts()

Returns:

Inclusion

Embed 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:

Inclusion

Include all other types of resources in the file. The default value is kIncludeByRange.

getIncProcsets

Inclusion getIncProcsets()

Returns:

Inclusion

Include 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:

Inclusion

Embed TrueType fonts. The default value is kIncludeNever.

getIncType1Fonts

Inclusion getIncType1Fonts()

Returns:

Inclusion

Embed Type 1 fonts. The default value is kIncludeNever.

getInkBlack

boolean getInkBlack()

Returns:

boolean

Proofing settings: simulate ink black.

getLastHeight

int getLastHeight()

Returns:

int

Used when setPageSize is true to prevent unneeded setpagedevice calls.

getLastWidth

int getLastWidth()

Returns:

int

Used when setPageSize is true to prevent unneeded setpagedevice calls.

getLineWidth

float getLineWidth()

Returns:

float

The line weight to use for printer marks.

getMacQDPrinter

boolean getMacQDPrinter()

Returns:

boolean

true if the printer is a Mac QuickDraw printer, false otherwise.

getMarkStyle

int getMarkStyle()

Returns:

int

Specify the style to use for page marks. The PDPrintMarkStyles enum contains possible styles. It applies to print separations.

getMirrorprint

int getMirrorprint()

Returns:

int

One of the following constants: kPDPrintFlipNone = 0x01 kPDPrintFlipX = 0x02 kPDPrintFlipY = 0x04 kPDPrintFlipXY = 0x08

Mirroring is done in the PostScript output stream.

getNegative

boolean getNegative()

Returns:

boolean

When true, invert the plate.

getNumCollatedCopies

long getNumCollatedCopies()

Returns:

long

Enables collation for the viewer.

getOptimizeForSpeed

boolean getOptimizeForSpeed()

Returns:

boolean

If 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:

OptionalContentContext

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.

getOutputType

OutputType getOutputType()

Returns:

OutputType

Print PostScript or EPS with or without a preview. EPS preview generation is not available on UNIX.

getPaperWhite

boolean getPaperWhite()

Returns:

boolean

Proofing settings: simulate paper white.

getPrintWhat

PrintWhat getPrintWhat()

Returns:

PrintWhat

Print 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:

int

PostScript level: 1, 2, or 3. The default value is 3.

getReverse

boolean getReverse()

Returns:

boolean

If set to true, reverse the order of page output.

getRotate

boolean getRotate()

Returns:

boolean

Enable the auto-rotating behavior from past versions of PDFL.

getRotateAndCenter

boolean getRotateAndCenter()

Returns:

boolean

true 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:

boolean

true means try to save VM when printing to PostScript. The default is true.

getScale

float getScale()

Returns:

float

The 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:

boolean

true 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:

boolean

If true, do not do CJK substitution on the printer. This will work only when farEastFontOpt is PDPDFarEastFont_Download_None.

getSuppressCSA

boolean getSuppressCSA()

Returns:

boolean

Do not emit CSAs for 4-component (CMYK) colors. This will take precedence over the hostbasedCM settings.

getSuppressOPPWhenNoSpots

int getSuppressOPPWhenNoSpots()

Returns:

int

When true, suppress OPP for pages that do not contain spot colors

getTTasCIDT2

boolean getTTasCIDT2()

Returns:

boolean

When this is set, emit TrueType fonts as CIDType2 instead of as CIDFontType0.

getTTasT42

boolean getTTasT42()

Returns:

boolean

If including TrueType fonts, convert to Type 42 fonts instead of Type 1 fonts. The default value is false.

getTransparencyQuality

long getTransparencyQuality()

Returns:

long

The 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:

int

The trap type. kPDPrintTrapNone = 0x01 kPDPrintTrapOnHost = 0x02 is NOT SUPPORTED in Acrobat 7 kPDPrintTrapInRIP = 0x04

getUseExecForm

boolean getUseExecForm()

Returns:

boolean

When true, emit execform calls when emitting Form XObjects.

getUseFontAliasNames

boolean getUseFontAliasNames()

Returns:

boolean

Used when printing with system fonts. The default value is false.

getUseFullResolutionJP2KData

boolean getUseFullResolutionJP2KData()

Returns:

boolean

Determines whether to use the maximum available JPEG2000 resolution.

getUseMaxVM

boolean getUseMaxVM()

Returns:

boolean

If true, store all possible resources in VM.

getUseSubFileDecode

boolean getUseSubFileDecode()

Returns:

boolean

Add SubFileDecode filter to work around stream problems [false]. The SubFileDecode filter will always be emitted when you print as binary.

getWesternMarksStyle

boolean getWesternMarksStyle()

Returns:

boolean

When 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:

void

When true, apply print-specific visibility state settings from the optional-content group.

setBinaryOK

void setBinaryOK(boolean value)

Parameters

value: boolean

Returns:

void

true 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:

void

DPI 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: Rect

the bounding box

Returns:

void

setBrokenCRDs

void setBrokenCRDs(boolean value)

Parameters

value: boolean

Returns:

void

If 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:

void

true 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:

void

Disable 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:

void

Do the overprint preview operation.

setDoProofing

void setDoProofing(boolean value)

Parameters

value: boolean

Returns:

void

When true, print using proofing settings.

setDoTiling

void setDoTiling(PageTilingMode value)

Parameters

value: PageTilingMode

Returns:

void

Determines whether to tile none, all, or only large pages.

setDuplex

void setDuplex(Duplex value)

Parameters

value: Duplex

Returns:

void

Sets the duplex mode if the device supports duplex printing. The default value is kPDDuplexOff.

setEmitBG

void setEmitBG(boolean value)

Parameters

value: boolean

Returns:

void

Emit black generation. The default is true.

setEmitColorSeps

void setEmitColorSeps(boolean value)

Parameters

value: boolean

Returns:

void

Emit 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:

void

When 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:

void

Honors the flatness settings over gstate flatness.

setEmitHalftones

void setEmitHalftones(boolean value)

Parameters

value: boolean

Returns:

void

Preserve any halftone screening in the PDF file. The default value is false.

setEmitInRipSeps

void setEmitInRipSeps(boolean value)

Parameters

value: boolean

Returns:

void

When true, it requests that separations, one sheet per ink, be generated in the RIP (printer).

setEmitPS

void setEmitPS(boolean value)

Parameters

value: boolean

Returns:

void

If true, emit a PostScript file. The default value is true.

setEmitPageClip

void setEmitPageClip(boolean value)

Parameters

value: boolean

Returns:

void

Emit page clip. The default is true.

setEmitPageRotation

void setEmitPageRotation(boolean value)

Parameters

value: boolean

Returns:

void

Emit 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:

void

true 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:

void

If emitting EPS, include only CMYK and gray images.

setEmitTTFontsFirst

void setEmitTTFontsFirst(boolean value)

Parameters

value: boolean

Returns:

void

Emit TrueType fonts before any other fonts. The default value is false.

setEmitTransfer

void setEmitTransfer(boolean value)

Parameters

value: boolean

Returns:

void

Emit transfer. The default is true.

setEmitUCR

void setEmitUCR(boolean value)

Parameters

value: boolean

Returns:

void

Emit undercolor removal. The default is true.

setExpandToFit

void setExpandToFit(boolean value)

Parameters

value: boolean

Returns:

void

true 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:

void

GDI to PS or download CJK fonts PDPDFarEastFont_Print_As_Image will not be honored.

setFlattenInfoExternalDPI

void setFlattenInfoExternalDPI(float externalDPI)

Parameters

externalDPI: float

the resolution for flattening the edges of atomic regions

Returns:

void

Set 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:

void

DPI 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:

void

Do 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:

void

Embed the base fonts. The default value is kIncludeOncePerDoc.

setIncCIDFonts

void setIncCIDFonts(Inclusion value)

Parameters

value: Inclusion

Returns:

void

Embed CID fonts. The default value is kIncludeNever.

setIncEmbeddedFonts

void setIncEmbeddedFonts(Inclusion value)

Parameters

value: Inclusion

Returns:

void

Embed 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:

void

Include all other types of resources in the file. The default value is kIncludeByRange.

setIncProcsets

void setIncProcsets(Inclusion value)

Parameters

value: Inclusion

Returns:

void

Include 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:

void

Embed TrueType fonts. The default value is kIncludeNever.

setIncType1Fonts

void setIncType1Fonts(Inclusion value)

Parameters

value: Inclusion

Returns:

void

Embed Type 1 fonts. The default value is kIncludeNever.

setInkBlack

void setInkBlack(boolean value)

Parameters

value: boolean

Returns:

void

Proofing settings: simulate ink black.

setLastHeight

void setLastHeight(int value)

Parameters

value: int

Returns:

void

Used when setPageSize is true to prevent unneeded setpagedevice calls.

setLastWidth

void setLastWidth(int value)

Parameters

value: int

Returns:

void

Used when setPageSize is true to prevent unneeded setpagedevice calls.

setLineWidth

void setLineWidth(float value)

Parameters

value: float

Returns:

void

The line weight to use for printer marks.

setMacQDPrinter

void setMacQDPrinter(boolean value)

Parameters

value: boolean

Returns:

void

true if the printer is a Mac QuickDraw printer, false otherwise.

setMarkStyle

void setMarkStyle(int value)

Parameters

value: int

Returns:

void

Specify 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:

void

One 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:

void

When true, invert the plate.

setNumCollatedCopies

void setNumCollatedCopies(long value)

Parameters

value: long

Returns:

void

Enables collation for the viewer.

setOptimizeForSpeed

void setOptimizeForSpeed(boolean value)

Parameters

value: boolean

Returns:

void

If 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: OptionalContentContext

an optional-content context that determines what contents are visible. null uses the document's optional-content context

Returns:

void

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.

setOutputType

void setOutputType(OutputType value)

Parameters

value: OutputType

Returns:

void

Print 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:

void

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.

setPaperWhite

void setPaperWhite(boolean value)

Parameters

value: boolean

Returns:

void

Proofing settings: simulate paper white.

setPrintWhat

void setPrintWhat(PrintWhat value)

Parameters

value: PrintWhat

Returns:

void

Print 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:

void

Annotation flags which modify PDPrintWhat to enable Pro product behavior.

setPsLevel

void setPsLevel(int value)

Parameters

value: int

Returns:

void

PostScript level: 1, 2, or 3. The default value is 3.

setReverse

void setReverse(boolean value)

Parameters

value: boolean

Returns:

void

If set to true, reverse the order of page output.

setRotate

void setRotate(boolean value)

Parameters

value: boolean

Returns:

void

Enable the auto-rotating behavior from past versions of PDFL.

setRotateAndCenter

void setRotateAndCenter(boolean value)

Parameters

value: boolean

Returns:

void

true 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:

void

true means try to save VM when printing to PostScript. The default is true.

setScale

void setScale(float value)

Parameters

value: float

Returns:

void

The 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:

void

true 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:

void

If 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:

void

Do 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:

void

When true, suppress OPP for pages that do not contain spot colors

setTTasCIDT2

void setTTasCIDT2(boolean value)

Parameters

value: boolean

Returns:

void

When this is set, emit TrueType fonts as CIDType2 instead of as CIDFontType0.

setTTasT42

void setTTasT42(boolean value)

Parameters

value: boolean

Returns:

void

If 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:

void

The 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:

void

The trap type. kPDPrintTrapNone = 0x01 kPDPrintTrapOnHost = 0x02 is NOT SUPPORTED in Acrobat 7 kPDPrintTrapInRIP = 0x04

setUseExecForm

void setUseExecForm(boolean value)

Parameters

value: boolean

Returns:

void

When true, emit execform calls when emitting Form XObjects.

setUseFontAliasNames

void setUseFontAliasNames(boolean value)

Parameters

value: boolean

Returns:

void

Used when printing with system fonts. The default value is false.

setUseFullResolutionJP2KData

void setUseFullResolutionJP2KData(boolean value)

Parameters

value: boolean

Returns:

void

Determines whether to use the maximum available JPEG2000 resolution.

setUseMaxVM

void setUseMaxVM(boolean value)

Parameters

value: boolean

Returns:

void

If true, store all possible resources in VM.

setUseSubFileDecode

void setUseSubFileDecode(boolean value)

Parameters

value: boolean

Returns:

void

Add 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:

void

When 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:

void

Page mark indication. It is a bit-wise OR of the PDPageMarkFlags values.

It applies to print separations.