SeparationParams Class Documentation

classSeparationParams

Namespace:datalogics_interface

Detailed Description

Holds parameters for making color separations. Used with PostScript.

Constructor & Destructor Documentation

~SeparationParams

~SeparationParams()

Member Function Documentation

get_apply_ocg_print_overrides

boolget_apply_ocg_print_overrides()

Returns:

bool

If true, apply print-specific visibility state settings from the optional content group. Default is false.

get_binary_channel_available

boolget_binary_channel_available()

Returns:

bool

True if a binary channel to the printer is supported, false otherwise. Default is false.

get_convert_to_process_using_opp

boolget_convert_to_process_using_opp()

Returns:

bool

If true, use the overprint preview (OPP) for converting to process, which better simulates what would happen if the spot ink were really used. Default is false.

get_convert_true_type_to_type42

boolget_convert_true_type_to_type42()

Returns:

bool

If true, send TrueType fonts as TrueType fonts (level 3 and most level 2 PS printers). If false, convert TrueType to T1 (typically desirable only for Level 1 PS where no TrueType handling is present). Default is false.

get_destination_profile_string

std::stringget_destination_profile_string()

Returns:

std::string

The profile description of a valid CMYK profile, such as the strings seen in the color management preferences in a PDF Viewer (for example, "U.S. Web Coated (SWOP) v2"). Default is "U.S. Web Coated (SWOP) v2".

get_emit_annotations

boolget_emit_annotations()

Returns:

bool

If true, emit annotations. Default is false.

get_emit_halftones

boolget_emit_halftones()

Returns:

bool

If true, emit halftones. Default is true.

get_emit_separable_images_only

boolget_emit_separable_images_only()

Returns:

bool

If true, emit separable images only. Default is false.

get_emit_transfer_functions

boolget_emit_transfer_functions()

Returns:

bool

If true, emit transfer functions. Default is true.

get_invert_plates

boolget_invert_plates()

Returns:

bool

If true, invert the plates. Default is false.

get_mirror_print

MirrorOptionget_mirror_print()

Returns:

MirrorOption

Options for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip.

get_page_marks_to_emit

PageMarkFlagsget_page_marks_to_emit()

Returns:

PageMarkFlags

The page marks to emit for this plate. It is a bit-wise OR of the PageMarkFlags values. Default is None.

get_post_script_level

intget_post_script_level()

Returns:

int

The PostScript printing level. 2 means emit as level 2, 3 means level 3. Default is level 2.

get_printer_has_far_east_fonts

boolget_printer_has_far_east_fonts()

Returns:

bool

If true, do not include Far East fonts. Default is false.

get_suppress_cjk_substitution

boolget_suppress_cjk_substitution()

Returns:

bool

If true, suppress CJK substitution. Default is false.

get_transparency_level

intget_transparency_level()

Returns:

int

The transparency flattening quality level. Range is from 0 to 100. Lower values flatten faster. Higher values provide better quality. Default is

get_use_cmyk_working_color_space

boolget_use_cmyk_working_color_space()

Returns:

bool

If true, color manage DeviceCMYK. If false, pass it directly onto the process plates. Default is false.

get_use_western_style_page_marks

boolget_use_western_style_page_marks()

Returns:

bool

If true, use the western style for page marks. Default is false.

set_apply_ocg_print_overrides

voidset_apply_ocg_print_overrides(boolvalue)

Parameters

value: bool

true to apply print-specific visibility state settings from the optional content group. Default is false

Returns:

void

If true, apply print-specific visibility state settings from the optional content group. Default is false.

set_binary_channel_available

voidset_binary_channel_available(boolvalue)

Parameters

value: bool

true if a binary channel to the printer is supported, false otherwise. Default is false.

Returns:

void

True if a binary channel to the printer is supported, false otherwise. Default is false.

set_convert_to_process_using_opp

voidset_convert_to_process_using_opp(boolvalue)

Parameters

value: bool

true to use the overprint preview (OPP) for converting to process, which better simulates what would happen if t...

Returns:

void

If true, use the overprint preview (OPP) for converting to process, which better simulates what would happen if the spot ink were really used. Default is false.

set_convert_true_type_to_type42

voidset_convert_true_type_to_type42(boolvalue)

Parameters

value: bool

true to send TrueType fonts as TrueType fonts (level 3 and most level 2 PS printers). If false, convert TrueType...

Returns:

void

If true, send TrueType fonts as TrueType fonts (level 3 and most level 2 PS printers). If false, convert TrueType to T1 (typically desirable only for Level 1 PS where no TrueType handling is present). Default is false.

set_destination_profile_string

voidset_destination_profile_string(const std::string &profile)

Parameters

profile: const std::string &

the profile description of a valid CMYK profile, such as the strings seen in the color management preferences in a PD...

Returns:

void

The profile description of a valid CMYK profile, such as the strings seen in the color management preferences in a PDF Viewr (for example, "U.S. Web Coated (SWOP) v2"). Default is "U.S. Web Coated (SWOP) v2".

set_emit_annotations

voidset_emit_annotations(boolvalue)

Parameters

value: bool

true to emit annotations. Default is false

Returns:

void

If true, emit annotations. Default is false.

set_emit_font_option

voidset_emit_font_option(SeparationFontOptionoption)

Parameters

option: SeparationFontOption

the font output options. Default is EmitAllFonts

Returns:

void

Font output options. Default is EmitAllFonts.

set_emit_halftones

voidset_emit_halftones(boolvalue)

Parameters

value: bool

true to emit halftones. Default is true

Returns:

void

If true, emit halftones. Default is true.

set_emit_separable_images_only

voidset_emit_separable_images_only(boolvalue)

Parameters

value: bool

true to emit separable images only. Default is false

Returns:

void

If true, emit separable images only. Default is false.

set_emit_transfer_functions

voidset_emit_transfer_functions(boolvalue)

Parameters

value: bool

true to emit transfer functions. Default is true

Returns:

void

If true, emit transfer functions. Default is true.

set_invert_plates

voidset_invert_plates(boolvalue)

Parameters

value: bool

true to invert the plates. Default is false

Returns:

void

If true, invert the plates. Default is false.

set_mirror_print

voidset_mirror_print(MirrorOptionoption)

Parameters

option: MirrorOption

the options for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip

Returns:

void

Options for mirroring. Mirroring is done in the PostScript output stream. Default is DontFlip.

set_page_marks_to_emit

voidset_page_marks_to_emit(PageMarkFlagsmarks)

Parameters

marks: PageMarkFlags

the page marks to emit for this plate. It is a bit-wise OR of the PageMarkFlags values. Default is None

Returns:

void

The page marks to emit for this plate. It is a bit-wise OR of the PageMarkFlags values. Default is None.

set_post_script_level

voidset_post_script_level(intlevel)

Parameters

level: int

the PostScript printing level. 2 means emit as level 2, 3 means level 3. Default is level 2

Returns:

void

The PostScript printing level. 2 means emit as level 2, 3 means level 3. Default is level 2.

set_printer_has_far_east_fonts

voidset_printer_has_far_east_fonts(boolvalue)

Parameters

value: bool

true to exclude Far East fonts, false to include them. Default is false.

Returns:

void

If true, do not include Far East fonts. Default is false.

set_suppress_cjk_substitution

voidset_suppress_cjk_substitution(boolvalue)

Parameters

value: bool

true to suppress CJK substitution. Default is false

Returns:

void

If true, suppress CJK substitution. Default is false.

set_transparency_level

voidset_transparency_level(intlevel)

Parameters

level: int

the transparency flattening quality level. Range is from 0 to 100. Lower values flatten faster. Higher values provide...

Returns:

void

The transparency flattening quality level. Range is from 0 to 100. Lower values flatten faster. Higher values provide better quality. Default is 75.

set_use_cmyk_working_color_space

voidset_use_cmyk_working_color_space(boolvalue)

Parameters

value: bool

true to color manage DeviceCMYK. If false, pass it directly onto the process plates. Default is false

Returns:

void

If true, color manage DeviceCMYK. If false, pass it directly onto the process plates. Default is false.

set_use_western_style_page_marks

voidset_use_western_style_page_marks(boolvalue)

Parameters

value: bool

true to use the western style for page marks. Default is false

Returns:

void

If true, use the western style for page marks. Default is false.