SeparationParams Class Documentation

class SeparationParams

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

bool get_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

bool get_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

bool get_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

bool get_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::string get_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

bool get_emit_annotations()

Returns:

bool

If true, emit annotations. Default is false.

get_emit_halftones

bool get_emit_halftones()

Returns:

bool

If true, emit halftones. Default is true.

get_emit_separable_images_only

bool get_emit_separable_images_only()

Returns:

bool

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

get_emit_transfer_functions

bool get_emit_transfer_functions()

Returns:

bool

If true, emit transfer functions. Default is true.

get_invert_plates

bool get_invert_plates()

Returns:

bool

If true, invert the plates. Default is false.

get_mirror_print

MirrorOption get_mirror_print()

Returns:

MirrorOption

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

get_page_marks_to_emit

PageMarkFlags get_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

int get_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

bool get_printer_has_far_east_fonts()

Returns:

bool

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

get_suppress_cjk_substitution

bool get_suppress_cjk_substitution()

Returns:

bool

If true, suppress CJK substitution. Default is false.

get_transparency_level

int get_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

bool get_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

bool get_use_western_style_page_marks()

Returns:

bool

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

set_apply_ocg_print_overrides

void set_apply_ocg_print_overrides(bool value)

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

void set_binary_channel_available(bool value)

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

void set_convert_to_process_using_opp(bool value)

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

void set_convert_true_type_to_type42(bool value)

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

void set_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

void set_emit_annotations(bool value)

Parameters

value: bool

true to emit annotations. Default is false

Returns:

void

If true, emit annotations. Default is false.

set_emit_font_option

void set_emit_font_option(SeparationFontOption option)

Parameters

option: SeparationFontOption

the font output options. Default is EmitAllFonts

Returns:

void

Font output options. Default is EmitAllFonts.

set_emit_halftones

void set_emit_halftones(bool value)

Parameters

value: bool

true to emit halftones. Default is true

Returns:

void

If true, emit halftones. Default is true.

set_emit_separable_images_only

void set_emit_separable_images_only(bool value)

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

void set_emit_transfer_functions(bool value)

Parameters

value: bool

true to emit transfer functions. Default is true

Returns:

void

If true, emit transfer functions. Default is true.

set_invert_plates

void set_invert_plates(bool value)

Parameters

value: bool

true to invert the plates. Default is false

Returns:

void

If true, invert the plates. Default is false.

set_mirror_print

void set_mirror_print(MirrorOption option)

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

void set_page_marks_to_emit(PageMarkFlags marks)

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

void set_post_script_level(int level)

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

void set_printer_has_far_east_fonts(bool value)

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

void set_suppress_cjk_substitution(bool value)

Parameters

value: bool

true to suppress CJK substitution. Default is false

Returns:

void

If true, suppress CJK substitution. Default is false.

set_transparency_level

void set_transparency_level(int level)

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

void set_use_cmyk_working_color_space(bool value)

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

void set_use_western_style_page_marks(bool value)

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.